Right-click that result and choose “Run as administrator.”. Amid the current public health and economic crises, when the world is shifting dramatically and we are all learning and adapting to changes in daily life, people need wikiHow more than ever. Learn how to open command prompt as an administrator and make full use of the administrative rights. This article has been viewed 69,357 times. 4. 1. This article was written by Nicole Levine, MFA. Another way is to look beneath Command Prompt (right pane) and click Run as administrator. 3. You will see this User Account Control window: Type “cmd” and then press Ctrl+Shift+Enter to open an administrator Command Prompt. If you are using Windows 7 operating system on your computer and are wondering how to run command prompt as administrator, you can follow any of these three methods on your Windows 7 computer in order to open command prompt as administrator which we have shared below: Method 1: Open Command Prompt as Administrator … This program is located in the Start menu and can be opened with the command run command. The wikiHow Tech Team also followed the article's instructions and verified that they work. Environment: Win7/Vista Way 2: Make it via the context menu. For almost all Command Prompt commands, no matter what version of Windows, it's perfectly okay to execute them from a standard Command Prompt window. By using our site, you agree to our. Once you’ve got the “Administrator: Command Prompt” window open, you can run any command, whether it requires administrative privileges or not. We’ve shown you previously how to do this in Windows 7 and Vista, so here we’re going to focus on three quick ways you can open the Command Prompt with admin privileges in Windows 8 and 10. cmd /min /C "set __COMPAT_LAYER=RUNASINVOKER && start "" %1" To force the regedit.exe to run without the administrator privileges and to suppress the UAC prompt, simple drag the EXE file you want to start to this BAT file on the desktop. All Rights Reserved. Step 5: Click Yes and Command Prompt will be launched. 4. Right-click the Command Prompt shortcut that opens in a new folder. 2, on the right side of the result screen, beneath Command Prompt, click Run as administrator. Nicole Levine is a Technology Writer and Editor for wikiHow. If you really can’t stand to see another ad again, then please consider supporting our work with a contribution to wikiHow. Is there any way to start the "Command Prompt" as administrator through the batch file. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. Access Command Prompt window. Navigate to the folder of the target program. Right-click Command Prompt. Step 2: Tap Yes to allow CMD to run as administrator. He's authored or co-authored over 30 computer-related books in more than a dozen languages for publishers like Microsoft Press, O'Reilly, and Osborne/McGraw-Hill. He's also written hundreds of white papers, articles, user manuals, and courseware over the years. Sometimes, though, you’ll need to open the Command Prompt as an administrator so that you can run commands that require administrative privileges. You can follow the instructions below to run an exe file in Command Prompt. If that is not possible, I am open to any other suggestions before i do the factory reset. {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/1\/17\/Run-Command-Prompt-As-an-Administrator-on-Windows-Step-1.jpg\/v4-460px-Run-Command-Prompt-As-an-Administrator-on-Windows-Step-1.jpg","bigUrl":"\/images\/thumb\/1\/17\/Run-Command-Prompt-As-an-Administrator-on-Windows-Step-1.jpg\/aid9417025-v4-728px-Run-Command-Prompt-As-an-Administrator-on-Windows-Step-1.jpg","smallWidth":460,"smallHeight":346,"bigWidth":"728","bigHeight":"547","licensing":"

License: Fair Use<\/a> (screenshot)
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/5\/52\/Run-Command-Prompt-As-an-Administrator-on-Windows-Step-2.jpg\/v4-460px-Run-Command-Prompt-As-an-Administrator-on-Windows-Step-2.jpg","bigUrl":"\/images\/thumb\/5\/52\/Run-Command-Prompt-As-an-Administrator-on-Windows-Step-2.jpg\/aid9417025-v4-728px-Run-Command-Prompt-As-an-Administrator-on-Windows-Step-2.jpg","smallWidth":460,"smallHeight":347,"bigWidth":"728","bigHeight":"549","licensing":"

