how to fixThe ws-management service cannot process the request. the service is configured to not accept any remote shell requests.

Dilip K 55 Reputation points
2023-03-14T12:36:54.7633333+00:00

Hello Everyone

we are using server 2022 and unable to add Roles and features in server

when we try to add any roles and features we are getting below Error

The ws-management service cannot process the request. the service is configured to not accept any remote shell requests

Can some help out

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
8,976 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,693 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JimmySalian-2011 42,481 Reputation points
    2023-03-14T13:16:58.4+00:00

    Hey Dilip,

    This is a known issue every admin usually come across when you setup a new server or server in a locked down env, there is a GPO setting you need to set - https://admx.help/?Category=Windows_10_2016&Policy=Microsoft.Policies.WindowsRemoteShell::AllowRemoteShellAccess

    Hope this helps.

    JS

    ==

    Please Accept the answer if the information helped you. This will help us and others in the community as well.

    3 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.