General System Registry Secrets
Table of contents
I-213 If you don�t want your users to have access to Task Manager for security reasons, change these entries:

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Windows\CurrentVersion\ Policies\System
Value Name: DisableTaskMgr
Data Type: REG_BINARY
Value: 01 hexadecimal

The default value is 00 hexadecimal, which enables the Task Manager. Changing this value to 01 hex disables Task Manager, and you should see a message that your administrator has disabled the Task Manager.

I-214 Do you need to have all your 16-bit applications run in separate virtual DOS machines? This registry lets you specify this setup as the default for running 16-bit applications.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Control\WOW
Value Name: DefaultSeperateVDM
Data Type: REG_SZ
Value: YES

Reboot for this change to take effect.

I-215 Problem: you want to open a command prompt and switch to a directory that is nested deep within your directory structure without typing a long chdir pathname. These registry keys allow you to start a command prompt in the folder or drive of your choice by simply right-clicking over the folder in which you want to open a command prompt.

Hive: HKEY_CLASSES_ROOT
Key: Directory\Shell\DosHere
Value Name:
Data Type: REG_SZ
Value: Command Prompt Here

This value is the text that appears on the popup menu when you right-click a directory.

I-216 Hive: HKEY_CLASSES_ROOT
Key: Directory\Shell\DosHere\Command
Value Name:
Data Type: REG_SZ
Value: (system directory)\System32\cmd.exe /k cd �%1�

This value is the command that is executed when you select the �Command Prompt Here� item you set for the popup menu in the entry above.

I-217 Hive: HKEY_CLASSES_ROOT
Key: Drive\Shell\DosHere
Value Name:
Data Type: REG_SZ
Value: Command Prompt Here

This value sets the text that appears on the popup menu when you right-click a drive.

I-218 Hive: HKEY_CLASSES_ROOT
Key: Drive\Shell\DosHere\Command
Value Name:
Data Type: REG_SZ
Value: (system directory)\System32|cmd.exe /k cd �%1�

This value sets the command that is executed when you select the �Command Prompt Here� item you set for the popup menu in the entry above.

I-219 Does your system support Auto Powerdown? Do you want to enable it on NT? This registry entry does the trick.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
Value Name: PowerDownAfterShutDown
Data Type: REG_SZ
Value: 1

Reboot for this change to take effect.

I-220 If your system takes too long to shut down, you may want to adjust the next three registry entries.

Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop
Value Name: HungAppTimeout
Data Type: REG_DWORD
Value: time in milliseconds

This value governs how long the system waits after you try to close an application before displaying the Wait, End Task, and Close dialog box.

I-221 Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop
Value Name: WaitToKillAppTimeout
Data Type: REG_DWORD
Value: time in milliseconds

This value governs how long the system waits after the Log Off or Shutdown command was given to an application before it displays the Wait, End Task, and Close dialog box.

I-222 To have the system automatically shut down all hung applications, change the following registry value.

Hive: HKEY_CURRENT_USER
Key: Control Panel\Desktop
Value Name: AutoEndTasks
Data Type: REG_DWORD
Value: 1

By default, this value is 0, which shows the Wait, End Task, and Close dialog box; changing the value to 1 automatically shuts down all hung applications.

I-223 If you need to specify which executables Windows NT runs at logon, the next two registry entries show you the default executables and let you add a few of your own. These executables run in the User context.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
Value Name: Userinit
Data Type: REG_SZ
Value: Userinit,Nddeagnt.exe

I-224 These executables run in the System context.

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

These values are the defaults. You can add your own by editing the string, being sure to include commas. Restart Windows NT for these changes to take effect.

I-225 Tired of having to log on just to power down? Try this registry entry.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\WindowsNT\CurrentVersion\Winlogon
Value Name: ShutDownWithOutLogon
Data Type: REG_SZ
Value: 1

Reboot for this change to take effect.

