RestrictRun

HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer

Data type Range Default value
REG_DWORD 0 | 1 0

Description

Limits the Windows programs that users can run on the computer. When the value of this entry is 1, users can only run programs represented by entries in the RestrictRun subkey.

This entry stores the setting of the Run only allowed Windows applications Group Policy. Group Policy adds this entry to the registry with a value of 1 when you enable the policy. If you disable the policy or set it to Not configured, Group Policy deletes the entry from the registry, and the system behaves as though the value is 0.

Value Meaning
0 (or not in registry) Users can run all installed Windows programs.
1 Users can only run programs represented by entries in the RestrictRun subkey.

Change method

To change the value of this entry, use Group Policy. This entry corresponds to the Run only allowed Windows applications policy (User Configuration\Administrative Templates\System).

Note Image Note

The RestrictRun subkey stores the names of Windows programs that restricted users can still run. If the subkey does not appear in the registry or does not contain any entries, then users cannot run any programs started by Windows Explorer.

This entry only prevents users from running programs that are started by the Windows Explorer process. It does not prevent users from running programs, such as Task Manager, which are started by the system process or by other processes. Also, if users have access to the command prompt, Cmd.exe, this policy does not prevent them from starting programs in the command window that they are not permitted to start by using Windows Explorer.

The Run only allowed Windows applications policy takes precedence over the Don't run specified Windows applications policy. If both policies are applied to the same user, the Run only allowed Windows applications policy is implemented and the Don't run specified Windows applications policy is ignored.

Tip Image Tip

To determine which processes started a program, use Tlist.exe, a tool included with the Windows 2000 Support Tools.

For detailed information about particular Group Policy settings, see the Group Policy Reference (Gp.chm) on the Windows 2000 Resource Kit companion CD.

For general information about Group Policy, see Group Policy in Windows 2000 Help.

To see a table associating policies with their corresponding registry entries, see the Group Policy Reference Table.

Caution Image Caution

If you are the person who applies Group Policy, do not apply this policy to yourself. If applied too broadly, this policy can prevent administrators from running Group Policy or the registry editors. As a result, once applied, you cannot change this policy except by reinstalling Windows 2000.

Related Entries

Page Image

Page Image