Q. How can I open a command prompt in Windows Vista with administrative privileges?

When you log on as a user who is a member of the local Administrators group, except when you log on as Administrator, Windows Vista uses UAC (User Account Control) to launch a normal task without administrative privileges. When the task requires administrative privileges, Windows Vista halts the process until you acknowledge a prompt.

An administrator can directly open a command prompt with full administrative privileges by right clicking the Command Prompt shortcut on the Start menu at Programs / Accessories / Command Prompt and pressing Run as administrator on the context menu.

NOTE: When you use Run as administrator, instead of displaying C:\Windows\system32\cmd.exe in the title bar, you see Administrator: Command Prompt.


Please or Register to post comments.

IT/Dev Connections

Las Vegas
September 30th - October 4th

Paul ThurottYou'll have the opportunity to experience:
• The Microsoft
Technology Roadmap
• Office 365 Implementation
• Hyper-V Optimizing
• Windows 8 Deployment
and much more!

Come See Paul Thurrott & Rod Trent in Person!

Early Registration Now Open

Upcoming Training

Mastering System Center 2012

During over 6 hours of training you can join John Savill from your computer as he will walk you through the key components and capabilities of System Center 2012, what’s involved in using the components, and the benefit they can bring to your environment.

Register Now

Current Issue

May 2013 - The NameTranslate object is useful when you need to translate Active Directory object names between different formats, but it's awkward to use from PowerShell. Here's a PowerShell script that eliminates the awkwardness.

CURRENT ISSUE / ARCHIVE / SUBSCRIBE

Windows Forums

Get answers to questions, share tips, and engage with the Windows Community in our Forums.