Blocking An Application

The registry can be modified easily to make way for a lot of tweaking. Blocking access to an application is one of those great things. No, as usual, I’m not going to use any third-part app (as they can be dangerous). Lets do some registry hacking by ourselves!!

1] Click Start –> Run… or hit WinKey+R on your keyboard to open the Run… dialog box.



2] Navigate to HKEY_CURRENT_USER/Software






3] Right-click on any empty space in the right pane, and go to New –> DWORD Value.


4] Name the newly created DWORD Value as disallowrun. Press Enter to confirm the renaming.


5] Double-click disallowrun (which you just created) and make sure the Value data is 1 and the Base is Hexadecimal. Click OK when you’re done.


6] Again, right-click on any empty space in the right-pane, and select New –> String Value


7] Name the new String Value anything. I named it notepad, as I want to block the Notepad application. Hit Enter after renaming the file.


8] Double-click the String Value which you just created, and enter the exe name of the file you want to block. It is notepad.exe in this case. To find out the exe name, open Task Manager (by typing taskmgr in Run), and identify the exe name of the application you’re running. Type it into the Value data and click OK.


9] Close the Registry Editor, and restart your computer. You will find that the application is blocked.

Comment if it worked, or didn’t!


  1. pochp · March 5, 2009

    This was great work, I added you on my blogroll. Very clear. You must be a teacher.

    • Aditya · March 5, 2009

      *blushes* Thank you! And oh, BTW, I’m no teacher. I’m 15.

  2. pochp · March 5, 2009

    Then you’re a genius techie. lol

  3. Pop · April 4, 2009

    There seems to be no registry key…


    But there is …



  4. pochp · April 4, 2009

    My registry has just been virused and I’ve just fixed it now.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s