General System Registry Secrets
Table of contents
I-58 Do you have drive mappings that you want to reconnect automatically each time you log on? Even though you check the “Reconnect at logon” box, they still disappear. Add this value under the NetworkProvider key.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Control\NetworkProvider
Value Name: RestoreConnection
Data Type: REG_DWORD
Value: 0

Setting this value to 1 disables reconnecting when you log on.

I-59 If you don’t want your users to have access to the network connect and disconnect functions, add the following key and value to the registry:

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\
  Policies\Explorer
Value Name: NoNetConnectDisconnect
Data Type: REG_DWORD
Value: 1

I-60 Do you want to modify the text that appears in the caption bar beside the title of the Begin Logon, Logon Information, Workstation Locked, and Unlock Workstation dialog boxes? This registry entry lets you display any string of up to 256 characters.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\WindowsNT\
  CurrentVersion\Winlogon
Value Name: Welcome
Data Type: REG_SZ
Value: any string

Restart Windows NT for these changes to take effect.

I-61 Are your users having problems seeing the icons on their desktop? Do you need more control than simply choosing between big or small icons? Try these registry settings for total control over your icon sizes.

Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop\WindowMetrics
Value Name: Shell Icon Size
Data Type: REG_SZ
Value: 32 pixels (increase for larger icons; for example, 48 or even 64)

I-62 Do you want to disable the menu that appears when you right-click over Start or any application button on the taskbar? Change this entry.

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\
  Policies\Explorer
Value Name: NoTrayContextMenu
Data Type: REG_DWORD
Value: 0 (default)

Setting this value to 1 disables right-clicking over the task bar. To re-enable this function, set this value to 0 and restart your system. You may need to create part of this key and add this subvalue to the registry.

I-63 You can also disable the menu that appears when you right-click over your desktop or one of the file windows in the Explorer by adding this registry key and value:

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\
  Policies\Explorer
Value Name: NoViewContextMenu
Data Type: REG_DWORD
Value: 1

Restart the machine for these changes to take effect.

I-64 This registry entry lets you manipulate the size of the small icons displayed in the Start menu and in the Explorer windows when looking at files with the Small, List, or Details view settings.

Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop\WindowMetrics
Value Name: Shell Small Icon Size
Data Type: REG_SZ
Value: 16 (increase for larger icons)

Setting these values to something other than the default setting can slow down the Start Menu, desktop updates, and Explorer Window updates. Windows must initially regenerate the icons from their original 32 x 32 size, though it caches the regenerated icons. Restart your machine for this value to take effect.

I-65 If you need to change how many colors your desktop uses to display icons, this registry entry is for you. This entry regulates the number of bits per pixel (BPP) that Windows NT uses to render the icons.

Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop\WindowMetrics
Value Name: Shell Icon BPP
Data Type: REG_SZ
Value: 4

A value of 4 sets the system to use 16 colors for rendering (default), 8 sets 256 colors, 16 sets 65536 colors, 24 sets 16 million colors, and 32 sets true color. Windows NT can show the icons only at the maximum BPP that your graphics card and monitor can display. If an icon at that color resolution is not available, Windows NT takes the highest color resolution available and renders the icon accordingly. Restart the machine for these changes to take effect.

I-66 Would you like to run something other than the Open With application when you try to open something that Windows NT doesn’t recognize? Change this value.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Classes\Unknown\Shell\OpenAs\Command
Value Name: <NoName>
Data Type: REG_EXPAND_SZ
Value: <program you want to run>

Change the value for <No Name> to the name of the program that you want to use to handle Unknown applications; add a %1 at the end for the path and filename of the file that you tried to open. For example, %SystemRoot%\ system32\notepad.exe%1 starts the notepad. Restart Windows NT for this change to take effect.

I-67 Besides being able to customize the shell, you can also have specialty programs run, such as the NT backup program on a dedicated backup machine. This registry entry lets you specify which program is run as the shell.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\WindowsNT\
  CurrentVersion\WinLogon
Value Name: Shell
Data Type: REG_SZ
Data: <drivename:\path\program>

I-68 Do you want to make the control panel or printers available from your desktop — not a shortcut, but the real thing? This registry entry lets you do just that.

Hive: HKEY_CLASSES_ROOT
Key: CLSID\{21EC2020-3AEA-1069-A2DD-08002B30309D}
Value Name: Default
Data Type: REG_SZ
Value: Control Panel

