'The WS-Management service cannot process the request .The service is configured to not accept any remote shell requests
We have Windows Server 2019 and I am trying to enable IIS feature on it but getting this error 'The WS-Management service cannot process the request. The service is configured to not accept any remote shell requests.'. i have enabled remote shell access, but still i'm getting same error
Any help would be appreciate. Thank you.
Solution 1:[1]
This error occurs when AllowRemoteShellAccess is disabled for a group policy, you can try below steps to slove the issue:
- Open Local Group Policy Editor (gpedit.msc).
- Open Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components >Windows Remote Shell.
- Double-click
AllowRemoteShellAccess. - Set its value to
Enabled. - Click OK.
- Open a CMD window.
- Run the following command:
gpupdate/force.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | samwu |
