Steps to aid in configuring and troubleshooting a Windows host for remote monitoring via WinRM (Windows Remote Management)
After following KB 4295397 and configuring WinRM using "winrm quickconfig", what additional troubleshooting steps can be followed?
Identifying Common Causes of WinRM Failures
The following conditions can result in a WinRM failure:
Please refer to the latest version of the Foglight Agent Manager user guide for specific details on Configuring Windows Remote Management (WinRM).
Example: yourdomain.com
Example: foglight_svc
Example: foglight_svc
winrm get winrm/config
to display the WinRM configuration for this hostExample:
Service
RootSDDL = O:NSG:BAD:P(A;;GA;;;BA)(A;;GR;;;IU)S:P(AU;FA;GA;;;WD)(AU;SA;GXGW;;;WD)
MaxConcurrentOperations = 4294967295
MaxConcurrentOperationsPerUser = 1500
EnumerationTimeoutms = 240000
MaxConnections = 300
MaxPacketRetrievalTimeSeconds = 120
AllowUnencrypted = false
Auth
Basic = false
Kerberos = true
Negotiate = true
Certificate = false
CredSSP = false
CbtHardeningLevel = Relaxed
winrm quickconfig
or the abbreviated version winrm qc
to configure.
From the WinRM service configuration output:
winrm set winrm/config/service @{AllowUnencrypted="true"}
winrm set winrm/config/service/auth @{Basic="false"}
winrm set winrm/config/service/auth @{Kerberos="true"}
winrm set winrm/config/service/auth @{Negotiate="true"}
winrm set winrm/config/service @{AllowUnencrypted="true"}
winrm set winrm/config/service/auth @{Basic="true"}
winrm set winrm/config/service/auth @{Negotiate="true"}
Notes:
AllowUnencrypted
property must be set to true
when establishing WinRM connections over HTTP; if set to false
additional configurations need to be completed for connections to be established over HTTPS; for more information refer to How to configure WinRM HTTPS using a certificate? (4327838).
WinRM logs activity to an event log on the target machine. This includes both success and failure messages for authentication.
To view application event logs:
To enable additional debug logging information:
If the only information you are interested in is the types of connections that are being established, there is a command-line setting that enables logging the connection types.
Run the Agent Manager with the switch -Dquest.debug.windowsinfo.types
.
Note: This logging occurs every time a connection is established and can be very verbose. It is recommended for debugging purposes only.
For additional debug logging refer to: How to enable Kerberos Debug at the FglAM level (4309953).
© 2025 Quest Software Inc. ALL RIGHTS RESERVED. 이용 약관 개인정보 보호정책 Cookie Preference Center