Tweaks for your PC

NOTE: Please use caution when using regedit. Improper usage may cause windows to behave incorrectly. Also, I cannot be held responsible. Backup your registry first. 

Automate Disk Cleanup 

Cleanmgr.exe is designed to clear unnecessary files from your computer's hard disk. You can use command-line options to specify that Cleanmgr.exe cleans up certain files. You can then schedule the task to run at a specific time by using the Scheduled Tasks tool. 

To start the Disk Cleanup tool, either run the Cleanmgr.exe command, or click Start, point to Programs, point to Accessories, point to System Tools, and then click Disk Cleanup. 

Disk Cleanup supports the following command-line options: 
/d driveletter: - This option specifies the drive that you want Disk Cleanup to clean. 
/sageset: n - This option displays the Disk Cleanup Settings dialog box and also creates a registry key to store the settings that you select. The n value, which is stored in the registry, allows you to specify tasks for Disk Cleanup to run. The n value can be any integer value from 0 to 65535. To have all of the options available when you use the /sageset option, you might need to specify the drive where Windows is installed. 
/sagerun: n - This option runs the specified tasks that are assigned to the n value if you use the \sageset option. 

For example, in Scheduled Tasks, you could run the following command after you run the cleanmgr /sageset:11 command: 
cleanmgr /sagerun:11 

This command runs Disk Cleanup and includes the options that you specified with the cleanmgr /sageset:11 command. 


Boot XP faster

First of all, this tweak only apply to those who only have one HDD on their primary IDE channel (nothing else on device 0 or 1) and a CD-ROM and/or DVD-ROM on the secondary IDE channel. Each time you boot Windows XP, there's an updated file called NTOSBOOT-*.pf who appears in your prefetch directory (%SystemRoot%\Prefetch) and there's no need to erease any other files as the new prefetch option in XP really improves loading time of installed programs. We only want WindowsXP to boot faster and not decrease its performance. Thanks to Rod Cahoon (for the prefetch automation process...with a minor change of mine) and Zeb for the IDE Channel tweak as those two tricks, coupled together with a little modification, result in an EXTREMELY fast bootup: 

1. Open notepad.exe, type "del c:\windows\prefetch\ntosboot-*.* /q" (without the quotes) & save as "ntosboot.bat" in c:\ 
2. From the Start menu, select "Run..." & type "gpedit.msc". 
3. Double click "Windows Settings" under "Computer Configuration" and double click again on "Shutdown" in the right window. 
4. In the new window, click "add", "Browse", locate your "ntosboot.bat" file & click "Open". 
5. Click "OK", "Apply" & "OK" once again to exit. 
6. From the Start menu, select "Run..." & type "devmgmt.msc". 
7. Double click on "IDE ATA/ATAPI controllers" 
8. Right click on "Primary IDE Channel" and select "Properties". 
9. Select the "Advanced Settings" tab then on the device 0 or 1 that doesn't have 'device type' greyed out select 'none' instead of 'autodetect' & click "OK". 
10. Right click on "Secondary IDE channel", select "Properties" and repeat step 9. 
11. Reboot your computer. 

WindowsXP should now boot REALLY faster. 

CD ROM Stops AutoPlaying... 

...and the AutoPlay Tab has disappeared in My Computer, Devices With Removable Storage, Right Click on CDROM, Properties. 

Solution: 
The service: "Shell Hardware Detection" has been set to Manual or Disabled. Go to Control Panel, Administrative Tools, Services. Return this service to "Automatic". 

Hope this helps! 




Remove shortcut arrow from desktop icons 


* Start regedit. 
* Navigate to HKEY_CLASSES_ROOT\lnkfile 
* Delete the IsShortcut registry value. 



You may need to restart Windows XP. 

CDFS Tweaks 

Whats the one thing we hate most when copying something from CD, for me at least, is the speed in which the data is copied. 

After many months of research, I have found what I consider the best CDFS settings to have, and my DVD drive never copied so good wink.gif 

