troubleshooting Question

How to fully Enable Remote PS on a server OS

Avatar of jmachado81
jmachado81 asked on
Operating SystemsPowershell
5 Comments1 Solution8 ViewsLast Modified:

I have enabled Remote PS but each time i reboot my system it says this error.


The WinRM service is not listening for WS-Management requests.

 User Action
 If you did not intentionally stop the service, use the following command to see the WinRM configuration:

 winrm enumerate winrm/config/listener


#Enable Remote PS Access
Enable-PSRemoting –force

Here is my config:

PS C:\Users\Administrator> winrm e winrm/config/listener
Listener     Address = *     Transport = HTTP     Port = 5985     Hostname     Enabled = true     URLPrefix = wsman     CertificateThumbprint     ListeningOn = 127.0.0.1, 172.23.20.23, ::1 PS C:\Users\Administrator> winrm get winrm/config Config     MaxEnvelopeSizekb = 500     MaxTimeoutms = 60000     MaxBatchItems = 32000     MaxProviderRequests = 4294967295     Client         NetworkDelayms = 5000         URLPrefix = wsman         AllowUnencrypted = false         Auth             Basic = true             Digest = true             Kerberos = true             Negotiate = true             Certificate = true             CredSSP = false         DefaultPorts             HTTP = 5985             HTTPS = 5986         TrustedHosts = *.domain.com     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         DefaultPorts             HTTP = 5985             HTTPS = 5986         IPv4Filter = *         IPv6Filter = *         EnableCompatibilityHttpListener = false         EnableCompatibilityHttpsListener = false         CertificateThumbprint         AllowRemoteAccess = true     Winrs         AllowRemoteShellAccess = true         IdleTimeout = 7200000         MaxConcurrentUsers = 2147483647         MaxShellRunTime = 2147483647         MaxProcessesPerShell = 2147483647         MaxMemoryPerShellMB = 2147483647         MaxShellsPerUser = 2147483647 PS C:\Users\Administrator>

What powershell command do i need to execute to clear this error?

ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros