Block exe via GPO Regedit registry

All about GPO- Group Policy Management
Post Reply
admin
Site Admin
Posts: 12
Joined: 21 Feb 2016 14:15

Block exe via GPO Regedit registry

Post by admin » 24 May 2018 16:05

Hold down the Windows Key and press “R” to bring up the Run dialog box.
Type “regedit“, then press “Enter“. The Registry Editor appears.
Expand the following:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Explorer

Right-click a blank area on the right side and add a new “DWORD (32-bit) Value” named “DisallowRun“.
Open “DisallowRun” and give it a Value of “1“.
Right-click and add a new “Key“, also named “DisallowRun“. The folder is then created.
Select the “DisallowRun” folder on the left pane.
Right-click a blank area on the right side and add a new “DWORD (32-bit) Value” named “1“.
Open “1” and give it a Value with the application you would like to block, like “anydesk.exe“.
Repeat steps 8 and 9 with any additional applications you wish to block, only increase the number used in the “DWORD (32-bit) Value” each time (2, 3, 4 ,5, etc)



Post Reply