Configuration

Applies To: Windows Server 2008 R2

You can configure various aspects of the WinRM service. The configuration information is stored in the registry.

Events

Event ID Source Message

10110

Microsoft-Windows-WinRM

The WinRM service cannot validate the client certificate because the revocation status of the certificate or one of the certificates in the certificate chain is either offline or stale.

User Action
Please ensure that the Certificate Revocation List is accessible and up-to-date.

10112

Microsoft-Windows-WinRM

The client certificate exceeded the maximum size allowed by the WinRM service.

User Action
Please use a different client certificate or a different authentication mechanism.

10144

Microsoft-Windows-WinRM

The WinRM service had a failure reading the current configuration and is stopping.

User Action
Use the following command to restore defaults:

winrm invoke Restore winrm/config @{}

Then add any custom configuration settings and restart the service.

Additional Data
The error code is: %1 %%%1

10145

Microsoft-Windows-WinRM

The WinRM service had a failure applying the current configuration and is stopping.

User Action
Check for previous event log messages and restart the service.

10146

Microsoft-Windows-WinRM

The WinRM service had a failure reading the current configuration and is stopping.

User Action
Use the following command to restore defaults:

winrm invoke Restore winrm/config @{}

Then add any custom configuration settings and restart the service.

Additional Data
The error code is: %1 %%%1

10147

Microsoft-Windows-WinRM

The host name pattern "%1" is invalid and it will be ignored. Host name patterns must not be empty and they can contain at most one wildcard ("*"). "*" pattern can be used to indicate all hosts; if this pattern is used, no other pattern can show up in the list. Special string "<local>" can be used to indicate all host names that do not have a '.'

User Action
Correct the host name pattern using the syntax described above.

10151

Microsoft-Windows-WinRM

The WinRM service had a failure (%1) reading configuration during ip address change notification.

Service will continue running with old configuration.

User Action
If immediae changes are required manually restart the service

10152

Microsoft-Windows-WinRM

The WinRM service successfully processed an address change notification.

10154

Microsoft-Windows-WinRM

The WinRM service failed to create the following SPN: %1.

Additional Data
The error received was %2: %%%2.

User Action
The SPN can be created by an administrator using setspn.exe utility.

10156

Microsoft-Windows-WinRM

The WinRM service failed to initialize CredSSP.

Additional Data
The error received was %1.

User Action
Configure CertificateThumbprint setting under the WinRM configuration for the service. Use the thumbprint of a valid certificate and make sure that Network Service has access to the private key of the certificate.

WinRM Service

Management Infrastructure