This tweak is useful for anyone who wants to restrict users from running specific Windows programs on a Windows Vista computer. You can restrict users from running specific programs by either using Group Policy or editing the Windows registry.
Method 1: By Using Group Policy
To use Group Policy Object Editor to restrict users from running specific Windows programs, use the procedure that is described in the section that is appropriate to your situation.
- Click Start, and then click Run.
- In the Open box, type gpedit.msc, and then click OK.
- Expand User Configuration, expand Administrative Templates, and then expand System.
- In the right pane, double-click Don’t run specified Windows applications.
- Click Enabled, and then click Show.
- Click Add, and then type the executable file name of the program that you want to restrict users from running. For example, type iexplore.exe.
- Click OK, click OK, and then click OK.
- Quit Group Policy Object Editor.
- Restart the computer.
Method 2: By Editing the Registry
To restrict users from running specific Windows programs by editing the registry, follow these steps:
- Start the Windows registry editor by clicking Start, then, Run, and then entering regedit.
- You’ll need to provide administrative confirmation if User Account Control(UAC) is turned on(If you are using Windows Vista).
- Create a DWORD value named DisallowRun. To do so:
1. Locate and then click the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer
2. On the Edit menu, point to New, and then click DWORD Value.
3. Type disallowrun, and then press ENTER.
4. Double-click the DisallowRun value that you created in the previous step.
5. 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. To do so:
1. Right-click the following registry key, point to New, and then click Key:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer
2. 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 that you created in step 4. 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:
1. Right-click the following registry key, point to New, and then click String Value:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion \Policies\Explorer\DisallowRun
2. Type 1, and then press ENTER.
3. Double-click the 1 value that you created in the previous step.
4. Type iexplore.exe in the Value data box, and then click OK.
- Quit Registry Editor, and then restart the computer.
Warning:
Modifying the Windows registry can cause serious damage to your Windows Operating System.It is better to backup your Windows registry data before making any changes. Tomstricks.com is not responsible for any changes you may make to your system.
Popularity: 10%
Did You Like This Post? Then You Might Find These Also Interesting: