WinRM
If there are problems with the WinRM application during remote installation, carry out the following steps.
- Start the Windows Remote Administration service.
-
Open the Command promt and execute the following commands:
C:\Users\Administrator>sc query winrm
Output
SERVICE_NAME: winrm TYPE : 20 WIN32_SHARE_PROCESS STATE : 4 RUNNING 11 (STOPPABLE, NOT_PAUSABLE, ACCEPTS_SHUTDOWN) WIN32_EXIT_CODE : 0 (0x0) SERVICE_EXIT_CODE : 0 (0x0) CHECKPOINT : 0x0 WAIT_HINT : 0x0
C:\Users\Administrator>winrm enumerate winrm/config/listener
Output
Listener Address = * Transport = HTTP Port = 5985 Hostname Enabled = true URLPrefix = wsman CertificateThumbprint ListeningOn = 10.0.50.18, 127.0.0.1, ::1, fe80::706e:9fa6:e668:9edd%7
C:\Users\Administrator>winrm quickconfig
Output
- The WinRM service is already running on this computer.
- WinRM is already configured for remote access. WinRM is already set up for remote administration on this computer.
Info
If the server and the PC to be secured are not in a domain, enter the following additional commands: C:\Users\Administrator>winrm set winrm/config/client @{TrustedHosts="Server-A,Server-B"}
C:\Users\Administrator>winrm set winrm/config/service/auth @{Basic="true"}