The Command Prompt window is locked when you run certain tools in Windows Vista

Article translations Article translations
Article ID: 941415 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

When you have User Account Control (UAC) functionality enabled in Windows Vista, and then you try to start certain tools at a command prompt, you experience the following behavior:
  • The User Account Control dialog box appears.
  • When you click Continue in the User Account Control dialog box, the tool runs. However you cannot type any more commands at the command prompt until you exit the tool.
For example, you experience this behavior when you start the following tools:
  • Registry Editor
  • Services.msc

CAUSE

This behavior is by design.

WORKAROUND

To work around this behavior, use administrator rights to open the Command Prompt window. To do this, follow these steps:
  1. Click Start
    Collapse this imageExpand this image
    Start button
    , type cmd in the search box, and then press ENTER.
  2. In the results list, right-click cmd, and then click Run as administrator.
  3. At the command prompt, type regedit.exe, and then press ENTER. Registry Editor is started, and you do not receive a UAC prompt.
  4. At the command prompt, run the other tool.
Note We recommend that you follow the steps that are described in this workaround. We do not recommend that you disable User Account Control.

MORE INFORMATION

After you click Continue in the User Account Control dialog box, the Command Prompt window runs by using elevated rights for the first tool. The Command Prompt window is now locked so that other tools cannot bypass the UAC mechanism. Therefore you cannot type any more commands at the command prompt until you exit the tool.

Properties

Article ID: 941415 - Last Review: September 13, 2007 - Revision: 1.1
APPLIES TO
  • Windows Vista Enterprise
  • Windows Vista Home Basic
  • Windows Vista Home Premium
  • Windows Vista Ultimate
  • Windows Vista Business
Keywords: 
kbtshoot kbexpertiseadvanced kbcommandline kbprb KB941415

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com