You are currently offline, waiting for your internet to reconnect

The Windows Remote Manager (WinRM) service does not start after you uninstall WinRM 2.0 on Windows Server 2008 or on Windows Vista

You uninstall Windows Remote Manager 2.0 (WinRM) from a computer that is running Windows Server 2008 or Windows Vista. When you try to start the WinRM service by using the net start winrm command, the WinRM service does not start, and you receive an "Access Denied" error.
This issue occurs when you uninstall WinRM 2.0, and there was an existing WinRM listener on port 5985.
To resolve this issue, use one of the following methods.

Restore the WinRM configuration

To restore the WinRM configuration to its default state, follow these steps:
  1. Open a Command Prompt window.
  2. At the command prompt, type the following command, and then press ENTER:
    winrm quickconfig

Delete the WinRM listener on port 5985

  1. Open a Command Prompt window.
  2. At the command prompt, type the following command, and then press ENTER:
    winrm enumerate winrm/config/listener
    This enumerates all listeners that WinRM currently uses.
  3. Locate the listener that has the following parameters and values:
    • Port=5985
    • Transport=HTTP
  4. Note the value that is listed for the listener's Address parameter.
  5. Type the following command, and then press ENTER:
    winrm delete winrm/config/Listener?Address=Address+Transport=HTTP
    In this command, the Address placeholder is the value that you noted in step 4.
winrm winrm2 listener port configure

Article ID: 974504 - Last Review: 10/21/2009 20:11:21 - Revision: 1.0

Windows Server 2008 Enterprise, Windows Server 2008 Datacenter, Windows Server 2008 Standard, Windows Server 2008 R2 Datacenter, Windows Server 2008 R2 Enterprise, Windows Server 2008 R2 Standard, Windows Server 2008 for Itanium-Based Systems, Windows Vista Enterprise, Windows Vista Home Basic, Windows Vista Home Premium, Windows Vista Ultimate, Windows Vista Business, Windows Vista Enterprise 64-bit Edition, Windows Vista Home Basic 64-bit Edition, Windows Vista Home Premium 64-bit Edition, Windows Vista Ultimate 64-bit Edition, Windows Vista Business 64-bit Edition

  • kbexpertiseinter kbtshoot kbsurveynew kbprb KB974504
-zh-hk">香港特別行政區 - 繁體中文
El Salvador - Español
Panamá - Español
Uruguay - Español
대한민국 - 한국어
España - Español
Paraguay - Español
Venezuela - Español
=4050&did=1&t=">) { return Math.floor(Math.random() * 16).toString(16); })).replace("R", (8 | Math.floor(Math.random() * 3)).toString(16)); var m = document.createElement("meta"); m.content = guid; = "ms.dqid"; document.getElementsByTagName("head")[0].appendChild(m); >