Server (LanmanServer) Service Defaults in Windows 7

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
  • SeChangeNotifyPrivilege
  • SeImpersonatePrivilege
  • SeAuditPrivilege
  • SeLoadDriverPrivilege

Default Behavior

Server is a Win32 service. In Windows 7 it is starting automatically on the operating system startup. Then the Server service is running as LocalSystem in a shared process of svchost.exe. Other system components, such as drivers and services, may run in the same process. If Server fails to start, Windows 7 attempts to write the failure details into Event Log. Then Windows 7 startup should proceed and the user should be notified that the LanmanServer service is not running because of the error.


Server is unable to start, if at least one of the following services is stopped or disabled:

If Server is stopped, the following services cannot start:

Restore Default Startup Configuration of Server

Before you begin doing this, make sure that all the services on which Server depends are configured by default and function properly. See the list of dependencies above.

1. Run the Command Prompt as an administrator.

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 7 installation media.