TechNet
Products
IT Resources
Downloads
Training
Support
Products
Windows
Windows Server
System Center
Microsoft Edge
Office
Office 365
Exchange Server
SQL Server
SharePoint Products
Skype for Business
See all products »
Resources
Channel 9 Video
Evaluation Center
Learning Resources
Microsoft Tech Companion App
Microsoft Technical Communities
Microsoft Virtual Academy
Script Center
Server and Tools Blogs
TechNet Blogs
TechNet Flash Newsletter
TechNet Gallery
TechNet Library
TechNet Magazine
TechNet Wiki
Windows Sysinternals
Virtual Labs
Solutions
Networking
Cloud and Datacenter
Security
Virtualization
Updates
Service Packs
Security Bulletins
Windows Update
Trials
Windows Server 2016
System Center 2016
Windows 10 Enterprise
SQL Server 2016
See all trials »
Related Sites
Microsoft Download Center
Microsoft Evaluation Center
Drivers
Windows Sysinternals
TechNet Gallery
Training
Expert-led, virtual classes
Training Catalog
Class Locator
Microsoft Virtual Academy
Free Windows Server 2012 courses
Free Windows 8 courses
SQL Server training
Microsoft Official Courses On-Demand
Certifications
Certification overview
Special offers
MCSE Cloud Platform and Infrastructure
MCSE: Mobility
MCSE: Data Management and Analytics
MCSE Productivity
Other resources
Microsoft Events
Exam Replay
Born To Learn blog
Find technical communities in your area
Azure training
Official Practice Tests
Support options
For business
For developers
For IT professionals
For technical support
Support offerings
More support
Microsoft Premier Online
TechNet Forums
MSDN Forums
Security Bulletins & Advisories
Not an IT pro?
Microsoft Customer Support
Microsoft Community Forums
Sign in
Home
Library
Wiki
Learn
Gallery
Downloads
Support
Forums
Blogs
Resources For IT Professionals
United States (English)
Россия (Pусский)
中国(简体中文)
Brasil (Português)
Skip to locale bar
Editing: Windows: Windows Server 2003 R2 Disallow Run
Wiki
>
TechNet Articles
>
Windows: Windows Server 2003 R2 Disallow Run
Article
Edit
History
Title
<div class="title">This article describes a registry subkey setting in Windows Server 2003 R2 and Windows XP and was originally published as <a href="http://technet.microsoft.com/en-us/library/cc759206(WS.10).aspx">DisallowRun</a>. The article has been updated to correct known issues and has been reproduced here to allow the community to correct any other inaccuracies and provide other enhancements prior to including updates in the official version of this topic.<br /> <br /> </div> <div class="title"></div> <h2 class="title"><a name="DisallowRun"></a>DisallowRun </h2> <!--Content type: DocStudio. Transform: webcollection2mtps.xslt.--> <div id="mainSection" sizcache="4" sizset="0"> <div id="mainBody" sizcache="4" sizset="0"> <div sizcache="4" sizset="0"> <p>HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer </p> <h3 id="EAAA"><a name="Description"></a>Description</h3> <p>The DisallowRun subkey contains a list of Windows programs that users cannot run. This list is used only when the value of the <span style="color: #0033cc;"><a href="http://technet.microsoft.com/en-us/library/cc759206(WS.10).aspx">DisallowRun</a></span> entry is 1.</p> <p>This subkey stores the contents of the <strong>Show Contents</strong> box in the <strong>Don't run specified Windows applications</strong> 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 <strong>Not configured,</strong> Group Policy deletes this subkey and its entries from the registry.</p> <p>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 numbers that name these entries only represent the order in which the programs are entered. They do not affect the feature.</p> <p>These entries have the following format. All entries must include the file name extension of the file:</p> <table> <tbody> <tr> <th> <p>Entry name</p> </th> <th> <p>Data type</p> </th> <th> <p>Value</p> </th> </tr> <tr> <td> <p><em>Item-number</em> </p> </td> <td> <p>REG_SZ</p> </td> <td> <p><em>Name of executable file</em> </p> </td> </tr> </tbody> </table> <p>For example, the following entry permits restricted users to use Microsoft Word (Winword.exe):</p> <table> <tbody> <tr> <th> <p>Entry name</p> </th> <th> <p>Data type</p> </th> <th> <p>Value</p> </th> </tr> <tr> <td> <p>1</p> </td> <td> <p>REG_SZ</p> </td> <td> <p>Winword.exe</p> </td> </tr> </tbody> </table> <p><strong>Change method</strong> </p> <p>To change the value of this entry, use Group Policy. This entry corresponds to the <strong>Don't run specified Windows applications</strong> Group Policy (User Configuration\Administrative Templates\System).</p> <p><!--src=[images/note.gif]--><strong>NOTE:</strong> The <span style="color: #0033cc;"><a href="http://technet.microsoft.com/en-us/library/cc759206(WS.10).aspx">DisallowRun</a></span> entry enables the <strong>Don't run specified Windows applications</strong> policy. If the <strong>DisallowRun</strong> 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.</p> <p>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.</p> <p>The <strong>Run only allowed Windows applications</strong> policy takes precedence over the <strong>Don't run specified Windows applications</strong> policy. If both policies are applied to the same user, the <strong>Run only allowed Windows applications</strong> policy is implemented and the <strong>Don't run specified Windows applications</strong> policy is ignored.</p> <p><!--src=[images/tip.gif]--></p> </div> </div> </div>
Comment
Tags
Please add 6 and 4 and type the answer here: