General System Registry Secrets
Table of contents
I-297 To keep your server from showing up in the Network Neighborhood listings, change this registry entry.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\LanmanServer\ Parameters |
| Value Name: |
Hidden |
| Data Type: |
REG_BINARY |
| Value: |
1
|
The default is 0. Restart the computer for this change to take effect.
I-298 You must also have the following registry entry set to 1 for the Hidden and Srvcomment value to be active.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\LanmanServer\ Parameters |
| Value Name: |
Lmannounce |
| Data Type: |
REG_DWORD |
| Value: |
1
|
The default is 0. Restart the computer for this change to take effect.
I-299 Are some of your Word for Windows clients that are running IPX having problems connecting to your Windows NT server? Try adding this registry parameter.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\LanmanServer\ Parameters |
| Value Name: |
EnableWFW311DirectIpx |
| Data Type: |
REG_DWORD |
| Value: |
True
|
The default value is False. Restart the computer for this change to take effect.
I-300 If you have older clients running direct-hosted IPX, you may want to add this registry value. It governs how long a client can be idle before it is disconnected, even if it has open files or pipes.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\LanmanServer\ Parameters |
| Value Name: |
ConnectionlessAutoDisc |
| Data Type: |
REG_DWORD |
| Value: |
15
|
Valid entries, in minutes, are 15 to infinity; the default value is 15. Restart the computer for this change to take effect.
I-301 Do you want the server to let you know when the total percentage of network errors is greater than a certain value? This registry entry lets you specify a threshold and force the server to send an alert message that the threshold is exceeded.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\LanmanServer\ Parameters |
| Value Name: |
NetworkErrorThreshold |
| Data Type: |
REG_DWORD |
| Value: |
5
|
Valid entries are 1 to 100 percent. The default value is 5. Restart machine for this value to take effect.
I-302 Do you want to change the default string that users see when they are prompted to log on to your server? Try this registry entry.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
Software\Microsoft\Windows NT\CurrentVersion\Winlogon |
| Value Name: |
LogonPrompt |
| Data Type: |
REG_SZ |
| Value: |
Enter a user name and password that is valid for this system.
|
The message shown is the default. Replace it with anything you like; you have up to 256 characters.
I-303 Do you want to change how far in advance your users are warned that their passwords will expire? This registry entry controls the number of days before expiration that Windows NT warns your users.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
Software\Microsoft\Windows NT\CurrentVersion\Winlogon |
| Value Name: |
PasswordExpiryWarning |
| Data Type: |
REG_DWORD |
| Value: |
14
|
I-304 Are your users experiencing slow response time when performing routine file activities? This parameter lets you allocate more resources by specifying the maximum number of active searches that can run concurrently on your server.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\LanmanServer\ Parameters |
| Value Name: |
MaxGlobalOpenSearch |
| Data Type: |
REG_DWORD |
| Value: |
4096
|
Valid values are 1 to infinity. A higher value allows more searches on the server to be active at one time and also uses more resources. A lower value saves resources but can cause clients to experience poor performance.
I-305 Have you ever wanted to set the threshold that triggers the administrative alert for disk space? This registry entry lets you set the value from 0 to 99 percent of remaining free disk space.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\LanmanServer\ Parameters |
| Value Name: |
DiskSpaceThreshold |
| Data Type: |
REG_DWORD |
| Value: |
10
|
Values can range from 0 - 99; the default is 10. Restart your system for these values to take effect.
Mailslots
Mailslot controls are part of tweaking your General Networking values.
| I-306 |
Hive: |
HKEY_LOCAL_MACHINE |
| � |
Key: |
System\CurrentControlSet\Services\Netlogon\Parameters
|
Add the MaximumMailslotMessages value.
| Value Name: |
MaximumMailslotMessages |
| Data Type: |
REG_DWORD |
| Value: |
500
|
This value governs how much space Netlogon sets aside to buffer incoming Mailslot messages. Under normal circumstances, Mailslot messages are serviced as they arrive; however, if you have a particularly busy network, these messages can back up. Each Mailslot message takes up roughly 1500 bytes of nonpaged pool memory until it is removed from the buffer. Altering this value gives you additional control over how much nonpaged pool memory is used.
| I-307 |
Hive: |
HKEY_LOCAL_MACHINE |
| � |
Key: |
System\CurrentControlSet\Services\Netlogon\Parameters
|
Add the MaximumMailslotTimeout value.
| Value Name: |
MaximumMailslotTimeout |
| Data Type: |
REG_DWORD |
| Value: |
10
|
This value determines how long, in seconds, a Mailslot message is valid. If Netlogon processes a message that is older than the value set in MaximumMailslotTimeout, it simply discards it. Ideally, Windows NT services incoming Mailslot requests in subsecond time; however, if your system is overloaded or the network congested, you may need to increase this value.
I-308 This number dictates how long NetLogon ignores duplicate Mailslot messages. Netlogon compares previous Mailslot messages with current Mailslot messages. If Netlogon receives the same message as one it has already received in the number of seconds specified by MailslotDuplicateTimeout, it discards the second message.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\Netlogon\Parameters
|
Add the MailslotDuplicateTimeout value.
| Value Name: |
MailslotDuplicateTimeout |
| Data Type: |
REG_DWORD |
| Value: |
2
|
TCP/IP
I-309 Problem: when you try to connect to Web servers or FTP sites, you often time out or must retry many times before you finally connect. The problem may be that your time to live (TTL) is too small. TTL is a TCP/IP parameter that controls how many �hops� or routers your packet can go through before it is discarded by the network. Every time the packet goes through a router, its value is decremented by 1. When the value reaches zero, the packet is discarded. With the proliferation of servers and routers on the network, a value that was once a reasonable TTL is now not practical. To modify the TTL, change this entry.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\Tcpip\Parameters
|
Add the following value under the Parameters key:
| Value Name: |
DefaultTTL |
| Data Type: |
REG_DWORD |
| Value: |
255
|
Restart your machine for these new values to take effect.
I-310 Sometimes it isn�t possible to check all the static routes of a remote machine. You can, however, see which persistent routes a particular system has set up. Use the following registry key and its associated values to see these routes.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\Tcpip\Parameters\ PersistentRoutes
|
Add the following value
| Value Name: |
204.56.55.100,255.255.255.255,127.0.0.1,1 |
| Data Type: |
REG_SZ |
| Value: |
|
The value name is the actual route. The format is destination address,subnet mask,source address,metric. You must then make it a REG_SZ entry with a blank value. If you add or delete entries here, you must exit Regedt32.exe for them to take effect on the remote machine.
I-311 TCP/IP on Windows NT uses a lot of different files for its information. These files are located in the following registry key.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\Tcpip\Parameters |
| Value Name: |
DatabasePath |
| Data Type: |
REG_EXPAND_SZ |
| Value: |
%SystemRoot%\system32\drivers\etc
|
The actual files stored there are Hosts, Lmhosts, Networks, Protocols, and Services. By altering the directory where these files point, it is possible to have a central location or to have several different working sets of these files.
I-312 If you have trouble with PPTP connections timing out on particularly slow connections, try increasing the following registry parameter:
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\Tcpip\Parameters |
| Value Name: |
PPTPTcpMaxDataRetransmissions |
| Data Type: |
REG_DWORD |
| Value: |
9
|
Increasing the default value gives PPTP packets a better chance of getting through on heavily congested networks or particularly slow links. Restart your machine for this value to take effect.
I-313 If you have a mixed network and need your broadcast packets to be the 0-style broadcasts packets (that is, 0.0.0.0 instead of the default 1-style, or 255.255.255.255), change this registry value:
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\Tcpip\Parameters |
| Value Name: |
UseZeroBroadcast |
| Data Type: |
REG_DWORD |
| Value: |
1
|
I-314 If you have intermittent problems with your gateways (and who doesn�t?), you probably have already established a set of alternate gateways. Use this registry entry to have Windows NT automatically switch to the backup gateway if the current gateway is not responding.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\Tcpip\Parameters |
| Value Name: |
EnableDeadGWDetect |
| Data Type: |
REG_DWORD |
| Value: |
1
|
The default value is 1, which enables the feature. Setting this value to 0 disables the detection. Restart your machine for this value to take effect.
I-315 By default, Windows NT tries to discover the maximum transmission unit (MTU) over a given path to a remote host. By finding the largest packet size it can send, Windows NT maintains a good throughput. Setting this value to 0 causes the MTU to be set to 576 bytes for all connections other than hosts or local subnet destinations.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\Tcpip\Parameters |
| Value Name: |
EnablePMTUDiscovery |
| Data Type: |
REG_DWORD |
| Value: |
1
|
Restart your machine for these values to take effect.
I-316 If you use a RAS connection to route IP packets and are suffering from poor network performance, these registry entries can help you squeeze a little more performance out of your connection.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\\ Parameters\Tcpip |
| Value Name: |
MaxForwardPending |
| Data Type: |
REG_DWORD |
| Value: |
20
|
The MaxForwardPending value governs how many packets Windows NT forwards to a particular network interface at a given time. If you have a slow connection, changing this value really helps performance. The default value is 20. Restart the machine for any changes to take effect.
I-317 If your Windows NT machine seems to be suffering from lost IP packet syndrome, these registry entries can help you tweak your system for maximum throughput.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\Tcpip\Parameters |
| Value Name: |
ForwardBufferMemory |
| Data Type: |
REG_DWORD |
| Value: |
7420
|
The ForwardBufferMemory value controls how much memory Windows NT sets aside to store packet data in the packet data queue. Each packet buffer is 256 bytes, so the ForwardBufferMemory value should be a multiple of 256. When the packet data queue is full, Windows NT randomly discards packets.
| I-318 |
Hive: |
HKEY_LOCAL_MACHINE |
| � |
Key: |
System\CurrentControlSet\Services\\ Parameters\Tcpip |
| � |
Value Name: |
MaxForwardBufferMemory |
| � |
Data Type: |
REG_DWORD |
| � |
Value: |
0xFFFFFFFF
|
The MaxForwardBufferMemory value governs the total amount of memory Windows NT sets aside to store packet data in the router packet queue. This value must be greater than or equal to the ForwardBufferMemory value. If you don�t have IP routing enabled, this registry value is ignored.
| I-319 |
Hive: |
HKEY_LOCAL_MACHINE |
| � |
Key: |
System\CurrentControlSet\Services\\ Parameters\Tcpip |
| � |
Value Name: |
NumForwardPackets |
| � |
Data Type: |
REG_DWORD |
| � |
Value: |
50
|
This value governs the number of IP packet headers that can be stored in the router packet queue. This value should be at least as large as the ForwardBufferMemory divided by 256.
| I-320 |
Hive: |
HKEY_LOCAL_MACHINE |
| � |
Key: |
System\CurrentControlSet\Services\\ Parameters\Tcpip |
| � |
Value Name: |
MaxNumForwardPackets |
| � |
Data Type: |
REG_DWORD |
| � |
Value: |
0xFFFFFFFF
|
This value sets the total number of IP packet headers that can be stored in the router packet queue at a given time. This value needs to be at least as big as NumForwardPackets, if not larger. Restart your machine for any changes to take effect.
I-321 If you need to control the level at which your Windows NT machine supports the Internet Group Management Protocol (IGMP), then this registry entry is for you.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\Tcpip\Parameters |
| Value Name: |
IGMPLevel |
| Data Type: |
REG_DWORD |
| Value: |
2
|
A value of 0 prohibits all multicast support. A value of 1 lets the system send IP multicast packets. The default value of 2 lets the Windows NT machine send and fully participate in receiving IP multicast packets. Restart your machine for any changes to take effect.
I-322 If your aborted sessions aren�t properly cleaned up or if your idle but live sessions are dropped inadvertently, you may need to adjust these two registry parameters.
| Hive: |
HKEY_LOCAL_MACHINE |
| Key: |
System\CurrentControlSet\Services\Tcpip\Parameters |
| Value Name: |
KeepAliveTime |
| Data Type: |
REG_DWORD |
| Value: |
7,200,000
|
| I-323 |
Hive: |
HKEY_LOCAL_MACHINE |
| � |
Key: |
System\CurrentControlSet\Services\Tcpip\Parameters |
| � |
Value Name: |
KeepAliveInterval |
| � |
Data Type: |
REG_DWORD |
| � |
Value: |
1000
|
Both values are in milliseconds. The default value for KeepAliveTime is 7,200,000, or 2 hours, and the default for KeepAliveInterval is 1000, or 1 second. KeepAliveTime governs how often Windows NT sends a keep alive packet. A specific application can request that keep-alive packets be sent. If the target system is able, it responds with an acknowledgment. The KeepAliveInterval works with the KeepAliveTime and governs how often keep-alive packets are sent until an acknowledgment is received. If the target machine doesn�t respond and the number of retries exceeds the value of TCPMaxDataRetransmissions, the connection is terminated. Restart your machine for any changes to take effect.
|
Page:
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11 |
next page
|
|