Here is the changes that must be made 

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem\CDFS 

Look for that registry key, if not there, we must create a new key, then add the following values 

CacheSize, this must be added as a binary value, then type in this value: ff ff 00 00 

Prefetch, this key must be added as a DWORD value, then type in this value: 4000 hex 

PrefetchTail, this key must be added as a DWORD value, then type in this value: 4000 hex 

After that tweaking, try copying something across from CD, and you will notice it does produce a speed boost, but it becomes apparent after a while of using this tweak, you may or may not see it at first. 









Proformance Increase through My Computer 

Easy enough tweak to usually find out about it on your own, but still, some of use still don't find it right away. So here it is: 
1: Start > Right Click on My Computer and select properties. 
2: Click on the "Advanced" tab 
3: See the "Perfomance" section? Click "Settings" 
4: Disable the following: 

Fade or slide menus into view 
Fade or slide ToolTips into view 
Fade out menu items after clicking 
Show Shadows under menus 
Slide open combo boxes 
Slide taskbar buttons 
Use a background image for each folder type 
Use common tasks in folders 

There, now Windows will still look nice and perform faster. 

Disable unnecessary programs 

Installing many programs on you computer can often clutter your registry with unnecessary programs running when your computer starts up. This will slow down your machine and take up memory. 

Start Regedit. If you are unfamiliar with regedit please refer to our FAQ on how to get started. 
Navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run 
Once there, locate any entry's on the right. You can identify the program by the path to the executable. Find programs that you can live without starting up from the list. 
Right click on them and select Delete 
You may also want to navigate to HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Runonce and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run. 
Delete unnecessary programs. 
Reboot your computer. 

Alternative method: 

Click on the start button and select run. 
In the text box type msconfig and click ok. 
Once the window has loaded, click on the startup tab and uncheck programs you do not want to start up anymore. 

Increase speed of Outlook Express when Messenger is removed or disabled 

For some users when they remove windows messenger or just disable it from starting up automatically they experience a great slow down when launching Outlook express. Users who experience such a slow down will find a error in the system error log saying The server {FB7199AB-79BF-11D2-8D94-0000F875C541} did not register with DCOM within the required timeout. The solution this problem is quite simple. Just Open up regedit and search for the string {FB7199AB-79BF-11D2-8D94-0000F875C541} and modify the keys InProc32 and LocalServer32 default key to a empty string. After a reboot, Outlook will start up as fast as possible. 

Clean your prefetch to improve performance. 

This is an unique technique for WinXP. We know that it is necessary to wash registry and TEMP files for Win9X/ME/2000 periodly. Prefetch is a new and very useful technique in Windows XP. However, after using XP some time, the prefetch directory can get full of junk and obsolete links in the Prefetch catalog, which can slow down your computer notablely. My suggestion is: open C(system drive):/windows/prefetch, delete those junk and obsolete files,reboot. It is recommended that you do this every month. 

Clicking AVI Files on explorer casuing 100% CPU Usage 

Well windows seem to have a REALLY big problem when it comes to reading AVI files. It seems that when you click on an AVI file in explorer, it'll try to read the entire AVI file to determine the width,height, etc. of the AVI file (this is displayed in the Properties window). Now the problem with Windows is that if you have a broken/not fully downloaded AVI file that doesnt contain this info, Windows will scan the entire AVI file trying to figure out all these properties which in the process will probably cause 100% CPU usage and heavy memory usage. 

To solve this problem all you have to do is the following: 

1. Open up regedit 
2. Goto HKEY_CLASSES_ROOT\SystemFileAssociations\.avi\shellex\PropertyHandler 
3. Delete the "Default" value which should be "{87D62D94-71B3-4b9a-9489-5FE6850DC73E}" 

Voila! Please not that this will no longer provide you with the windows properties displaying the AVI file information such as width, height, bitrate etc. But its a small price to pay for saving you resources. 


Add some switches to Windows Explorer 

