Subscribe to Windows IT Pro
March 19, 2001 12:00 AM

Win2K Registry Tweaks

Windows IT Pro
InstantDoc ID #20082
Rating: (0)

In the June 2000 Top 10, I shared my favorite Windows NT registry tweaks. In this companion-piece Top 10, I share my favorite Win2K registry tweaks. Although many NT tricks translate to Win2K, some don't or require slightly different procedures.

10. Delete roaming profiles. When a user who has a roaming profile logs off a workstation, a copy of the roaming profile remains, consuming space on the local hard disk. To delete cached profiles at logoff, go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon subkey and set the DeleteRoamingCache value to 1.

9. Add a prelogon dialog box to display a user greeting or an authorized users only warning. To alter the welcome dialog box, go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon subkey and change the LegalNoticeText value to a string such as This is the corporate ACME server. To set the dialog box's title bar, change the LegalNoticeCaption value to a string such as Unauthorized access prohibited.

8. Add a Copy To folder option to Windows Explorer's context menu. Through regedit, go to the HKEY_CLASSES_ROOT\AllFilesystemObjects\shellex\ContextMenuHandlers subkey. From the Edit menu, select New, Key. Type Copy To, and press Enter. Go to the new Copy To key, double-click the (Default) value, and set the value to {C2FBB630-2971-11D1-A18C-00C04FD75D13}.

7. Disable CD-ROM AutoRun. Go to the HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ Cdrom subkey and set the AutoRun value to 0.

6. Speed up your Start menu and taskbar. You can reduce the time that the Start menu takes to display its submenus. Go to the HKEY_CURRENT_USER\Control Panel\Desktop subkey and set the MenuShowDelay value to 100.

5. Don't display the most recent username. On shared systems, I prefer to turn off the display of the most recent logon name. Go to the HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\Current-Version\Winlogon subkey and set the DontDisplayLastUserName value to 1.

4. Open a command prompt from the current Windows Explorer location. Use regedit to navigate to HKEY_CLASSES_ROOT\Folder\shell. Select Edit, New, Key, and enter CmdPrompt in the dialog box. Double-click (Default), and enter the name that you want to display when you right-click the directory (e.g., Command Prompt Here). Then, select Edit, New, Key and enter a key under CmdPrompt named command (in lowercase). Double-click (Default) and enter the path to your cmd.exe program, followed by "%L" (e.g., C:\winnt\system32\cmd.exe /k cd "%L").

3. Change My Computer to the actual computer name and username. Open regedt32 and go to the HKEY_CLASSES_ROOT\CLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D} subkey. Copy the contents of the key's LocalizedString subkey (e.g., @C:\WINNT\system32\shell32.dll,-9216@1033,My Computer) to Notepad. Delete the LocalizedString subkey, then recreate it using the data type REG_EXPAND_SZ. Copy Notepad's contents into the new subkey, and change My Computer to %username% on %computername%.

2. Prevent users from changing My Computer. After you rename My Computer, use regedt32 to change the access permissions on the HKEY_LOCAL_MACHINE\SOFTWARE\Classes\CLSID{20D04FE0-3AEA-1069-A2D8-08002B30309D} subkey. Remove Everyone:Full Control, and add Authenticated Users:Read.

1. Remove My Computer from the desktop. Simply delete the HKEY_CLASSES_ROOT\CLSID{20D04FE0-3AEA-1069-A2D8-08002B 30309D} subkey. Be sure to first use regedit's Export Registry File option to save this subkey, in case you ever want to restore My Computer.

Related Content:

ARTICLE TOOLS

Comments
  • Anonymous User
    7 years ago
    Feb 26, 2005

    Enabled Downloads in Windows 98

    REGEDIT4

    [HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\CurrentVersion\\Internet Settings\\Zones\\3]

    "1803"=dword:00000000

  • Anonymous User
    7 years ago
    Jan 10, 2005

    Item 4, what %L means where can I find more info

  • Joe Christie
    8 years ago
    Apr 29, 2004

    On tip 3 the string must only read "%username% on %computername%" for W2k on SP4 and upwards. It will not work if the string as shown is used and reverts to "My Computer"

  • Mike
    11 years ago
    Jul 19, 2001

    Tip #4 has one small iota: you need to use regedt32.exe to do it because you have to specify the string you enter as REG_EXPAND_SZ. Using the default REG_SZ gives back errors when you try to execute the right click. (I found this out by comparing to the other keys in the same tree (explore, open). So enter the same stuff there, but make sure to specify REG_EXPAND_SZ and you're okay.

  • Matthew Moore
    11 years ago
    Jul 19, 2001

    You left out my favorite tweak!! HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\ProgramFilesPath - If you change this to another drive for your program files, you will never have to change it when installing new software.

You must log on before posting a comment.

Are you a new visitor? Register Here

advertisement

advertisement

Windows is a trademark of the Microsoft group of companies. Windows IT Pro is used by Penton Media Inc. under license from owner.