How can I reinstall the WinRM service on WS2012?

1

Whatever winrm command I issue I get,

The client cannot connect to the destination specified in the request ... Error number: -2144108526 0x80338012

I checked all the usual suspects. The service is running. All updates have been applied.

I would like to uninstall the WinRM service and reinstall but I can't find WinRM listed as a "Windows Feature". Is there a way to reset/reinstall this function?

This is a newly installed Standard Windows 2012 server. It was upgraded from Windows 2008 RS Web Server.

windows-server-2012
winrm
asked on Server Fault Jun 11, 2013 by Darrel Miller

3 Answers

2

Check your http.sys: netsh http show iplist to confirm that you are listening on the loopback address. if not, add 127.0.0.1 to the list of listeners.

answered on Server Fault Jun 11, 2013 by colealtdelete
0

In my case it was due to an old IP in the iplist. You can remove IP addresses with the following command:

netsh http delete iplisten 10.0.0.0

answered on Server Fault Oct 21, 2015 by Bas Roovers • edited Oct 21, 2015 by Konrad Gajewski
-2

In my case it happened when I promoted stand alone server to DC. It was some strange issue with Network Service account that WinRM service are using. I set the service to use local account (which seems quite stupid for domain controller) and have got an error, then I set again to use network service. Then started the service, ran WinRM quickconfig and it works.

answered on Server Fault Aug 5, 2016 by user369014

User contributions licensed under CC BY-SA 3.0