Windows IT Pro is the authoritative and independent resource for windows nt, windows 2000, windows 2003, windows xp. Features a collection of resources and magazines for windows IT professionals.
  
  
  Advanced Search 


May 2002

Top 10 XP Registry Hacks


RSS
Subscribe to Windows IT Pro | See More Registry Articles Here | Reprints | Or get the Monthly Online Pass—only $5.95 a month!

Customize your new OS to make it faster and more secure

After working with Windows XP for several months, I've discovered some handy registry modifications that have improved my XP experience. In a few cases, a registry hack has saved my sanity. As always, be sure to back up your registry before you make any changes, and use care when implementing modifications. One wrong move can render your computer inoperable. If a stated value isn't present in your registry in the indicated location, you'll need to create the value to implement the desired change. All values are of type REG_DWORD, unless noted otherwise.

10. Improve XP's response time. To reduce delays in specific situations, navigate to the HKEY_CURRENT_USER\Control Panel\Desktop subkey. To set a lower threshold at which the system prompts you to manually end a hung task, change the HungAppTimeout value, of type REG_SZ, from the default 5000 to 1000. Be careful when you adjust this setting: If you use a program that runs slowly on XP, the OS might falsely determine that it has hung. In such a case, you can increase the HungAppTimeout value by increments of 1000 until the false "hung" detections stop.

To accelerate the display of your submenus on the Start menu, set the MenuShowDelay value (of type REG_SZ) from the default 400 to 50. Setting this value too low (e.g., to 0) causes your cursor to bring up menus too quickly and hinder your path to the Start menu option that you want. If you set the value to 50, you can move your cursor over menu options without accessing pop-up menus that obscure your target.

Like Windows 2000, XP suffers from a little-documented browse delay. When you browse to a Windows 9x computer name (\\computername), your XP computer checks for Scheduled Tasks on computers to which it's connecting. This search can cause as much as a 30-second delay. If you browse to the share name (\\computername\share), this delay won't occur. To eliminate the search for Scheduled Tasks and increase your browse speed, delete the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\RemoteComputer\NameSpace\{D6277990-4C6A-11CF-8D87-00AA0060F5BF} subkey, which is of type REG_SZ.

9. Get rid of Windows Messenger at startup. Navigate to the HKEY_LOCAL_MACHINE\SOFTWARE \Microsoft\Windows\CurrentVersion\Run subkey and delete the MSMSGS value.

8. Dispense with balloon pop-ups. Navigate to the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced subkey and set the EnableBalloonTips hexadecimal value to 0.

7. Don't hide files. Several values within the HKEY_CURRENT_USER\ Software\Microsoft\Windows\Current- Version\Explorer\Advanced subkey affect hidden files and folders. To show hidden files and folders, set the Hidden value to 1. To show file extensions, set the HideFileExt value to 0. To show protected OS files, set the ShowSuperHidden value to 1.

6. Show the Map Network Drive button. Navigate to the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced subkey and set the MapNetDrvBtn value to 1. The Map Network Drive button will appear on your Windows Explorer and My Computer toolbars.

5. Clean up the Start menu. Navigate to the HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer subkey. To disable all user-specific folders except My Documents, set the NoStartMenuMyMusic, NoSMMyPictures, NoFavoritesMenu, and NoRecentDocsMenu values to 0. If you also want to disable MyDocuments, set the NoSMMyDocs value to 0.

4. Prevent users from changing the paths of user folders. Navigate to the HKEY_ CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer subkey. To lock the paths to My Pictures, My Music, Favorites, and My Documents, respectively, set the following four values to 0: DisableMyPicturesDirChange, DisableMyMusicDirChange, DisableFavoritesDirChange, and DisablePersonalDirChange.

3. Clear the pagefile at shutdown. This modification helps keep your data secure. Navigate to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management subkey and set the ClearPageFileAtShutdown value to 1.

2. Run programs in a separate memory space. I like to run some older DOS applications in a separate memory space. To add a Run in Separate Memory Space check box to the Run dialog box, navigate to the HKEY_CURRENT_USER\Software\ Microsoft\Windows\CurrentVersion\Policies\Explorer subkey and set the MemCheckBoxInRunDlg value to 1.

1. Enable XP's Registry Favorites option. This little trick will simplify your work in the registry. You can bookmark locations within the regedit utility so that you don't need to repeatedly navigate to a desired subkey. To set a regedit Favorite, run regedit, navigate to the desired key (e.g., HKEY_LOCAL_MACHINE\SOFTWARE\ Microsoft\Windows), and highlight the subkey (e.g., CurrentVersion) that you want to bookmark. Click Favorites, select Add to Favorites, name the subkey, and click OK. I recommend that you use a naming scheme that helps you identify a key's location, such as "HKLM...CurrentVersion" or "HKLM\S\MS\Win\CV."

