Server Service Configuration and Tuning

Article translations Article translations
Article ID: 314498 - View products that this article applies to.
This article was previously published under Q314498
For a Microsoft Windows 2000 version of this article, see 128167.
Expand all | Collapse all

On This Page

SUMMARY

This article explains how to configure and tune the Server service.

MORE INFORMATION

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 conjunction with the /autodisconnect, /srvcomment, 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 the Server service for your new configuration. For example, if you run the net config 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 to reconfigure 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:
322756 How to back up and restore the registry in Windows

  1. Click Start, and then click Run.
  2. In the Open box, type regedit, and then click OK.
  3. Expand the following registry subkey:
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\lanmanserver\parameters
  4. On the File menu, click Export.
  5. In the File name box, type lanmanserver backup, and then click Save.
  6. In the right pane of the Registry Editor window, delete all entries except for the following:
    EnableSharedNetDrives
    Lmannounce
    NullSessionPipes
    NullSessionShares
    Size
    NOTE: You may have other entries here that are statically coded. Do not remove these entries.
  7. 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.
  8. Quit Registry Editor, and then restart Windows.

Use Information Levels

The Server service supports information levels that let you set each parameter 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 the information level get permanently set in the Registry. Srvmgr.exe and the Control Panel Server query and set only level 102 (not level 502) when you change 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 Control Panel, 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:
102967 REG: Server Service Entries, PART 1
102969 REG: Server Service Entries, PART 2

Properties

Article ID: 314498 - Last Review: December 1, 2007 - Revision: 1.4
APPLIES TO
  • Microsoft Windows XP Professional
  • Microsoft Windows XP Professional x64 Edition
  • Microsoft Windows XP Home Edition
Keywords: 
kbinfo KB314498

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com