I use Regedit for this one so that I can use the copy key function.

After you copy the control panel object’s CLSID (class ID) value to the clipboard, you need to

  1. Right-click on your desktop and add a new folder.


  2. Rename the new folder Control Panel. Be sure to add the period after Control Panel.


  3. Press Ctrl + V to paste the Control Panel’s CLSID into the folder’s name.


  4. Edit the folder so that it appears as follows: Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}


You now have the control panel on the desktop.

I-69 The same procedure applies for the printer control.

Hive: HKEY_CLASSES_ROOT
Key: {2227A280-3AEA-1069-A2DE-08002B30309D}
Value Name: Default
Data Type: REG_SZ
Value: Printers

After you have copied the printer object’s CLSID value to the clipboard, you need to

  1. Right-click on your desktop and add a new folder.


  2. Rename the new folder Printers. Be sure to add the period after Printers.


  3. Press Ctrl + V to paste the printer’s CLSID into the folder’s name.


  4. Edit the folder so that it appears as follows: Printers.{2227A280-3AEA-1069-A2DE-08002B30309D}
You now have the Printers on the desktop.

I-70 Would you like to modify or disable the task switcher (Alt-Tab, also known as the cool switch)? These registry entries show you how.

Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop
Value Name: Coolswitch
Data Type: REG_ SZ
Value: 1

The default value is 1, which enables the task switcher. A value of 0 disables the task switcher.

I-71 You can also change the number of columns that the cool switch displays by changing the value below.

Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop
Value Name: CoolSwitchColumns
Data Type: REG_ SZ
Value: 7

The default value is 7; change the value to the number of columns you want it to display.

I-72 You can also change the number of rows the cool switch displays.

Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop
Value Name: CoolSwitchRows
Data Type: REG_ SZ
Value: 3

The default value is 3; change the value to the number of rows you want to display.

I made mine tall and skinny by changing the values to 2 for CoolSwitchColumns and 4 for CoolSwitchRows.

I-73 The following registry values affect the way the Display Properties Control Panel command (right-click on the desktop) works. Add the System key under the Policies key, and add the following values under the System key.

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\
  Policies\System
Value Name: DisableTaskMgr
Data Type: REG_DWORD
Value: 00

This value disables the Task Manager.

I-74 Value Name: NoDispCPL
  Data Type: REG_DWORD
  Value: 1

This value removes the Control Panel.

I-75 Value Name: NoDispBackgroundPage
  Data Type: REG_DWORD
  Value: 1

This value removes the Background tab.

I-76 Value Name: NoDispAppearancePage
  Data Type: REG_DWORD
  Value: 1

This value removes the Appearance tab.

I-77 Value Name: NoDispScrSavPage
  Data Type: REG_DWORD
  Value: 1

This value removes the Screen Saver tab.

I-78 Value Name: NoDispSettingsPage
  Data Type: REG_DWORD
  Value: 1

This value removes the Settings tab from the Display Properties Control Panel command (right-click on the desktop).

I-79 Value Name: DisableTaskManager
  Data Type: REG_DWORD
  Value: 1

This value disables the Task Manager. You must have installed Service Pack 2 or later for this change to take effect. The default value is 0, which enables the feature.

I-80 Are users logging into your system with roaming profiles and cluttering everything up? Do you want to delete the profile cache after they log out? Try adding the following value under the WinLogin key.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\WindowsNT\
  CurrentVersion\WinLogin
Value Name: DeleteRoamingCache
Data Type: REG_ DWORD
Value: 1

Reboot your system for these changes to take effect.

I-81 Do you want to change the timeout value some of the informative dialog boxes use when logging in? For example, when you log in with a roaming profile and your system can’t find the system where your roaming profile is stored, you see an error dialog box. This registry entry is useful for both disabling the timeout feature and speeding up the timeout value.

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\WindowsNT\CurrentVersion\WinLogin
Value Name: ProfileDlgTimeOut
Data Type: REG_ DWORD
Value: n

The value is the time in seconds before the dialog box times out.

I-82 You don’t like Explorer and you want to run Program Manager or another alternate shell in its place. Change the following value for Shell from explorer.exe to progman.exe.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\WindowsNT\
  CurrentVersion\Winlogon
