title: WinRM not returning client information - quickconfig not working
body: <p>I am trying to change settings on WinRM however I keep getting an error.</p>
  
  <p>I have read many articles across the web about it but I cannot get any of the suggested fixes to work</p>
  
  <p>When I try to get the winRM quickconfig, which is the common suggested fix, to work I get this:</p>
  
  <pre><code>PS C:\Windows\system32&gt; winrm qc
  WinRM service is already running on this machine.
  WSManFault
      Message = The client cannot connect to the destination specified in the request. Verify that the service on the dest
  ination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running o
  n the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the
   destination to analyze and configure the WinRM service: "winrm quickconfig".
  
  Error number:  -2144108526 0x80338012
  The client cannot connect to the destination specified in the request. Verify that the service on the destination is run
  ning and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destinat
  ion, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination t
  o analyze and configure the WinRM service: "winrm quickconfig".
  </code></pre>
  
  <p>The service is running and the firewall rules are all set correctly.</p>
  
  <p>I get the same error regardless of what I'm trying to achieve.</p>
  
  <p>E.G.</p>
  
  <pre><code>PS C:\Windows\system32&gt; winrm get winrm/config
  WSManFault
      Message = The client cannot connect to the destination specified in the request. Verify that the service on the dest
  ination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running o
  n the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the
   destination to analyze and configure the WinRM service: "winrm quickconfig".
  
  Error number:  -2144108526 0x80338012
  The client cannot connect to the destination specified in the request. Verify that the service on the destination is run
  ning and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destinat
  ion, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination t
  o analyze and configure the WinRM service: "winrm quickconfig".
  
  PS C:\Windows\system32&gt; winrm enumerate winrm/config/listener
  WSManFault
      Message = The client cannot connect to the destination specified in the request. Verify that the service on the dest
  ination is running and is accepting requests. Consult the logs and documentation for the WS-Management service running o
  n the destination, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the
   destination to analyze and configure the WinRM service: "winrm quickconfig".
  
  Error number:  -2144108526 0x80338012
  The client cannot connect to the destination specified in the request. Verify that the service on the destination is run
  ning and is accepting requests. Consult the logs and documentation for the WS-Management service running on the destinat
  ion, most commonly IIS or WinRM. If the destination is the WinRM service, run the following command on the destination t
  o analyze and configure the WinRM service: "winrm quickconfig".
  </code></pre>
  
  <p>I have tried stopping and restarting the Windows Remote Management service in the local Services.
  Also tried changing the settings in the Group Policy on the machine. All to no avail.
  Checked the expanded analysis logs in the event viewer, no further clues there, it just shows the error above.</p>
  
  <p>Is there anyway to uninstall and reinstall ? I cannot find any info on that, online to configure.  I don't seem to be able to get back to the initial setup like this (example from another machine)</p>
  
  <pre><code>PS P:\&gt; winrm qc
  WinRM is not set up to receive requests on this machine.
  The following changes must be made:
  
  Start the WinRM service.
  Set the WinRM service type to delayed auto start.
  
  Make these changes [y/n]? n
  </code></pre>
  
  <p>I am current using :
  Windows 2008 R2 SP1
  Powershell 5.1
  TFS 2017 is also installed on the server.</p>
  
  <p>Any ideas ?</p>