some time ago i started a topic on tweaking winxp but due to lack of participation i quicky lost interest but now I'm going to post a few tips i came across and if anyone has more then please keep this thread active and lets help each other out with what we found out across the web or through personal discovery.
this will assist others in not having to post questions all the time or digging for answers in disparate threads.
thanks.
ok, to begin with, vista is here but theres still life in the old xp and i daresay a sizable bunch of us still get off on it so lets flog a near dead horse with the following:
NOTE: a lot of these tweaks involve editing the registry, windows' nerve center, which could lead to system instability if done improperly. therefore, if you are fainthearted please don't edit your registry. if you are made of steel, then by all means do go on with the understanding that neoteny wont be held responsible if you bricked your 'puter.
1. If you want to disable the Take Tour of Windows XP that comes up after you install WindowsXP:
Start Regedit (shortcut, windowskey + r, type regedit in Run box)
Go to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Tour
Create a new DWORD key called RunCount
Give it a value of 0
2. to speed up how fast winxp browses shared folders,
3. Increase the amount of data is buffered at one time to send to a client. On the computer with the shared directory:
Start Regedit
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters
Create a DWORD Key called SizReqBuf
Give it a value of Hex FFFF
4. To manage all your shared folders, you can run the SHARES snap-in directly
Start / Run / fsmgmt.msc
This will show you all your shared folders in a single window
You can also see what other computers are connected and what files they have open.
5. If you would like to create an icon to suspend your computer,
Right click on the Desktop
New / Shortcut
Enter in rundll32.exe PowrProf.dll, SetSuspendState
Give it whatever name you want
Now when you click on that shortcut, your computer will shutdown and suspend
6. changigng user type
Normally in XP Pro, through the Control Panel / User Accounts icon, you are only allowed to create administrators or limited users.
If you want to create
Right click on My Computer
Manage
Local Users and Groups
Users
Right click on the user you want to change
Properties
Member of tab
Add button
Advanced button
Find Now button
From here you see the full list of possibilities (e.g. Power User, Backup Operator etc.)
7. a while ago a nairalander had problems with svchost because his antivirus software identified it as a malware. as far as i know svchost is an execuable that reads the registry and compiles the services it must load at startup (see
http://support.microsoft.com/kb/314056. such services include COM and other services that run from dlls. if you start task manager and look under the processes tab you will see multiple svchost processes running, but each is an instance of the executable running different services. remember, services are the vital windows components that run in memory and make up windows, as well as bits of other software. if you want to see a list of running services just type msconfig in Run, select the services tab.
now, svchost services are identified by HKEY_LOCAL_MACHINE\Software\Microsoft\WindowsNT\CurrentVersion\Svchost.
therefore, svchost is not a virus no matter what panda and kaspersky or whatever antivirus you use say.
but to actually determine what services svchost runs, open command prompt (run, cmd) and type tasklist /svc /fi "imagename eq svchost.exe"
7. If you are having problems with lockups, blue screens, or can only get to safe mode,
often the problem is due to a faulty device driver.
One way to help identify them is through the use of the Verfier program
a. Start / Run / Verifier
b Keep the default of Create Standard Settings
c. Select the type of drivers you want to confirm
d. A list of drivers to be verified on the next boot will be shown.
e. Reboot
f. If your computer stops with a blue screen, you should get an error message with the problem driver
g. To turn off the Verifier, run verifier /reset
8. If you want to see a list of installed drivers, you can run the driverquery program in the cmd prompt.
There are a lot of available switches to view different types of information.
One use can be to export to a CSV file for viewing in Excel
An example would then be:
Driverquery /v /fo csv > drivers.csv
9. firewalls are fine and good but for me they can be annoying, especially the one that coomes with norton internet security, which i had to uninstall off a friends lappy to enable access his office lan dlink router. but with exception of norton (i could be wrong) you don't always have to uninstall, especially with xp's default firewall. to open ports or add programs to xp sp2's firewall,
1. Click on Start / Run
2.Enter in firewall.cpl
3. Click on the Exceptions tab
Adding a Port for Internet Access:
a. Click on the Add Port button
b. Name it whatever you want
c. Enter in the ports you want to open
Adding a Program for Internet Access
a. Click on Add Program, button
b. A list of all installed programs will be displayed
c. Highlight the one you want to include for Internet access
Click on the OK button
9. you don't always have to click start>controlpanel>add/remove programs. you can have a shortcup on the desktop. just right-click the desktop, choose New>shortcut. type appwiz.cpl, then name the shortcut anything u desire (preferably add/remove. if you want an icon on it, rightclick the shortcut, change icon.
infact, you can create shortcuts to lots of stuff. here is a list:
]
desk.cpl Display Properties
firewall.cpl Firewall Settings
inetcpl.cpl Internet Options
mmsys.cpl Sound and Audio
ncpa.cpl Network Connections
nusrmgr.cpl User Accounts
powercfg.cpl Power Options
sysdm.cpl System Properties
wscui.cpl Security Center
wuaucpl.cpl Automatic Updates Configuration
10. If you want to turn of WindowsXP showing Zip files as folders,
just run:
regsvr32 /u zipfldr.dll
11. Network Diagnostics scans your system to gather information about your hardware, software, and network connections.
Start / Run / NETSH DIAG GUI
The following is the type of information that can be displayed:
Ping
Connect
Show
Verbose
Save to Desktop
Mail Service
News Service
Internet Proxy Server
Computer Information
Operating System
Windows Version
Modems
Network Clients
Network Adapters
Domain Name System (DNS)
Dynamic Host Configuration Protocol (DHCP)
Default Gateways
Internet Protocol Address
Windows Internet Naming Service (WINS)
12. If you mistakenly deleted the icon for the Desktop on the Quicklaunch toolbar
Go to C:\Documents and Settings\user_name\Application Data\Microsoft\Internet Explorer\Quick Launch
(where user_name is replaced by your login name)
Create a Text file called ShowDesktop.SCF with the following contents:
[Shell]
Command=2
IconFile=explorer.exe,3
[Taskbar]
Command=ToggleDesktop
12. like i mentioned earlier, sometimes norton antivir prevents you from accessing networks. to disable thsi hindrance
Start Regedit
Go to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
Edit the IRPStackSize
Give it a value of 15
Reboot the computer
note: this only works if the event Viewer / system log shows the following error
the server's configuration parameter "irpstacksize" is too small for the server to use a local device.
13. in discussing svchost i mentioned windows services and the fact that they run in memory but sometimes these services can eat ram without doing much. if they are redundant you can stop them from running in memory. but be careful, note what the sentence says (remember, run>msconfig) before stopping them. some are:
Alerter - Sends alert messages to specified users that are connected to the server computer.
Application Management - Allows software to tap directly into the Add/Remove Programs feature via the Windows Installer technology.
Background Intelligent Transfer Service - The Background Intelligent Transfer service is used by programs (such as Windows AutoUpdate) to download files by using spare bandwidth.
Clipbook - ClipBook permits you to cut and paste text and graphics over the network.
Error Reporting Service - Allows applications to send error reports to Microsoft in the event of an application fault.
Fast User Switching - Windows XP allows users to switch quickly between accounts, without requiring them to log off.
Help and Support - Allows the XP Built-in Help and Support Center to run.
IMAPI CD-Burning COM Service - You don't need this if you have other software to create CDs.
Indexing Service - Indexes contents and properties of files on local and remote computers; provides rapid access to files through flexible querying language.
IP SEC - Manages IP security policy and starts the ISAKMP/Oakley (IKE) and the IP security driver. If you are not on a domain, you likely don't need this running.
Messenger - Transmits net send and Alerter service messages between clients and servers. This is how a lot of pop-up windows start appearing on your desktop.
Net Logon - Supports pass-through authentication of account logon events for computers in a domain. If you are not on a domain, you don't need this running
Network DDE - Provides network transport and security for Dynamic Data Exchange (DDE) for programs running on the same computer or on different computers.
NT LM Security Support Provider - Provides security to remote procedure call (RPC) programs that use transports other than named pipes.
Performance Logs and Alerts - Collects performance data from local or remote computers based on preconfigured schedule parameters, then writes the data to a log or triggers an alert. If you don't need to monitor your performance logs, then you don't need this service.
Portable Media Serial Number - Retrieves the serial number of any portable music player connected to your computer
QOS RSVP - Provides network signaling and local traffic control setup functionality for QoS-aware programs and control applets.
Remote Desktop Help Session Manager - Manages and controls Remote Assistance. If you are not using Remote Desktop you don't need this service.
Remote Registry - Enables remote users to modify registry settings on this computer.
Routing & Remote Access - Offers routing services to businesses in local area and wide area network environments. Allows dial-in access.
Secondary Login - Enables starting processes under alternate credentials. This is what allows you to run an application as another user.
Smart Card - Manages access to smart cards read by this computer.
Smart Card Helper - Enables support for legacy non-plug and play smart-card readers used by this computer.
SSDP Discovery Service - Enables discovery of UPnP devices on your home network.
TCP/IP NetBIOS Helper - Enables support for NetBIOS over TCP/IP (NetBT) service and NetBIOS name resolution. This should not be needed in today's network environment.
Telnet - Enables a remote user to log on to this computer and run programs, and supports various TCP/IP Telnet clients.
Uninterruptible Power Supply Service - Manages an uninterruptible power supply (UPS) connected to the computer.
Universal Plug and Play Device Host - Provides support to host Universal Plug and Play devices
Upload Manager - Manages synchronous and asynchronous file transfers between clients and servers on the network.
Volume Shadow Copy Service - Manages and implements Volume Shadow Copies used for backup and other purposes.
Web Client - Enables Windows-based programs to create, access, and modify non-local files across the Internet.
Wireless Zero Configuration - Provides automatic configuration for the 802.11 adapters
WMI Performance Adapter - Provides performance library information from WMI HiPerf providers.
14. to put a shutdown shortcut on the desktop, create a new txt file somewhere on your system, open it and put in this one line:
(new ActiveXObject("Shell.Application")).ShutdownWindows();
Save and Close the file. Change the extension to js and your got it.
You can make a shortcut to that file to make it easy to shut down your system.
15. If your computer does not turn off the power when doing a shutdown,
you may need to edit the registry. I have all the correct BIOS and Power settings and still needed to do this.
Start Regedit
Go to HKEY_CURRENT_USER\Control Panel\Desktop
Edit the key PowerOffActive and give it a value of 1
You can do the same in HKEY_USERS\.DEFAULT\Control Panel\Desktop
16. To prevent applications from stealing the focus from the window you are working
Start Regedit
Go to HKEY_CURRENT_USER \ Control Panel \ Desktop
Edit the key ForegroundLockTimeout
Give it a value of 00030d40
17. Normally, WindowsXP will prompt you 10 times that You Need a Passport to use WindowsXP Internet communication features,
To disable this
Start Regedit
Go to HKEY_CURRENT_USER \ Software \ Microsoft \ MessengerService
Edit the binary key PassportBalloon
Give it a value of 0A (0A 00 00 00)
18. You can show hidden devices in the Device Manager. One way is by making a simple registry change. The other is through a batch file.
Registry Change:
Go to HKEY_LOCAL_MACHINE \ SYSTEM \ ControlSet001 \ Control \ Session Manager \ Environment
Create a string DEVMGR_SHOW_NONPRESENT_DEVICES
Give it a value of 1
Batch File
in notepad, type:
@Echo Off
Prompt $p$g
set DEVMGR_SHOW_NONPRESENT_DEVICES=1
start devmgmt.msc
exit
save as "show devices.bat" (include the quotes or that yeye notepad will give it the defaulkt .txt extension)
run the file from the cmd prompt, or double click it.
19. To disable the Shared Documents folder that shows up on the network
Start Regedit
Go to HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ Explorer \
Create a new DWORD Value
Give it the name NoSharedDocuments
Give it a value of 1
Log off or reboot
20. When viewing a folder with the Thumbnail view, WindowsXP creates a thumbs.db file. initially i thought this was a virus but it turns out this is a cache of the current pictures in that directory.
If you want to turn this feature off and save a little disk space
Start the Windows Explorer
Go to Tools / Folder Options / View
In the first section under Files and Folders, check Do not cache thumbnails
Now you can search for the thumbs.db file on your computer and remove them. No more should be created.
21. If your Dell computer is losing time while the computer is turned on,
You can run the following commands:
Start / Run / CMD
Net stop w32time
w32tm /unregister
w32tm /unregister
w32tm /register
Net start w32time
22. You can add Safeboot as an option to the normal XP boot screen
Open a command prompt
Copy the current c:\boot.ini to another name (just in case)
With your favorite text editor, edit c:\boot.ini
Copy then edit the current boot line to another line. For example:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional" /fastdetect
might copy and then change to:
multi(0)disk(0)rdisk(0)partition(1)\WINDOWS="Microsoft Windows XP Professional Safeboot" /fastdetect
Start MSCONFIG
Click on the BOOT.INI tab
Highlight the second line with the additional name of Safeboot
Check the /SAFEBOOT box with option you want
Minimal - Minimal set of drivers
Network - With Network Support
Dsrepair - Directory Services Repair
Minimal (Alternate Shell) - Standard Explorer Desktop
You will now have this option every time you start XP
23. to change the registered owner of a pc if its tokunbo or you stole it,
Start Regedit
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion
From there you can edit the name in the Registered Owner key
24. To rename the start button, you will need a hex editor.
My preference is UltraEdit
Copy the \windows\explore.exe file to a new name (e.g. explorer_1.exe)
With the hex editor, open that file and go to offset 412b6
You will see the word start with blanks between each letter
Edit it be any 5 characters or less
Save the file
Boot to DOS
Copy the existing c:\windows\explorer.exe to explorer.org
Copy explorer_1.exe to explorer.exe
You will also need to replace the explorer.exe in the c:\windows\system32\dllcache file as well with the new one.
Note: If the partition is NTFS and you can't access the files from DOS:
Start Regedit
Go to HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Winlogon.
Change the value of Shell from Explorer.exe to explorer_1.exe
25. By default, WindowsXP will request to report application errors to Microsoft.
To turn this off:
Right click on the My Computer icon on the desktop
Select Properties / Advanced
Click on the Error Reporting tab
Check Disable error reporting
will continue with this as i find out more. meanwhile you can google for more tweaks online and kindly share them.