[Solved] Windows 2022 server – The ws-management service cannot process the request. the service is configured to not accept any remote shell requests.

The issue will occur when you try to install IIS in Windows server 2022.

We are trying to run Lucee in the Windows server 2022. In the last step of installation of IIS from the Add roles and features, the installation will stop with the error “The ws-management service cannot process the request. the service is configured to not accept any remote shell requests. “

To fix this issue, go to Local Computer Policy > Computer Configuration > Administrative Templates > Windows Components > Windows Remote Shell > Allow Remote Shell Access.

Local Computer Policy

Computer Configuration

Administrative Templates > Windows Components > Windows Remote Shell

Allow Remote Shell Access – Change to enabled.

Once you are done with the disabling of this Group Policy Object, don’t forget to run the command in administrator mode: gpupdate /force.

To make sure everything works fine, it is better to restart the computer.

After the restart you will be able to install the IIS.

Remember to disable this setting after the required tasks are completed.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.