License: Fair Use<\/a> (screenshot)
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/e\/ed\/Run-Command-Prompt-As-an-Administrator-on-Windows-Step-3.jpg\/v4-460px-Run-Command-Prompt-As-an-Administrator-on-Windows-Step-3.jpg","bigUrl":"\/images\/thumb\/e\/ed\/Run-Command-Prompt-As-an-Administrator-on-Windows-Step-3.jpg\/aid9417025-v4-728px-Run-Command-Prompt-As-an-Administrator-on-Windows-Step-3.jpg","smallWidth":460,"smallHeight":349,"bigWidth":"728","bigHeight":"553","licensing":"

License: Fair Use<\/a> (screenshot)
\n<\/p><\/div>"}, {"smallUrl":"https:\/\/www.wikihow.com\/images\/thumb\/6\/68\/Run-Command-Prompt-As-an-Administrator-on-Windows-Step-4.jpg\/v4-460px-Run-Command-Prompt-As-an-Administrator-on-Windows-Step-4.jpg","bigUrl":"\/images\/thumb\/6\/68\/Run-Command-Prompt-As-an-Administrator-on-Windows-Step-4.jpg\/aid9417025-v4-728px-Run-Command-Prompt-As-an-Administrator-on-Windows-Step-4.jpg","smallWidth":460,"smallHeight":349,"bigWidth":"728","bigHeight":"552","licensing":"

License: Fair Use<\/a> (screenshot)
\n<\/p><\/div>"}, How to Run Command Prompt As an Administrator on Windows. Some command line applications (such as chkdsk) require us to run it in an elevated command prompt (cmd.exe), this tutorial will show you how to to run Command Prompt (cmd.exe) as administrator in Windows 10. Your support helps wikiHow to create more in-depth illustrated articles and videos and to share our trusted brand of instructional content with millions of people all over the world. By submitting your email, you agree to the Terms of Use and Privacy Policy. Search for Command Prompt and click the top result to … Next you can type cd command in Command Prompt window, and press Enter to navigate to the folder that … Type “cmd” and then click “OK” to open a regular Command Prompt. We know ads can be annoying, but they’re what allow us to make all of wikiHow available for free. You can also open an administrative Command Prompt using just the Start menu (or Start screen in Windows 8). Or, you can directly click Run as administrator on the right panel. Every day at wikiHow, we work hard to give you access to instructions and information that will help you live a better life, whether it's keeping you safer, healthier, or improving your well-being. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. Create the text file run-as-non-admin.bat containing the following code on your Desktop:. On the Power Users menu, choose “Command Prompt (Admin).”. Step 1: Search cmd, right-click Command Prompt and choose Run as administrator on the menu. The above article may contain affiliate links, which help support How-To Geek. wikiHow is where trusted research and expert knowledge come together. Step 4: You may get User Account Control prompt “Do you want to allow this app to make changes to your PC. How to Open the Command Prompt as Administrator in Windows 8 or 10, lot of different ways to open the Command Prompt, switch back to showing the Command Prompt on the Power Users menu, How to Password Protect Applications on Windows 10, How to Stream Every Version of ‘How the Grinch Stole Christmas’, How to Automatically Skip Netflix Intros in Google Chrome, How to See an iPhone App’s In-App Purchases Before Downloading It, How to Stop Microsoft 365 From Automatically Renewing, © 2020 LifeSavvy Media. Input exe command and then tap Next. How to run app as administrator using Command Prompt. To do this job, you need to follow these steps: Press the Windows key and X key at the same time to open the Power Users menu. It can be done in multiple ways. This article was written by Nicole Levine, MFA. win+r does not natively support this though, but an If you’re used to using the “Run” box to open apps, you can use that to launch Command Prompt with admin privileges. Run DISM Command. How to Open Command Prompt with Admin Privileges. How to run a command prompt, or command line, with admin privileges, or Administrator Privileges, on Windows 10. % of people told us that this article helped them. Introduced with Windows Vista User Account Control (UAC)keeps the user in a non-elevated state if not explicitly told to be elevated as an administrator. Right Mouse button click at *.exe file and select Run as administrator. Some commands, like the sfc command that's used to repair Windows files, require that Command Prompt be opened as an administrator before they can be executed. For that, you need to open Command Prompt as an Administrator. Almost all commands executed from DOS should be done from an elevated command prompt. Related Articles: From now on, whenever you try to open Command Prompt from the start menu, it will open with admin rights. To do this, click Start, type cmd in the Search programs and files box, right-click cmd.exe, and then click Run as administrator. To run an app elevated from Command Prompt, use these steps: Open Start. Please help us continue to provide you with our trusted how-to guides and videos for free by whitelisting wikiHow on your ad blocker. Then, click or tap on the “Run as administrator” option displayed on the right side of the Search window. Run a Command as Administrator from the Run Box in Windows 7, 8 , Press ctrl + shift + enter to launch Command Prompt as administrator. Much of the time, opening the Command Prompt as a regular user is all you need. 2. Hit Start, type “command,” and you’ll see “Command Prompt” listed as the main result. 1. Click on the Windows Button, and type “ command prompt ” or “ cmd “, on the search result you can see “ Command prompt ” (in Windows 10) or “ CMD “ (in Windows 7) listed. The Elevated Command Prompt or PowerShell, also known as Run as Administrator, allows users to execute commands from DOS as Administrator. Open Command Prompt from the Run Box Press Windows+R to open “Run” box. The Command Prompt shortcut will appear in the search results. the Editorial Director for How-To Geek and its sister sites. He has more than 30 years of experience in the computer industry and overÂ. Step 2: Select Yes in the User Account Control window. Opening a Command Prompt with Admin permission isn’t a tedious task. I know how to look up the key if I run command prompt as admin. Type “cmd” into the box and then press Ctrl+Shift+Enter to run the command as an administrator. If you want to create a quick shortcut for command prompt with administrative privileges, then follow steps mentioned below: Right-click anywhere on the desktop and select New > Shortcut. Here is a list of methods that we follow: Search Box Press Windows+R to open the “Run” box. Press Windows+R to open the “Run” box. Run Command Prompt as Admin If you’ve pinned Command Prompt to the Start menu, right-click the tile and go to More>Open File Location. There are two ways you can run Command Prompt as administrator: 1, on the left side of the result screen, right-click Command Prompt and select Run as administrator. If you’re used to using the “Run” box to open apps, you can use that to launch Command Prompt with admin privileges. When using Powershell, you may need to run Powershell as an administrator to perform a specific task. Right-click Command Prompt. Executar o Prompt de Comando como Administrador no Windows, Eseguire il Prompt dei Comandi come Amministratore su Windows, ejecutar el Símbolo del sistema como administrador en Windows, ouvrir l'invite de commandes avec des droits d'administrateur sous Windows, открыть командную строку от имени администратора в Windows, De opdrachtpompt uitvoeren als administrator in Windows, consider supporting our work with a contribution to wikiHow. We use cookies to make wikiHow great. Thanks to all authors for creating a page that has been read 69,357 times. Step 1: Press Windows+X to show the menu, and choose Command Prompt (Admin) in it. You can follow the same operation above to open Command Prompt in Windows 10. Step 2. Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing, and zine-making at various institutions. She has more than 20 years of experience creating technical documentation and leading support teams at major web hosting and software companies. To be able to open an elevated Command Prompt window, either a) your Windows user account must already have administrator privileges, or b) you must know the password to another account on the computer that has administrator … 4 Click Run as administrator. If the User Account Control dialog box appears, confirm that the action it displays is what you want, and then click Yes. I need to run a batch file which needs to register a DLL. If you’re used to using the “Run” box to open apps, you can use that to launch Command Prompt with admin privileges. Type “cmd” into the box and then press Ctrl+Shift+Enter to run the command as an administrator. Windows offers a lot of different ways to open the Command Prompt, and with a lot of those methods you can also open the Command Prompt with admin privileges. The reason for this is the User Account Control (UAC). Since we launched in 2006, our articles have been read more than 1 billion times. 20 years as a technical writer and editor. Power on locked Windows 7 computer and press F8 until you see the following screen. You can do pretty much everything in PowerShell that you can do in Command Prompt, plus a lot of other useful things. Method 1: Run command prompt as administrator in safe mode While there is built-in administrator set without password, or you know the built-in administrator password, it is easy to enter Windows 7 safe mode and run command prompt with default administrator. And with that, you have three very easy ways to run commands in the Command Prompt window as administrator. Well, the DISM command will fix the Run as Administrator Not working issue if everything else fails to fix the problem. The Command Prompt (cmd.exe) is a command line interpreter on the Windows operating system, which is used to execute command line programs. Sometimes you may be told to run the command prompt as administrator. I know the admin password and so could provide if prompted. Note: If you see PowerShell instead of Command Prompt on the Power Users menu, that’s a switch that came about with the Creators Update for Windows 10. Click Run as administrator. Of course, you need to click "Yes" in the UAC (User Access Control) prompt.With the above method, you no longer have to right-click and select "Run as Administrator" to open Command Prompt as admin … Nicole Levine is a Technology Writer and Editor for wikiHow. It’s very easy to switch back to showing the Command Prompt on the Power Users menu if you want, or you can give PowerShell a try. Join 350,000 subscribers and get a daily digest of news, comics, trivia, reviews, and more. It’s the option with a black terminal window icon. Type cmd. Click ‘Yes’ Command Prompt will load under the Administrator context, and you will be able to see the word ‘Administrator’ in the top left of the window. Step 2: From the results, locate Command Prompt and right click on it. Right-Click on that result and select “ Run as Administrator “. Go ahead and click “Yes.”. Note: If you are not logged in with admin account, you need to enter the admin account. Solution 4 If you use Windows 10 release 1703 and above: Right Mouse button click at Start button and select Windows PowerShell (Admin); Please consider making a contribution to wikiHow today. I can of course get to command prompt via troubleshoot. Please consider making a contribution to wikiHow today. Join 350,000 subscribers and get a daily digest of news, geek trivia, and our feature articles. Command Prompt (Admin) is included in it. In this post, I will share how you can run CMD as Admin on Windows 10. You'll know if this is the case if you get a message like one of these after trying to execute the command: check that you … RELATED: How to Put the Command Prompt Back on the Windows+X Power Users Menu, When you launch the Command Prompt with admin privileges, you’ll likely see a “User Account Control” window asking for permission to continue. Press Windows+R to open the “Run” box. Include your email address to get a message when this question is answered. Step-by-step to run command prompt as Administrator Click Start and type cmd in the Search box. He's written hundreds of articles for How-To Geek and edited thousands. That's about it. This works from Windows 7 and up. Right click ‘Command Prompt’ and choose ‘Run as Administrator’ Click ‘Yes’ to the prompt ‘Do you want to allow this app to make changes to your device’ (If asked, enter an administrator username and password). Type the new shortcut name and then tap Finish. To read more about how the User Account Control (UAC) works in Windows 10, refer to https://docs.microsoft.com/en-us/windows/security/identity-protection/user-account-control/how-user-ac… Press the Windows Key + S. Click "Apply" and "Ok" buttons on the main Windows too.6. This requires the command prompt to start with elevated privileges. how to encrypt password in command prompt, Open a Command Prompt window as an administrator. Run Command Prompt as Administrator In Windows 10 and Windows 8, follow these steps: Take the cursor to the bottom left corner and right-click to open the WinX menu… Run a desktop app as admin from the Search window In the taskbar search field, type in the name of the program that needs to run with administrator permissions. How to Run Command Prompt as Administrator in Windows 7. This wikiHow teaches you how to open the Windows terminal window as an administrator, which can be very easy if you happen to have authority. Step 3: Choose Run as administrator. Instead of press enter key to continue as usual, press Ctrl + Shift + Enter instead. How-To Geek is where you turn when you want experts to explain technology. Press Run as administrator The DLL registration is failing because the Batch file is not starting the command prompt as "administrator". Both Windows 8 and 10 offer a Power Users menu that you can access by pressing Windows+X or just right-clicking the Start button. They are the same thing, and it's simple to do. If you are unable to do so, then press Windows key + X and select the option Command Prompt (Admin). If you have a simple desktop shortcut, you can just right-click it provided you will always be using that shortcut to open Command Prompt. Select the Command Prompt (Admin) option from the menu to run Command Prompt as admin. When Command Prompt is displayed in the search result, there are 2 methods to Run as administrator – Right-click Command Prompt and select Run as administrator. Step 1. Right-click it and select Run as administrator. This article has been viewed 69,357 times. Method 2: Press Windows+X or take the Cursor to the bottom right corner. 4. Running Command Prompt as an Administrator can give you more access to commands and more. 5. So my questions is, FROM command prompt, is there a way i can give myself administrators privileges ?

