Server (LanmanServer) Service Defaults in Windows XP

Supports file, print, and named-pipe sharing over the network for your computer. If this service is stopped, these functions will be unavailable. If this service is disabled, any services that explicitly depend on it will fail to start.

Default Settings

Startup type: Automatic
Display name:Server
Service name:LanmanServer
Service type:share
Error control:normal
Path:%SystemRoot%\system32\svchost.exe -k netsvcs
Registry key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer

Default Behavior

Server is a Win32 service. In Windows XP it is starting automatically along with the operating system. Then the Server service is running as LocalSystem in a shared process of svchost.exe. Other services and drivers are allowed to run in the same process. If the Server fails to start, the technical information about the error is added to the Event Log. Windows XP startup should proceed, but a message box should be displayed informing the user that the LanmanServer service has failed to start.


The Computer Browser depends on the Server service.

Restore Default Startup Configuration of Server

1. Run the Command Prompt.

2. Copy the commands below, paste them into the command window and press ENTER:

sc config LanmanServer start= auto
sc start LanmanServer

3. Close the command window and restart the computer.

The LanmanServer service is using the srvsvc.dll file that is located in the C:\Windows\System32 directory. If the file is removed or corrupted, read this article to restore its original version from Windows XP installation media.