Likely if you are reading this post you just need to know the “Quick Steps” to run the command prompt as admin in Windows 7. I’m assuming you have local admin rights on the machine you’re working on.
Run the Command Prompt with Admin Privileges
- From the Start button go to ALL PROGRAMS—-> ACCESSORIES
- Right-Click on the Command Prompt icon in the Accessories Menu
- Find the Command Prompt icon and right click on it.
You have two options
A) Choose Run as administrator to run the command prompt as administrator just this time. If you close the window and open it back up, you will have normal user privileges.
B) Choose Properties and then the Advanced button to set the command prompt to run with administrative privileges every time it opens.
Obviously, I’m not a fan of repeating option A every time , so I will show you how to run the command prompt with elevated privileges every time you open it. Remember you will be entering commands as the admin so exercise great caution. You are giving yourself permission to do more on the system, so you could do damage if you mess up. You have been cautioned.
- After you’ve clicked on Properties from the context menu, the Command Prompt Properties window appears with the Shortcut tab in front. If it doesn’t look like the picture to the right, click on the shortcut tab.
- Find the Advanced button in the bottom right corner of the window and click on it.
- When the Advanced Properties window opens, find the Run as administrator check box, select it, then click OK.
- Select OK to close the Command Prompt Properties window.
- Once you set this option, you don’t have to set it again. However, you do have to go back to the start button to get to the command prompt icon.
- Start–>All Programs–>Accessories–>Command Prompt.
If you have User Account Control enabled, you will be asked if you want to allow the Windows Command Processor to make changes to you computer. This pop up is there to remind you that you are running as administrator; so be careful. Select Yes
When the command prompt opens notice the title bar says Administrator: Command Prompt. If it doesn’t, you are not running as administrator. If it does, congratulations! You have set the command prompt to run as administrator every time you open it.
One last tip. If you create a short cut for the Console, you have to right click on the shortcut and choose properties–>Advanced to enable it run as administrator.