Page Nav

HIDE

Grid

GRID_STYLE

How to Block specific applications in Active Directory

Introduction Useful as a quick temporary fix for blocking applications that Active Directory users abuse daily. Handy if you want to ...

Image result for How to Block specific applications in Active Directory

Introduction

Useful as a quick temporary fix for blocking applications that Active Directory users abuse daily. Handy if you want to have a quick fix for blocking users from the Internet, or more accurately their browsers. I had to do this when our WatchGuard was down.

Steps (8 total)

1

Add a group Policy

Under Administrative Tools, open Group Policy Management and expand Group Policy Objects.
2

Create New Policy

Right Click on Group Policy Objects and select new, name the new policy accordingly.
3

Editing the Policy

Right click on your new policy and edit. here under User Configuration expand Policies > Windows Settings >Security Settings>Software Restriction Policies
4

Adding a restriction Policy

Right Click Software Restriction Policies and select New Software Restriction Policy.
5

Creating Rules

Right Click on Additional Rules and select new Path Rule. ( the easiest way to do this)
6

Adding the paths

Now all we need to do is specify the path of the .exe that we wish to block. im going to use internet explorer for this. so in the path im going to put C:\Program Files\Internet Explorer\iexplore.exe and C:\Program Files (x86)\Internet Explorer\iexplorer.exe
I had to add two paths since internet explorer exists under x86 as well
Notice under security level we have three options
- Disallowed blocks all software defined
- Basic user lets the software run but without any administrator access
-Unrestricted allows the software to run
we will be using Disallowed
7

Applying GPO to Users

Now that we have configured the GPO to block internet explorer we can go on to applying it to the users.
I have my users assigned to different organizational units, so we just need to right click on the OU we want to test this on and select " Link an existing gpo" from here a prompt will appear where you can select the gpo we created.
8

Final Step

now we just need to update the group policy.
to do this we open cmd and run a gpupdate or a gpupdate/force.
when this is done we just let a user from the OU relog into their account and try to open internet explorer.
if i didnt leave anything out then it should work like a charm.

Conclusion

I should point out that this is to block applications for users, if users require strict access then there is another method similar to this to allow applications instead of blocking them. For example using the other method we can give them access to only MS Word by only adding word.exe or whatever its called to the list of applications we would allow.
Please fell free to update me on anything ive missed or mistakes ive made..or if there is a better way to do it,..idk :)

No comments