Value Name: Shell
Data Type: REG_SZ
Value: explorer.exe

I-83 If you plan to use Program Manager instead of the Explorer, you may also want to set this registry value. This entry lets you specify whether progman.exe waits for your logon scripts to complete before it loads into memory.

Note that this value entry also appears in HKEY_CURRENT_USER\Software\ Microsoft\WindowsNT\CurrentVersion\Winlogon. The HKEY_LOCAL_MACHINE value applies to all users. The HKEY_CURRENT_USER value applies only to the current user. You can use the System Policy Editor to change this value.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
Value Name: RunLogonScriptSync
Data Type: REG_DWORD
Value: 1

I-84 Hive: HKEY_CURRENT_USER
  Key: Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
  Value Name: RunLogonScriptSync
  Data Type: REG_DWORD
  Value: 1

A value of 1 tells Windows NT to wait until the logon script is finished before loading. A value of 0 indicates that the logon script and progman.exe can run concurrently. Restart Windows NT for these changes to take effect.

I-85 Are you tired of people changing the way your folders look? You get them set up just right, arranged by date with full details, then someone borrows your machine and messes it up. This registry modification prevents the system from saving changes made during the current session. Add the following value under the explorer key.

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\
  Policies\Explorer
Value Name: NoSaveSettings
Data Type: REG_DWORD
Value: 1

I-86 If you are trying to restrict what users can do on their systems, you probably want to disable their ability to right-click the Start button, which normally opens the program folder and Explorer and lets the user run Find. This registry modification disables all these features. Delete the following entries under the shell keys.

Hive: HKEY_CLASSES_ROOT
Key: Directory\shell
Value Name: Find

I-87 Hive: HKEY_CLASSES_ROOT
  Key: Folder\shell
  Value Name: Find

Now when a user right-clicks Start, nothing happens.

I-88 Do you need to see how your users have set up their screen savers? Or maybe a user secured the screen saver but forgot the password. To access screen savers remotely, fire up Regedt32.exe and open the registry remotely. These registry values give you everything you want to know about the screen saver.

Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop
Value Name: ScreenSaveActive
Data Type: REG_SZ
Value: 0

A value of 0 specifies that the current screen saver is disabled; set the value to 1 to enable the current screen saver.

I-89 Hive: HKEY_CURRENT_USER
  Key: Control Panel\Desktop
  Value Name: ScreenSaveIsSecure
  Data Type: REG_SZ
  Value: 0

A value of 0 means the screen saver requires no password to deactivate it. Set the value to 1 to enable password protection.

I-90 Hive: HKEY_CURRENT_USER
  Key: Control Panel\Desktop
  Value Name: ScreenSaveTimeOut
  Data Type: REG_SZ
  Value: 300

The number represents the time in seconds before the screen saver is activated.

I-91 Hive: HKEY_CURRENT_USER
  Key: Control Panel\Desktop
  Value Name: Scrnsave.exe
  Data Type: REG_SZ
  Value: <drivename:\path\program>

This value is the fully qualified path to the program you want to execute when the screen saver is activated.

I-92 Problem: You’re tired of looking at the same the Control Panel icons. To change the icons to a custom set, change the following registry entry.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Classes\CLSID\{21EC2020-
  3AEA-1069-A2DD-08002B30309D}\DefaultIcon
Value Name: <No Name>
Data Type: REG_EXPAND_SZ
Value: C:\Program Files\Plus!\Themes\Ancient Pathways Recycle Full.ico,2

The number 2 is the number of the icon in the file you want displayed. In this case, 2 specifies the third icon because the first icon in a file is numbered 0. If no number is used, the default is 0.

I-93 Problem: You’re tired of looking at the same the Printer icons in the start menu and want to change them to a custom set. The following registry entry lets you do so.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Classes\CLSID\{2227A280-
  3AEA-1069-A2DE-08002B30309D}\DefaultIcon
Value Name: <No Name>
Data Type: REG_EXPAND_SZ
Value: C:\Program Files\Plus!\Themes\Ancient Pathways Printer.ico,2

The number 2 is the number of the icon in the file you want displayed. In this case, 2 specifies the third icon because the first icon in a file is numbered 0. If no number is used, the default is 0.



Page: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11

next page
Hosted by www.Geocities.ws

1