Can I open a command prompt with admin privleges in Vista WITHOUT my mouse?
I'm accustomed to opening a shell in Windows with the keyboard, but when I want admin privileges, the only way I know is to right click on the start menu icon.
There must be a keyboard-only way, right?
Option 1 - requires that you use the Vista-style Start Menu
- Hit Windows key
- Type
cmd
- Press Ctrl + Shift + Enter
- Done!
Option 2 - works with Classic Start Menu, requires Quick Launch to be enabled
- Create a shortcut to cmd.exe on your Quick Launch bar
- Right-click the shortcut, select Properties, Advanced, and check the "Run as administrator" box
- Quick Launch icons can be launched using Windows key + NUMBER, where NUMBER is the position of the icon, so if your new cmd shortcut is the 1st icon, use Win + 1
- Done!
Do this:
- Press WINDOWS + R to open the run prompt
- Type runas /user:ADMINUSERNAME cmd.exe
i'm using ColorConsole instead of the windows command prompt (the reason being not so much the variety of colour schemes but the favorite commands, copy/paste, tabbed interface and HTML export. you're probably asking this question to save time, so CC will save you even more). i have set CC to run always as admin from the advanced shortcut properties menu, of course you can do that with CMD.EXE too. just create a new shortcut for cmd.exe, make it to run always as admin and assign a hotkey to this shortcut.