Fix: Can't run Command Prompt as admin

Milan has been enthusiastic about PCs ever since his childhood days, and this led him to take interest in all PC-related technologies. Before joining WindowsReport, he worked as a forepart-end web developer. Read more

Posted: April 2020

  • Users rely on Command Prompt for certain functions, but unfortunately, many of them reported that they tin't run Command Prompt as administrator.
  • The issue might be related to your user account, then a quick workaround is to create a new user account.
  • Every bit usual, installing the latest updates might certainly ready the result at mitt.
  • If that does not do it, go ahead and read the complete solution in the article beneath.

How do I force Command Prompt to run as administrator?

TenINSTALL By CLICKING THE DOWNLOAD FILE

Advanced users rely on Command Prompt for certain functions, but unfortunately, many reported that they can't run Command Prompt as administrators.

This can exist a problem since you lot won't exist able to perform advanced commands that crave administrative privileges.

Although this outcome usually affects avant-garde users, information technology's important to set up information technology, and today we're going to show you how to exercise it.

Sometimes Control Prompt issues can appear on your PC and forbid you from running certain commands that crave administrative privileges. Speaking of Command Prompt, here are some issues that users reported:

  • Command Prompt admin won't open Windows x – According to users, sometimes Command Prompt won't open as administrator. This tin can be acquired by your antivirus, then be sure to cheque it and restore quarantined files to their original location.
  • Can't run cmd as administrator Windows seven – This issue can occur on Windows 7 every bit well, and if you encounter it, be certain to apply some of our solutions.
  • Command Prompt not working in Windows 8 – Windows 8 users likewise reported this issue, and to fix it, merely create a new user profile and bank check if that helps.

Why can't I run CMD as admin and how to fix it?

1. Cheque your antivirus

According to users, one reason for problems with Command Prompt tin can be your antivirus software. Having a skillful antivirus is important, only sometimes antivirus tin can interfere with certain features or Windows, which tin can lead to this and many other problems.

If you can't run Command Prompt every bit an ambassador, you lot might want to try checking your quarantine list. Sometimes your antivirus may put sure files in there that the Command Prompt needs to work properly.

Bank check the list and brand sure that quarantined items aren't malicious before restoring them. According to users, Avast can put the consent.exe file in the quarantine and that volition cause issues with Command Prompt, so be sure to restore this file.

Several users reported that restoring their quarantined files fixed the problem, so y'all might want to try that. If that doesn't work and nevertheless nothing happens when you click the Run as administrator choice, try disabling certain antivirus features.

In case the problem is still there, try disabling your antivirus altogether.

In the worst-case scenario, you might even have to uninstall your antivirus. This is not a reason to worry since your organization will be protected by Windows Defender even if you remove your antivirus.

In case removing your antivirus solves the trouble with Command Prompt, you should consider switching to a different antivirus solution.

Hence, if you want to notice a capable and reliable antivirus that does not modify your system settings, you should select a solution from the all-time antiviruses compatible with Windows ten.

two.  Create a Control Prompt shortcut on your desktop

Many users reported that they can't run Command Prompt fifty-fifty by using the Win + X carte on their PC. If you lot tin't run Control Prompt equally an ambassador at all, yous might be able to circumvent this trouble with this simple workaround. To create a Command Prompt shortcut on your desktop, simply do the following:

  1. Open up File Explorer and head over to this directory C: \Users\Default\AppData\Local\Microsoft\Windows\WinX\Group3
  2. In there, y'all should see two Command Prompt shortcuts. Attempt running these shortcuts and make certain that they piece of work. If they practise, re-create both of them to your desktop and try running them from in that location.
    Command Prompt admin won't open Windows 10

Since at that place are two shortcuts, information technology ways that you lot have not-administrative and administrative Command Prompt available. You can hands recognize the administrative Command Prompt as its window will be labeled Administrator: Command Prompt once yous offset information technology.

Alternatively, you can just create a new shortcut correct on your desktop without copying anything. To do that, only follow these steps:

  1. Right-click your desktop and choose New > Shortcut.
    Command Prompt admin won't open Windows 10
  2. In the Type the location of the item field enter the cmd.exe control and click Next.
    Can't run cmd as administrator Windows 7
  3. Enter the desired name of the new shortcut and click Finish.
    Command Prompt not working in Windows 8

Expert Tip: Some PC issues are hard to tackle, peculiarly when information technology comes to corrupted repositories or missing Windows files. If you are having troubles fixing an error, your system may be partially broken. We recommend installing Restoro, a tool that will browse your car and identify what the fault is.
Click here to download and start repairing.

Now you just accept to force the new shortcut to run with authoritative privileges. This is quite elementary to practice, and yous tin do information technology by following these steps:

  1. Right-click the newly created Control Prompt shortcut and choose Properties from the menu.
    Can't run cmd as administrator Windows 7
  2. Go to the Security tab and click the Advanced push button.
    Command Prompt admin won't open Windows 10
  3. Bank check Run as ambassador and now click OK.
    Can't run cmd as administrator Windows 7
  4. Save changes.

Now you can only double-click the new shortcut and the Control Prompt will start with administrative privileges.

