How to restrict powershell for all users except for a particular group using GPO

Imthyas 116 Reputation points
2020-12-11T11:11:45.633+00:00

47422-pow4.pngHi All,
I have followed the below and applied a GPO, i can see that GPO is being applied when i check the result in gpresult, but
i am still able to open the Windows Powershell.

https://activedirectorypro.com/disable-powershell-with-group-policy/?unapproved=16419&moderation-hash=ba4bff4efb6af0b3077febec2feb9560#comment-16419

I mean when I check the gpresult for the logged in user, it shows policy applied , but it shows first this one:

Software Restriction Policies/Security Levels
Policy Setting
Default Security Level Unrestricted

Though down it shows the powershell block , i have applied, i think the above one is taking precedence.

47367-pow1.png47309-pow2.png47338-pow3.png

Windows for business | Windows Client for IT Pros | Directory services | Active Directory
Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Client for IT Pros | User experience | Other
0 comments No comments
{count} votes

Answer accepted by question author
  1. Imthyas 116 Reputation points
    2020-12-11T17:42:15.073+00:00

    I got it working , I removed the default file settings which came when I created the Additional rules for Restrictions.

    It is working as expected now.

    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

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