I-226 Do you get those annoying �insufficient memory� messages for the server service when you know you have plenty of disk and memory? These registry parameters control the server service, and tweaking them can help you avoid these messages.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\LanmanServer\Parameters\
Value Name: MinFreeConnections
Data Type: REG_DWORD
Value: 3

This parameter specifies the number of free connection blocks maintained at each system in the connection. Acceptable values can range from 2 to 5.

I-227 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\LanmanServer\Parameters\
Value Name: MinFreeWorkItems
Data Type: REG_DWORD
Value: 2

This value specifies the minimum number of available work items that the server receives before it starts processing a potential multiblock SMB request. Increasing this value increases the probability that work items are available for nonblocking requests. The downside of increasing the value is that the likelihood of rejecting blocking requests goes up. The default value is 2; any value between 0 and 10 is acceptable.

I-228 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\LanmanServer\Parameters\
Value Name: MinKeepSearch
Data Type: REG_DWORD
Value: 480

This parameter specifies the minimum time in seconds the server keeps incomplete MS-DOS searches. You should not have to tweak this unless you are approaching the maximum number of open searches. The default is 480; values can range between 5 and 5000.

I-229 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\LanmanServer\Parameters\
Value Name: MinLinkThroughPut
Data Type: REG_DWORD
Value: 0

This value specifies the minimum throughput the server allows before it disables certain locks for a given connection. Increasing this value helps tune for network congestion. The default is 0; values can range from 0 to infinity.

I-230 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\LanmanServer\Parameters\
Value Name: MinRcvQueues
Data Type: REG_DWORD
Value: 3

This parameter specifies the minimum number of free receive work items the server needs before it allocates more Receive Queues. The value can range from 0 to 10.

I-231 If you simply want to stop the insufficient memory messages, the following series usually does the trick.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\LanmanServer\Parameters\
Value Name: MinFreeConnections
Data Type: REG_DWORD
Value: 5

Start Control Panel and go to the network icon. Highlight Services and choose the Server service. Select Properties and then select Maximize Throughput for File Sharing. These changes should solve the problem.

I-232 Are you tired of having error messages popping up and slowing down your system? This registry entry shows you how to eliminate them.

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\WindowsNT\CurrentVersion\Windows

Add the following value under the Windows key.

Value Name: ErrorMode
Data Type: REG_DWORD
Value: 0

You have a choice of three values for this value. A value of 0 serializes errors and waits for a response. A value of 1 excludes system errors the system writes to the event log. Normal errors still show up. A value of 2 logs the error to the Event Log and suppresses the message box. The default is 0; to turn off pop-up messages, set this value to 2. Reboot for these changes to take effect.

I-233 If you ever wondered where the Performance Monitor messages are stored, look at this registry entry.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\WindowsNT\CurrentVersion\ Perflib\009
Value Name: Help
Data Type: REG_MULTI_SZ
Value:

I-234 This registry entry sets the %Server environment variable on a server.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Control\SessionManager\ Environment

Add the following value under the Environment key.

Value Name: Servername
Data Type: REG_SZ
Value:

I-235 You upgraded to Windows NT 4.0, and you need to have a HPFS file system on the server. But NT 4.0 doesn�t support HPFS. Bummer. This registry modification lets you get around that problem.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurentControlSet\Services\Pinball

Add the following values under the Pinball Key.

Value Name: ErrorControl
Data Type: REG_DWORD
Value: 0x1

I-236 Value Name: Group
Data Type: REG_SZ
Value: Boot File System

I-237 Value Name: Start
Data Type: REG_DWORD
Value: 0x1

I-238 Value Name: Type
Data Type: REG_DWORD
Value: 0x2

Copy Pinball.sys from the NT 3.51 distribution CD to your servers� %systemroot%\system32\drivers directory. You must reboot your machine for these changes to take effect.

I-239 You want to let a user schedule jobs, but the user doesn�t have administrator rights. This registry entry shows you how.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Control\LSA

Add the following value under the Parameters key.

