Knowledge Base : Glossary : Suggest a Question
Search The Knowledge Base
Browse The Knowledge Base
Knowledge Base : General : Windows

Elevated Command Prompt in Windows

Elevated Command Prompt:-
1. User Account Control (UAC) enabled by default in Windows Vista & Windows 7.
2. Need to use an elevated Command Prompt whenever you need to do some administrative tasks from Command Prompt.
For example:
Running regsvr32.exe command to register or unregister an DLL/ActiveX, launching a batch file or script requiring administrative privileges.

Privilege of Elevated Command Prompt runs:-

Administrative privileges.

Methods to open an elevated Command Prompt window:-
Method 1:-

1. Click Start
2. Click All Programs
3. Click Accessories
4. Right-click Command Prompt
5. Then click Run as administrator.

Method 2:-
1. Click Start
2. Type cmd.exe
3. When the Instant search results are shown, right-click the cmd.exe entry
4. Choose Run as administrator.

Method 3:-
1. Create a new desktop shortcut to CMD.EXE.
2. Right-click on the shortcut
3. Choose Run as administrator

Run the shortcut as an administrator by default:-
1. Right-click the Command Prompt shortcut you created on the Desktop
2. Choose Properties
3. In the Shortcut tab, click Advanced.
4. Place a checkmark near Run as administrator.
5. Click OK and OK.

Now, every time when you double-click the shortcut Command Prompt window will open elevated.


Related Articles
There are no related articles


Viewer Comments Add Comment
No viewers have posted comments

Powered By AutoKB