Windows Remote Management (WS-Management) (WinRM) Service Defaults in Windows 7
Windows Remote Management (WinRM) service implements the WS-Management protocol for remote management. WS-Management is a standard web services protocol used for remote software and hardware management. The WinRM service listens on the network for WS-Management requests and processes them. The WinRM Service needs to be configured with a listener using winrm.cmd command line tool or through Group Policy in order for it to listen over the network. The WinRM service provides access to WMI data and enables event collection. Event collection and subscription to events require that the service is running. WinRM messages use HTTP and HTTPS as transports. The WinRM service does not depend on IIS but is preconfigured to share a port with IIS on the same machine. The WinRM service reserves the /wsman URL prefix. To prevent conflicts with IIS, administrators should ensure that any websites hosted on IIS do not use the /wsman URL prefix.
Default Settings
Startup type: | Manual |
Display name: | Windows Remote Management (WS-Management) |
Service name: | WinRM |
Service type: | share |
Error control: | normal |
Object: | NT AUTHORITY\NetworkService |
Path: | %SystemRoot%\System32\svchost.exe -k NetworkService |
File: | %SystemRoot%\system32\WsmSvc.dll |
Registry key: | HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\WinRM |
Privileges: |
|
Default Behavior
Windows Remote Management (WS-Management) is a Win32 service. In Windows 7 it won't be started if the user doesn't start it. When the Windows Remote Management (WS-Management) service is started, it is running as NT AUTHORITY\NetworkService in a shared process of svchost.exe. Other system components, such as drivers and services, may run in the same process. If Windows Remote Management (WS-Management) 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 WinRM service is not running because of the error.
Dependencies
Windows Remote Management (WS-Management) is unable to start, if at least one of the following services is stopped or disabled:
Restore Default Startup Configuration of Windows Remote Management (WS-Management)
Before you begin doing this, make sure that all the services on which Windows Remote Management (WS-Management) 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 command below, paste it into the command window and press ENTER:
sc config WinRM start= demand
3. Close the command window and restart the computer.
The WinRM service is using the WsmSvc.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.