Set-WSManQuickConfig : Cannot complete the request due to a conflicting Group Policy setting.

Jack Ring 20 Reputation points
2024-04-16T14:20:56.37+00:00

Getting this error when trying to run Enable-PSRemoting -Force.

Set-WSManQuickConfig : Cannot complete the request due to a conflicting Group Policy setting. Modify the GP setting

"Allow remote server management through WinRM" to either "Not Configured" or "Enabled".

I have tried everything that is on suggestions but no help.

Windows for business | Windows Server | User experience | PowerShell
{count} votes

1 answer

Sort by: Most helpful
  1. Anonymous
    2024-04-17T01:13:00.43+00:00

    Hi Jack Ring,

    I think the error message is self-explanatory. The domain administrator has already blocked WinRM through a group policy. Are you trying to bypass the group policy setting on a domain computer? There's no way to achieve that so you have to contact your domain administrator.

    Best Regards,

    Ian Xue


    If the Answer is helpful, please click "Accept Answer" and upvote it.


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.