You can have both DisallowRun and RestrictRun existing at the same time, but don’t enable them at the same time as this may cause conflicts. The process is exactly the same for blocking programs, except each time you use the term “DisallowRun” (as a DWORD in the Explorer folder and as a sub-key/subfolder in the Explorer folder), use the term “RestrictRun” instead. The obverse option to what we outlined above is to only allow certain applications to be opened on the account or, put another way, to block everything apart from the applications that you specify.
When you try to open one of these applications, you should be greeted with the following message.Īlso read: How to Find a Lost Recycle Bin in Windows 10 How to Allow Only Specific Applications To add more applications to the block list, repeat all the same steps under this heading, but name each new string value you create with the next number in line, such as 2, then 3, then 4 and so on. Once you’ve created your key, reboot your PC (optional), and the block should be in place. We’ll be blocking Steam because there’s nothing more distracting from work than knowing you have a 200-game backlog to get through. Next, double-click your newly created string, and in the “Value data” box enter the name of the executable file for the program you want to block.