This article explains how to configure and tune the Server service.
Although the Server service is self-tuning, you can also configure the Server service manually from Control Panel. Normally, the server configuration parameters are auto-configured (calculated and set) each time that you start Windows. However, if you run the net config server
command in conjunctionwith the /autodisconnect
, or /hidden
switches, the current values for the automatically tuned parameters are displayed and written to the registry.
If you add or remove system memory, or change the server size setting(minimize, balance, or maximize), Windows does not automatically tune theServer service for your new configuration. For example, if you run the netconfig srv /srvcomment
command, and then add more memory to the computer, Windows does not increase the calculated value of automatically tuned entries.
Typing net config server
at the command prompt without additional parameters leaves automatic tuning intact while displaying useful configuration information about the server.
Restore the LAN Manager Server Parameters to Their Defaults
To restore the LAN Manager Server parameters to their defaults, or toreconfigure Windows so that it automatically configures the Server service, follow these steps.Important
This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
How to back up and restore the registry in Windows
- Click Start, and then click Run.
- In the Open box, type regedit, and then click OK.
- Expand the following registry subkey:
- On the File menu, click Export.
- In the File name box, type lanmanserver backup, and then click Save.
- In the right pane of the Registry Editor window, delete all entries except for the following:
EnableSharedNetDrivesNOTE: You may have other entries here that are statically coded. Do not remove these entries.
- To delete an item, right-click it, and then click Delete on the shortcut menu that appears. Click Yes when prompted to confirm the deletion.
- Quit Registry Editor, and then restart Windows.
Use Information Levels
The Server service supports information levels that let you set eachparameter individually. For example, the net config srv /hidden
command uses information level 1016 to set just the hidden parameter. However, Net.exe queries and sets information levels 102 (hidden, comment, users, and disc parameters) and 502. As a result, all parameters in theinformation level get permanently set in the Registry. Srvmgr.exe and theControl Panel Server query and set only level 102 (not level 502) when youchange the server comment.
Hide Windows-based Computers or Change the Autodisconnect Value
If you want to hide Windows-based computers from the browse list or change the autodisconnect value, make those specific changes with Regedt32.exe instead of the command-line equivalents discussed earlier in this article. You must be an administrator to make these changes. To edit the server comment, use the description field of the Server tool in ControlPanel, or use Server Manager.
For additional information about the Server service, click the article number below to view the article in the Microsoft Knowledge Base:
REG: Server Service Entries, PART 1
REG: Server Service Entries, PART 2