PowerShell Remote – WinRM cannot complete the operation


You may get below error when trying to connect with PowerShell remote.

Enter-PSSession : Connecting to remote server failed with the following error message : WinRM cannot complete the operation. verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer.

Powershell remote | Winrm Error | WinRM cannot complete the operation

You already have firewall exception is in place for WinRM and service startup type is also set to Automatic.


This issue may happen if WinRM service is stopped on remote computer. If this is happening on high number of client computers then re-validate if firewall exceptions are in place and and Windows service type for WinRM is also set to Automatic.


Check the status of WinRM service

Get-Service -ComputerName ComputerName -ServiceName WinRm

Get-Service PowerShell

Start WinRM service on Remote computer using PowerShell

Get-Service -ComputerName ComputerName -ServiceName Winrm | Start-Service

Start WinRM service on remote computer using SC command

You can also use SC (Service Control) command to manage services on local and remote computer.

Open command prompt on your computer and run below command

SC \\ComputerName START WINRM

Related Posts

Subscribe to Techuisitive Newsletter

Be the first to know about our new blog posts. Get our newsletters directly in your inbox and stay up to date about Modern Desktop Management technologies & news.

Scroll to Top