Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
803 views
in Technique[技术] by (71.8m points)

iis - 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 searched google a lot and followed the steps and enabled AllowRemoteShellAccess to true, but still getting the same error.

I am not sure is there any other step that needs to be done before that since I do not have a server side background.

Any help would be appreciate. Thank you.

question from:https://stackoverflow.com/questions/65896317/the-ws-management-service-cannot-process-the-request-the-service-is-configured

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

CIS Bench marks are more advanced and secure set of instructions to tighten the security of Microsoft Windows Infrastructure. These Bench marks provide instructions to secure every aspect of operating systems (Windows Linux) as well as leading web servers. If you follow these CIS bench marks particularly for Windows Server 2016 or 2019 you might be blocking many items required for the administrator to perform routine jobs.

enter image description here

There is a group policy object which needs to be amended to resolve this issue. The setting can be located in the following group policy path to resolve the issue of “The ws-management service cannot process the request”: Computer Configuration > Administrative Templates > Windows Components > Windows Remote Shell > Allow Remote Shell Access. Once you are done with the disabling of this Group Policy Object, don’t forget to run the command gpupdate /force.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...