Value Name: SubmitControl
Data Type: REG_DWORD
Value: 00000001

The value is in hexadecimal. Reboot your system for the changes to take effect. If changing this key doesn�t work, you may need to change the following entry as well.

I-240 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\Schedule

On the subkey for the accounts you want to grant access, choose Full Control for Permissions Access Type Stop and restart the scheduler service in the control panel applet.

I-241 To set a server on your network to act as the domain time source server, change this entry.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\LanManServer\ Parameters

Add the following value under the Parameters key.

Value Name: TimeSource
Data Type: REG_DWORD
Value: 1

Restart Windows NT for these changes to take effect.

I-242 You want to limit the use of command extensions for any .cmd file. This registry entry does just that.

Hive: HKEY_CURRENT_USER
Key: Software\Microsoft\Command Processor
Value Name: EnableExtensions
Data Type: REG_DWORD
Value: 0

When the value is set to 0, the .cmd files do not run. Reboot your machine for these values to take effect.

I-243 Your computer locks up when you are using the drag-and-drop method to move files to your floppy drive. The only way out is a reboot. Try this registry entry to help solve the problem.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Control\GraphicsDrivers\

Add the following key under the GraphicsDrivers Key:

Key: DisableUSWC

When you add this key, you tell Windows NT not to use Uncache Speculative Write Combining on the video cards. No value is needed under the DisableUSWC key. Reboot the machine for this change to take effect.

I-244 Modifying the registry entries below lets you disable the Long File Names feature in Windows NT. Note this change doesn�t change any disk structures; it only affects the way Windows NT behaves from the time you make the change.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Control\FileSystem
Value Name: Win31FileSystem
Data Type: REG_DWORD
Value: 1

Reboot your system for these changes to take effect.

I-245 Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Control\FileSystem
Value Name: NtfsDisable8dot3NameCreation
Data Type: REG_DWORD
Value: 1

This change prohibits Windows NT from creating an 8.3 twin for the long filenames you create.

I-246 Problem: In a previous version of NT, you were notified by a message that NT saw your 16550N UART chip. For some reason, that notification has stopped and you wish to enable it again. This registry modification makes NT notify you when it recognizes the 16550N UART.

Hive: HKEY_LOCAL_MACHINE
Key: System\CurrentControlSet\Services\Serial

Make sure the following values are present. If any are missing, add them.

Value Name: ForceFIFOEnable
Data Type: REG_DWORD
Value: 1

I-247 Value Name: LogFIFO
Data Type: REG_DWORD
Value: 1

I-248 Value Name: PermitShare
Data Type: REG_DWORD
Value: 1

I-249 Value Name: RxFIFO
Data Type: REG_DWORD
Value: 0x8

I-250 Value Name: TxFIFO
Data Type: REG_DWORD
Value: 0x1

Reboot the system for these changes to take effect. The event log now reports �While validating that COM1 was really a serial port, a FIFO was detected. The FIFO will be used.�

I-251 Problem: You want to change the registered owner or organization to something other than the one you used during the installation. Change one of these values.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\WindowsNT\CurrentVersion
Value Name: RegisteredOwner
Data Type: REG_SZ
Value:

I-252 Value Name: RegisteredOrganization
Data Type: REG_SZ
Value:

I-253 Problem: You want to have a program run every time Windows NT loads, but you don�t want to put it in the startup folder where people can tinker with it. This registry modification lets you set a program to execute every time Windows NT loads.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\Windows\CurrentVersion\Run

Add the following value under the Run key:

Value Name:
Data Type: REG_SZ
Value:

I-254 If you want the program to run only one time, use this registry entry.

Hive: HKEY_LOCAL_MACHINE
Key: Software\Microsoft\Windows\CurrentVersion\RunOnce

Add the following value under the RunOnce key:

Value Name:
Data Type: REG_SZ
Value: fully qualified path and name of the program you want to run




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

next page
Hosted by www.Geocities.ws

1