Locate your Windows Explorer shortcut in your Start/Programs, right-click it, and select the Properties command. When the Windows Explorer Properties sheet appears, click the Shortcut tab. Then, add the /Select switch after the /e switch so that the Target text box reads 

X:\Windows\Explorer.exe /n, /e, /select, C:\ 

(where X:\Windows\ is your Windows folder...) 

Using the /Select switch with C:\ as the object causes Windows Explorer to open a My Computer view of your system. Now when you select the Windows Explorer shortcut on the Start menu, your window will look more like the My Computer view. 

You can copy and paste this to Target: 
%SystemRoot%\explorer.exe /n, /e, /select, C:\ 
and this to "Start in:" 
%HOMEDRIVE%%HOMEPATH% 

Speed up Disk cache 

Open Regedit 
[HKEY_LOCAL_MACHINESYSTEM/CurrentControlSet/ControlSession/ Manager/MemoryManagement/IoPageLockLimit]; 
Modify the value in Hex depending on the size of your RAM 
RAM: modified value(Hex) 
64M: 1000; 
128M: 4000; 
256M: 10000; 
512M or more: 40000. 
Then Reboot. 

Allow more than 2 simultaneous downloads in IE 6 

This is to increase the the number of max downloads to 10. 

1. Start Registry Editor 

2. Locate the following key in the registry: 

HKEY_CURRENT_USER/Software/Microsoft/Windows/CurrentVersion/InternetSettings 

3. On the Edit menu, click Add Value , and then add the following registry values: 

"MaxConnectionsPer1_0Server"=Dword:0000000a 
"MaxConnectionsPerServer"=Dword:0000000a 

4. Quit Registry Editor. 

* U can set more than 10 mines set @ 25 

Enable mIRC identd 

Ident needs to use port 113 , if you use "Internet Connection Firewall" in XP. Here is how to get it working without disabling the entire firewall: 
1. Go into Control Panel-> Network Connections 
2. Right click "Local Area Network" and select "Properties" 
3. Left click the advanced tab 
4. Left click the settings button 
5. Under services, left click the add button 
6. For description type "Ident", for Name of IP put the name that identifies your system with your ISP OR your IP if it is static. 
7. Both external and internal ports are 113 by default and TCP. 
8. Click OK all the way out. 

Get rid of Internet Browsing history 

Launch Internet Explorer. 
Select the Tools from the menu bar. 
Then select Internet Options... from the drop down menu. 
Once the internet options has loaded click on the general tab. 
Under the history section change the days to keep in history to 0. **not 1 not 7... Zero** 
I would also click the clear history button to get rid of everything else. 
Click OK , and no more history 


Clear pagefile on shutdown 

For added security you should always clear the page file upon shutting down your computer. Windows uses this file as extra ram. Lets say that you are working on a confidential MS Word doc. When you load this document it is loaded into ram. To save ram windows places certain items in the page file. The page file can then be opened and the document can be extracted as well as any other open program or files. However Microsoft has implemented a feature that will clear the page file but they do not have it enabled by default. Please note, this will slightly increase the amount of time it takes to shut down your computer but it is well worth it. 

Start Regedit. 
Navigate to HKEY_LOCAL_MACHINE > SYSTEM > CurrentControlSet > Control > SessionManager > Memory Management 
Select ClearPageFileAtShutdown from the list on the right. 
Right on it and select Modify. 
Change the value to 1 to enable. 
Reboot your computer 
Or I believe it might even be under services.msc or gpedit.msc 


Speed up Nero in XP 

Go to "administrative tools" in the control panel, and in the "services" list, disable the IMAPI CD-Burning COM service. 
(Note: manual setting is not enough it must be disabled) It is the built-in CD-burning capability for windowsXP (incidentally, written by Roxio). 


Disable Prefetch for low memory systems 

If you're like me your system only has about 128megs of RAM. The Windows XP Prefetch can take a lot of this up by preloading programs at boot as well as preloading programs you often use thus sucking away your available RAM. 

