ManyCodes.com – codes & scripts Get free programming codes and tutorials!

6Aug/090

How to Run as Administrator in Vista Command Line?

Recently I wanted to do some actions in Windows Vista command line prompt but with elevated access as an Administrator. You may need this access to do actions like creating symbolic links etc.

So, how to run as administrator in Vista command line?

The easiest way is to use the type cmd in the Vista Start Run box and use the keyboard shortcut Ctrl + Shift + Enter instead of just pressing Enter. This will open the Command Prompt in Administrator mode.

cmd in Vista

You can also right click cmd.exe and click Run as Administrator.

cmd as administrator in Vista

Command Prompt with Administrator access in Windows Vista.

Run Vista Command Prompt as Adminstrator

On the other hand, you can also activate Administrator account in Vista, so that you can login from welcome screen.