Keep in mind that this is just a workaround, but this solution should exist useful until yous manage to fix the core problem.

three. Disable all non-Microsoft context bill of fare items

According to users, sometimes your context menu can cause this problem to appear. If you can't run Command Prompt as an ambassador, peradventure other applications are causing this fault. Sometimes applications will add their own entries to the context menu and that tin can lead to this and many other problems. However, you can prepare that by doing the following:

  1. Download and run ShellExView. This is a freeware third-political party application.
  2. Once you lot start it, y'all need to find all not-Microsoft entries in your context menu and disable them.

After doing that, the problem should be stock-still. Nigh any application can cause this problem, but few users reported problems with Express Zip File Pinch (NCH Software), so if y'all're using it, be sure to disable its entries from the context menu.

Keep in listen that this is an advanced solution, so yous'll need to get familiar with ShellExView a bit earlier you can fully apply this solution.

iv. Create a new user account

If yous can't run Control Prompt as an administrator, the consequence might be related to your user account. Sometimes your user business relationship can get corrupted, and that can cause an outcome with Command Prompt. Repairing your user account is quite difficult, but you tin fix the trouble simply by creating a new user account. To practice that, simply follow these steps:

  1. Open the Settings app and navigate to the Accounts department. To open up the Settings app apace, only utilise Windows Key + I shortcut.
    Can't run cmd as administrator Windows 7
  2. Select Family & other people from the menu on the left. Now click Add someone else to this PC button in the correct pane.
    Command Prompt not working in Windows 8
  3. Choose I don't have this person's sign-in information.
    Command Prompt admin won't open Windows 10
  4. Select Add a user without a Microsoft account.
    Can't run cmd as administrator Windows 7
  5. Enter the desired username for the new account and click Next.
    Command Prompt not working in Windows 8

Subsequently creating a new user account, switch to it and bank check if the problem is still there. If the issue with Control Prompt doesn't announced on the new account, move your files to the new business relationship and offset using it instead of your old ane.

5. Install the latest updates

According to users, sometimes you can't run Command Prompt as ambassador due to certain bugs on your system. Bugs can occur for various reasons, and Microsoft is normally quick to fix whatsoever major bugs that might occur. If Command Prompt can't run on your PC, perhaps y'all tin gear up the problem simply by installing the latest updates.

Windows 10 installs the missing updates automatically, but sometimes y'all might miss a couple of updates. However, you can ever check for updates manually by doing the following:

  1. Open the Settings app and navigate to the Update & Security section.
    Command Prompt not working in Windows 8
  2. Click theCheck for updates push button in the right pane. Windows will now check for updates and download them in the background.
    Command Prompt admin won't open Windows 10

Once the updates are downloaded, they volition be automatically installed as soon every bit y'all restart your PC. Subsequently your PC restarts, bank check if the problem with Command Prompt is still in that location. If this doesn't happen y'all tin consult this guide on how to fix driver errors, and resolve the issue.

six. Run CMD equally ambassador from Task Director

  1. Perform a correct-click on your Taskbar and select Chore Managing director from the card. Alternatively, you can use the CTRL key to direct open up an authoritative CMD window.
  2. To do this, simply press the post-obit keys on your keyboard: Ctrl+Shift+Esc.
  3. Once the Task Manager opens, go to the File tab and select Run new chore.
  4. In the new window, type in your desired command line and check the Create this task with authoritative privileges box.

If you lot're unable to run CMD as admin directly, the Task Director can provide a solid alternative. You lot just need to tweak the File tab a bit, as shown above.

Speaking about files, y'all might also find these commands useful for then yous want to open a file or a binder in the Command Prompt.

7. Try using Prophylactic Mode

Safe Mode is a special segment of Windows that runs with default settings, and it's unremarkably a good place to start the troubleshooting procedure. If y'all can't run Control Prompt as an administrator, possibly you should be able to solve the problem by accessing Safe Mode. To do that, just follow these steps:

  1. Open the Settings app and head over to theUpdate & Security section.
  2. Pick Recovery from the menu on the left. In the right pane click the Restart now push.
    Command Prompt not working in Windows 8
  3. Choose Troubleshoot > Advanced options > Startup Settings. Now click the Restart button.
  4. As soon as your PC restarts, y'all should see a list of options. Select the desired version of Rubber Mode by pressing the corresponding keyboard cardinal.

Once you enter Safe Mode, cheque if the problem is still there. If the issue doesn't announced in Safe Mode, you lot can start troubleshooting the result from in that location.

If you tin't run Command Prompt as ambassador on your PC, that can exist a big trouble, especially for avant-garde users that rely on the command line. Nevertheless, we promise that y'all managed to solve this problem past using i of our solutions.

Often Asked Questions

  • By default, Windows will launch in restricted mode unless users specifically have the elevation confirmation. For control prompt, the commands may refuse to run or have admission denied error. This is why users demand to launch control prompt will full admin rights and permission country. This country will grant total admission to all commands.

  • In the elevated command prompt window type the name of the file directly if it is a .exe file, for example, setup.exe and press Enter to immediately run the installer with administrative permissions.