On my system, a Dell PIII 866 with 128 megs of RAM, I was able to greatly boast my system performance by disabling Prefetch all together. It used to take a half hour for the disk to stop thrashing after stopping Nortons SpeeDisk, Now it stops instantly. 

Note: This tweak worked for this user and their system configuration but disabling prefetch on other systems may have a bad effect as it might free up ram but it also could increase program start up time. 

Here's how to disable Prefetch. 

1. run "regedit"; 
2. goto [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters\EnablePrefetcher]; 
3. Set the value to either 0-Disable. 
4. reboot. 

Disable XP Boot Logo 

It is possible to disable XP splash screen, which will slightly speed up the overall boot process. Be aware that removing the splash screen will also cause you not to see any boot-up messages that might come up (chkdsk, convert ... ), but if your system runs without any problems then it should not matter. 

1. Edit boot.ini 
2. Add " /noguiboot" right after "/fastdetect". 

Upon restarting, the splash screen will be gone. It can be re-enabled by removing the new switch. 


Enable or disable boot defrag 

A great new feature in Microsoft Windows XP is the ability to do a boot defragment. This places all boot files next to each other on the disk to allow for faster booting. By default this option in enables but on some builds it is not so below is how to turn it on. 

Start Regedit. If you are unfamiliar with regedit please refer to our FAQ on how to get started. 

Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Dfrg\BootOptimizeFunction 

Select Enable from the list on the right. 

Right on it and select Modify. 

Change the value to Y to enable and N to disable. 
Reboot your computer. 

Get more processing power. 

In the Run box, type "Rundll32.exe advapi32.dll,ProcessIdleTasks". This frees up any idle tasks running in the background so that Windows XP can devote its full attention to what you want it to do. For example playing graphic intensive games. 


Improve NTFS Performance 

The NTFS file system is the recommended file system because of its advantages in terms of reliability and security and because it is required for large drive sizes. However, these advantages come with some overhead. You can modify some functionality to improve NTFS performance as follows: 

1. Disable creation of short names. By default, NTFS generates the style of file name that consists of eight characters, followed by a period and a three-character extension for compatibility with MS-DOS and Microsoft® Windows® 3.x clients. If you are not supporting these types of clients, you can turn off this setting by changing the default value of the NtfsDisable8dot3NameCreation registry entry (in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Filesystem) to 1. 

2. Disable last access update. By default NTFS updates the date and time stamp of the last access on directories whenever it traverses the directory. For a large NTFS volume, this update process can slow performance. To disable automatic updating, change the value of the NtfsDisableLastAccessUpdate registry entry (in HKEY_LOCAL_MACHINE\SYSTEM\CurrentContolSet\Control\Filesystem) to 1. If the entry is not already present in the registry, add it before setting the value. (Add it as a REG_DWORD) 

3. Reserve appropriate space for the master file table. Add the NtfsMftZoneReservation entry to the registry as a REG_DWORD in HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem. When you add this entry to the registry, the system reserves space on the volume for the master file table. Reserving space in this manner allows the master file table to grow optimally. If your NTFS volumes generally contain relatively few files that are typically large, set value of this registry entry to 1 (the default). Typically you can use a value of 2 or 3 for moderate numbers of files, and 4 (the maximum) if your volumes tend to contain a relatively large number of files. However, be sure to test any settings greater than 2 because these higher values cause the system to reserve a much larger portion of the disk for the master file table. 

Reboot after making changes.

Increase 'CPU priority tweak' effect 

First you must set the CPU Priority setting tweak.Using 'Regedit', go to this location:"HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\PriorityControl\" and set the "Win32PrioritySeparation" to "38" 

The last adjustment is to set the "Launch folder windows in separate process" setting by opening the "My Computer\Tools\Folder Options\View -and tick the "Launch folder windows in separate process" box. 

Window XP will open any new window(including program) in its own memory and in separate process priority.(increase stability and speed but use much more RAM than before) 

Increase speed by tweaking prefetcher settings 

