DisallowRun

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

Description

The DisallowRun subkey contains a list of Windows programs that users cannot run. This list is used only when the value of the DisallowRun entry is 1.

This subkey stores the contents of the Show Contents box in the Don't run specified Windows applications Group Policy. Group Policy adds this subkey and its entries to the registry when you enable the policy. If you disable the policy or set it to Not configured, Group Policy deletes this subkey and its entries from the registry.

Each entry in this subkey represents a Windows program, such as Notepad, and contains the name of the executable file for the program, such as Notepad.exe. The number that names this entry only represents the order in which the programs are entered. It does not affect the feature.

These entries have the following format. All entries must include the file name extension of the file.

Item-number REG_SZ Name of executable file

For example, the following entry permits restricted users to use Microsoft Word (Winword.exe).

1 REG_SZ Winword.exe

Change method

To change the value of this entry, use Group Policy. This entry corresponds to the Don't run specified Windows applications policy (User Configuration\Administrative Templates\System).

Note Image Note

The DisallowRun entry enables the Don't run specified Windows applications policy. If the DisallowRun entry is not in the registry, or if its value is 0, the policy is not enabled, and the system ignores the DisallowRun subkey and its entries.

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

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.

Related Entries

Page Image