End of Article



Reader Comments
The "Top 10 XP Registry Hacks" article in the May 2002 print issue is at best, only
hard to read- Why would you screw up such a needed article with wierd background colors
and fonts- to make it a truly hard to read article? If you want to use fun colors and fonts,
PLEASE use them in promos/covers/ Etc., or maybe articles on the use of colors/fonts in
brochures and advertisement. But please, not in articles that need "readibility".
Thnak you for having a readable copy online!!

HH Overton May 12, 2002


The title <i>Top 10 XP Registry Hacks</i> implies that the article provides tips for modifying XP behaviors that require direct manipulation of the registry because you can't accomplish them through the UI. For many of the tips, that's not the case. Here are my comments about several of the tips in the article.

10. The HungAppTimeOut value doesn't have anything to do with slow applications. It's the delay that Task Manager waits between the time you use it to terminate a process and when Task Manager gives up waiting for an unresponsive application before it puts up a "force close" dialog box
with which you can forcefully kill the application.

9. To get rid of Windows Messenger at startup, from Windows Messenger, go to Tools, Options and navigate to the Preferences tab of the resulting dialog box. Clear <i>Run this program when Windows starts</i>.

8. To get rid of Windows Explorer balloon pop-ups, open the Tools, Folder Options dialog box and select the View tab. Then, clear the <i>Show pop-up description for folder and desktop items</i> check box.

7. To show hidden files and folders, open Windows Explorer's Tools, Folder Options dialog box and select the View tab. Then, select the <i>Show hidden files and folders</i> radio button. Similarly, to show extensions, clear the <i>Hide extensions for known file types</i> check box.

6. To have the Map Network Drive button apprear on the Windows Explorer toolbar, select Views, Toolbars, Customize to open the customization dialog box. Select Map Drive, press Add, then close the dialog box.

5. To get rid of folders from the Start menu, right-click the task bar and select Properties. Select the Start Menu tab and click the Customize button. Click Advanced, and from there you can choose which items to show on the Start menu.

3. To have the system clear the paging file at shutdown, open the Local Security Policy snap-in (secpol.msc) and navigate to Local Policy, Security Options. Select the <i>Shutdown: Clear virtual memory pagefile</i> setting.

--Mark Russinovich

Mark Russinovich May 13, 2002


<i>
HHOverton - I couldn't agree more about the color scheme! While blue is my favorite color, that scheme made some of the tips very difficult to read.<br><br>

Mark - You're absolutely right. My intent was never to present these tips as the only way to change those features. Sometimes it is easier to change things via a registry hack rather than a series of clicks, especially when automating configurations. Thanks for the input.<br><br>

--Melissa Wise</i>

Melissa Wise July 01, 2002


What books on the Windows 2000 and the Windows XP would you recommend?

Graham January 10, 2003


You must log on before posting a comment.

If you don't have a username & password, please register now.




Top Viewed ArticlesView all articles
Friday at PASS Europe 2006

Kevin talks about the closing day of the event and shares a funny Microsoft film. ...

Escape From Yesterworld

Kevin points you to the funniest SQL Server website ever! ...

PsExec

This freeware utility lets you execute processes on a remote system and redirect output to the local system. ...


Windows OSs Whitepapers Why SaaS is the Right Solution for Log Management

Related Events Windows, Unix, Linux Interoperability

Check out our list of Free Email Newsletters!

Windows OSs eBooks Understanding and Leveraging Code Signing Technologies

A Guide to Windows Certification and Public Keys

SQL Server Administration for Oracle DBAs

Related Windows OSs Resources Become a VIP member of the Windows IT Pro community!
Get it all with the VIP CD and VIP access. A $500+ value for only $279!

Subscribe to Windows IT Pro!
Solve your toughest technical problems with our experts and access 10,000 + articles online. 30% off

Monthly Online Pass - Only $5.95!
Get instant access to 10,000+ articles from Windows IT Pro Magazine!

TechNet Virtual Labs
Evaluate and test Microsoft's newest products.


Windows IT Pro Home Register FAQ for Windows WinInfo News
Europe Edition About Us Contact Us/Customer Service Media Kit Affiliates / Licensing  
SQL Server Magazine Office & SharePoint Pro Windows Dev Pro IT Job Hound ITTV
IT Library Technology Resource Directory Connected Home Windows Excavator Windows SuperSite 
 
 Windows IT Pro is a Division of Penton Media Inc.
 Copyright © 2008 Penton Media, Inc., All rights reserved. Terms and Use | Privacy Statement | Reprints and Licensing