This is an unique technique for XP, which could improve the performance significantly by tweaking the prefetcher. Recommended hardware: PIII 800 or higher, 512M RAM or more. 

1. run "regedit"; 
2. goto [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management\PrefetchParameters\EnablePrefetcher]; 
3. Set the value to either 0-Disable, 1-App launch prefetch, 2-Boot Prefetch, 3-Both ("3" is recommended). 
4. reboot. 

It will decrease the boot time but double and increase the performance of your XP. Try it! 

Make icons in windows appear quicker 

In Windows XP everytime you open My Computer to browse folders XP automatically searches for network files and printers. This causes a delay in displaying your icons. You probably see the "default" windows icon and as you scroll it changes to the correct icon. This is how to stop that... 

1. Open My Computer 
2. Click on the Tools menu and select Folder Options... 
3. Under Folder Options select the view tab. 
4. Uncheck the very first box that reads "Automatically search for network folders and printers". 
5. Click "Apply" or "OK" 

You should see a dramatic increase in speed when Windows displays your icons. 


No more low disk space messages 

go into registry with REGEDIT.EXE, go to 
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\ 
and (if not already there) add DWORD (without quotes) "NoLowDiskSpaceChecks" and change the value to 1. Restart. 



Reduce 10 second scandisk wait time 

Start MS Dos Prompt (Start run CMD) 
CHKNTFS/T:4 

CHKNTFS/? 
for more info 

Shutdown XP Faster 

When a user shuts down Windows XP, first the system has to kill all services currently running. Every once in a while the service does not shut down instantly and windows gives it a change to shut down on its own before it kills it. This amount of time that windows waits is stored in the system registry. If you modify this setting, then windows will kill the service earlier. To modify the setting, follow the directions below: 


* Start Regedit. 
* Navigate to HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Control 
* Click on the "Control" Folder 
* Select "WaitToKillServiceTimeout 
* Right click on it and select Modify 
* Set it a value lower than 2000 (Mine is set to 200). 

SystemPages Memory Tweak 

I'm not 100% sure if this tweak will yield a great performance boost to the majority of users out there, but for me it seems to have shown very good results. By default, if you look in the [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management]key, you'll see the 'SystemPages' DWORD Value set to something around 500 MB (more accurately, 524288 (KB), or something close to that value). Simply reduce the value to something around 128 MB (131072 KB) or 256 MB (262144 KB). Personally, I'm using the 128 MB setting, since my total RAM is 256 MB. It might help to experiment a little, since each machine will most likely yield better or worse results. Good Luck! 
Disable System File Check / Windows File Protection for ever 

Windows 2000 with SP2,3 or 4: 
Open a file %systemroot%/system32/sfc.dll and edit bytes from physical offset 00006211h - change the 8BC6 to read 9090. Run Regedit, go to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon. Modify the "SFCDisable" DWORD [REG_DWORD] Binary entry to read FFFFFF9D. Replace the original SFC.DLL with the version you just edited, both at the /SYSTEM32 and /SYSTEM32/DLLCACHE. Reboot. 

Windows XP with SP1: 
My computer (2nd mouse button) properties, "System Restore" tab, disable it. Like above, but modify sfc_os.dll from offset 0000E3BBh, from 8BC6 to 9090. Do the regedit FFFFFF9D-thing. You can use the same sfc_os.dll in all versions of Windows Server 2003. 

Now you can modify the files you want, or delete Outlook Express - - but use Regcleaner or Norton WinDoctor, if you want to keep your OS running.You can replace the files in the recovery console as well. 

To get the Recycle Bin back, merge this to registry (copy/paste to Notepad, save as "Recycler_on.reg"): 

REGEDIT4 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons] 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu] 
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000000 

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel] 
"{645FF040-5081-101B-9F08-00AA002F954E}"=dword:00000000 

NOTE: Please use caution when using regedit. Improper usage may cause windows to behave incorrectly. Also, I cannot be held responsible. Backup your registry first. 

Compiled By kaustubh, Enjoy 


0 comments:

Post a Comment

Tech 4U