Follow the simple steps given below to block execution of any particular program on your Windows 7.
- Click Start, and then click Run.
- In the text box, type regedit, and press Enter.
- Locate and then click the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer - In the right side panel right click on some empty area and point to New, and then click on DWORD Value.
- Type disallowrun, and then press ENTER.
- Double-click the DisallowRun value that you created in the previous step.
- Type 1 in the Value data box, and then click OK.
- Create a new HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer\DisallowRun subkey.
- Right-click the following registry key, point to New, and then click Key: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer.
- Type disallowrun, and then press ENTER.
- For each program that you want to prevent users from running, create a new string value in the DisallowRun subkey . Use consecutive numbers to name the string values (starting with 1), and use the executable file name for the program as the data for the string value.For example, if you want to restrict users from running Microsoft Internet Explorer:
- Go to the following key in Registry Editor:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer\DisallowRun. Then right click in the right side panel and create a new string value. Type 1, and then press ENTER. - Double-click the 1 value that you created in the previous step.
- Type iexplore.exe in the Value data box, and then click OK.
- Go to the following key in Registry Editor:
- Quit Registry Editor, and then restart the computer.
Source : Microsoft.com
By:Anjo
good one buddy.... keep posting
ReplyDelete