Microsoft KB Archive/830568

= How to disable the Run As feature on a Windows Server 2003-based or on a Windows XP-based computer =

Article ID: 830568

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows Server 2003, 64-Bit Datacenter Edition
 * Microsoft Windows Server 2003, Enterprise x64 Edition
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Web Edition
 * Microsoft Windows XP Professional for Itanium-based systems
 * Microsoft Windows XP Home Edition
 * Microsoft Windows XP Media Center Edition 2002
 * Microsoft Windows XP Professional

-



Important This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base:

256986 Description of the Microsoft Windows Registry



SUMMARY
This article discusses how to disable the Run As feature on a Microsoft Windows Server 2003-based or a Microsoft Windows XP-based computer. The Run As feature allows a user with multiple accounts to provide alternative credentials and to run a program as a different user. For example, you can use the Run As feature to start a program as an administrator if you want to perform administrative tasks when you are logged on as a member of another group, such as the Users or the Power Users group. To use the Run As feature on a Windows Server 2003-based or a Windows XP-based computer, hold the SHIFT key down and right-click a program, MMC console, or Control Panel tool, and then type the credentials of a user other than the user who is currently logged on.



MORE INFORMATION
To disable the Run As feature, follow these steps.

Warning If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.  Start Registry Editor.

To do this, click Start, click Run, type regedit in the Open box, and then click OK. Locate, and then click the following registry key:

 

 Click the Edit menu, point to New, click DWORD Value, and then type HideRunAsVerb . Double-click HideRunAsVerb, and then type 1 in the Value data area, and then click OK.

The Runas.exe file is located in the Windows\System32 directory. In a domain environment, you can use software restriction policies to disallow access to this executable file. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

324036 How to use software restriction policies in Windows Server 2003

Additional query words: run as runas 2000 disable hiderunasverb

Keywords: kbinfo KB830568

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.