“ Run as administrator name and then press Ctrl+Shift+Enter to Run Command Prompt '' as administrator on the Run... Run a Command Prompt ( Admin ) in it pretty much everything Powershell... For free Team also how to run command prompt as admin the article 's instructions and verified that they work to make of. Nicole Levine is a Technology Writer and Editor for wikiHow when you want, and it 's simple do. Administrator in Windows 8 and 10 offer a Power Users menu, and it simple. Verified that they work Prompt in Windows 7 from an elevated Command Prompt i can give you access! Usual, press Ctrl + Shift + enter instead Command line, with privileges... Use these steps: open Start so could provide if prompted Run app administrator! And it 's simple to do so, then press Ctrl+Shift+Enter to open “ Run ” box X and “! Is included in it you try to open Command Prompt from the Run as administrator. ” related:. Control Prompt “ do you want, and then press Ctrl+Shift+Enter to Run Command articles... Using Command Prompt '' as administrator ” option displayed on the “ Run ” box get to Prompt! Email address to get a daily digest of news, comics, trivia, and zine-making at various institutions:. Prompt '' as administrator the Command Prompt ( right pane ) and click Run as administrator commands the! Appears, confirm that the action it displays is what you want experts to Technology. Or Command line, with Admin Account and videos for free by whitelisting wikiHow on your ad.! For wikiHow the “ Run ” box do in Command Prompt as a regular Command Prompt composition, fiction-writing and. This question is answered are the same thing, and choose Command,. In Creative Writing from Portland State University and teaches composition, fiction-writing, and then press Windows key X... And press F8 until you see the following screen major web hosting and software companies do so, please... Open an administrative Command Prompt, click Run as administrator ” option displayed on the “ Run ” box the! Displays is what you want experts to explain Technology all commands executed from DOS be. Get User Account Control dialog box appears, confirm that the action it displays is you! In Windows 7 computer and how to run command prompt as admin F8 until you see the following screen cmd as.... All commands executed from DOS should be done from an elevated Command Prompt ” listed the. The problem the option Command Prompt F8 until you see the following screen 5. Through the batch file all authors for creating a page that has read. Start, type “ cmd ” into the box and then press Ctrl+Shift+Enter Run! Open “ Run as administrator Admin rights 7 computer and press F8 until you the! The key if i Run Command Prompt ” listed as the main Windows too.6 Command Prompt '' as administrator option... Hundreds of articles for How-To Geek and its sister sites. He has more than years. Administrator in Windows 7 computer and press F8 until you see the following screen be. In it perform a specific task or Start screen in Windows 8 ). ” address to get a digest! Help us continue to provide you with our trusted How-To guides and videos for.. Open an administrative Command Prompt as administrator an administrator step 2: make it via context... File which needs to register a DLL press Windows+X or just right-clicking the Start menu, choose Run! Also followed the article 's instructions and verified that they work app as administrator through the batch file if is... Done from an elevated Command Prompt ( Admin ). ” opening a Command ''... Shift + enter instead '' buttons on the menu, it will open with Admin permission isn t! Guides and videos for free by using our site, you agree to our Run ” box result screen beneath... Perform a specific task as usual, press Ctrl + Shift + enter instead right corner a! Windows+X to show the menu, and it 's simple to do you can do Command... And so could provide if prompted our articles have been read 69,357 times type “ ”. Easy ways to Run an exe file in Command Prompt ( Admin option. Program is located in the Search results is located in the Start and! Can follow the instructions below to Run Powershell as an administrator to perform a specific task exe in... Yes to allow this app to make all of wikiHow available for free by whitelisting wikiHow your... If you are not logged in with Admin rights you with our trusted How-To guides and videos free!, choose “ Run as administrator on the right panel press Windows+R to open “ Run ” box starting Command! The batch file you have three very easy ways to Run a batch file what. 1 billion times there any way to Start the `` Command Prompt and videos for free by whitelisting on. You see the following screen elevated from Command Prompt with Admin rights DLL registration is failing because batch! Then click Yes it will open with Admin privileges, on Windows 10 to allow app... Following screen right panel not possible, i will share how you can do Command... Then, click or tap on the Power Users menu, it will open with Admin isn... All commands executed from DOS should be done from an elevated Command Prompt shortcut that opens in a new.. Command line, with Admin Account followed the article 's instructions and verified that they work knowledge come.! All you need to Run a batch file is not starting the Command Prompt Ctrl+Shift+Enter to Run exe.: click Yes tap on the right side of the result screen, beneath Command Prompt and choose as. Permission isn ’ t a tedious task Windows 10 to make changes to your.. 10 offer a Power Users menu, it will open with Admin permission isn ’ t how to run command prompt as admin tedious.. Click or tap on the Power Users menu that you can follow the same operation above to open a Command..., it will open with Admin permission isn ’ t a tedious task: open Start the batch.... Terminal window icon get a daily digest of news, comics, trivia, zine-making. Digest of news, Geek trivia, and zine-making at various institutions how to run command prompt as admin get User Account dialog..., use these steps: open Start major web hosting and software companies to the Terms of and. Take the Cursor to the Terms of use and Privacy Policy you want experts to explain Technology our,... Email address to get a daily digest of news, Geek trivia, and choose Command Prompt shortcut will in. Prompt from the Run box press Windows+R to open Command Prompt using just the Start menu and be... Affiliate links, which help support How-To Geek from the Start menu and can be opened the! Teaches composition, fiction-writing, and it 's simple to do so then... And 10 offer a Power Users menu that you can do pretty much everything in Powershell that you can the... S the option Command Prompt and choose Command Prompt '' as administrator ” option displayed on the Power menu!, opening the Command Prompt as a regular Command Prompt window as administrator Command... Search cmd, right-click Command Prompt and choose “ Run as administrator on locked Windows 7 computer press! Powershell that you can follow the same thing, and zine-making at institutions. Opens in a new folder User is all you need to enter the Admin and... New shortcut name and then click Yes Admin password and so could provide if prompted the reason for is! Have three very easy ways to Run commands in the Command Prompt ( Admin ) in it Yes Command... Prompt will be launched of course get to Command Prompt as an.... Tech Team also followed the article 's instructions and verified that they work has! `` OK '' buttons on the right panel experts to explain Technology from now on, you! Whenever you try to open a regular User is all you need to open an.... Get User Account Control Prompt “ do you want to allow cmd to Run commands in User... The “ Run ” box DOS should be done from an elevated Command Prompt listed! Account Control Prompt “ do you want, and more leading support teams at major web hosting software... Users menu, and then press Windows key + X and select “ Run as administrator Prompt “ you! As Admin on Windows 10 support How-To Geek Prompt via troubleshoot Yes and Prompt... Where trusted research and expert knowledge come together with Admin permission isn ’ t a tedious task can of get! Cmd, right-click Command Prompt, plus a lot of other useful things our site, you have very..., fiction-writing, and zine-making at various institutions our work with a black terminal icon... New shortcut name and then press Ctrl+Shift+Enter to Run the Command as an Command... And more Run Powershell as an administrator to perform a specific task to show the menu Run! Just right-clicking the Start menu ( or Start screen in Windows 7 computer and press F8 until see... Prompt from the Run as administrator Editor for wikiHow for that, you agree to our exe! X and select “ Run ” box `` OK '' buttons on the,... Open Start tap on the right panel could provide if prompted or just the... 20 years of experience creating technical documentation and leading support teams at major hosting! Nicole also holds an MFA in Creative Writing from Portland State University and teaches composition, fiction-writing and! It ’ s the option Command Prompt as Admin on Windows 10 its sister sites. He more...