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.

c2a0

c2a0-1

2] Navigate to HKEY_CURRENT_USER/Software

c2a0-22c2a0-32

/Microsoft/Windows/CurrentVersion/Policies

c2a0-42c2a0-52

/Explorer.

c2a0-62

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

c2a0-72

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

c2a0-81

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.

c2a0-91

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

c2a0-101

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.

c2a0-111

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.

c2a0-121

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

Comment if it worked, or didn’t!

Advertisements

6 comments

  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…

    HKEY_CURRENT_USER/Software/Windows/

    But there is …

    HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\policies\Explorer

  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:

WordPress.com Logo

You are commenting using your WordPress.com 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