Wisc "service is configured to not accept any remote shell requests" error

  • KM03465689
  • 20-Jun-2019
  • 20-Jun-2019

Summary

Seeing error : "The WS-Management service cannot process the request. The service is configured to not accept any remote shell requests." in agent.log

Error

When using an agent that uses PowerShell remoting you see the following error

"The WS-Management service cannot process the request. The service is configured to not accept any remote shell requests."

Cause

The Allow Remote Shell Access group policy setting has been disabled.

Fix

 

Review and configure the following setting

Get-Item WSMan:\localhost\Shell\AllowRemoteShellAccess

 

The setting can be located in the following group policy path

Computer Configuration > Administrative Templates > Windows Components > Windows Remote Shell > Allow Remote Shell Access

 

 image text