Full Fix: Can’t run Command Prompt as administrator on Windows 10
Advanced users rely on Command Prompt for certain functions, but unfortunately, many of them reported that they can’t run Command Prompt as administrator. This can be a problem since you won’t be able to perform advanced commands that require administrative privileges.
Although this issue usually affects advanced users, it’s important to fix it, and today we’re going to show you how to do it.
Sometimes Command Prompt issues can appear on your PC and prevent you from running certain commands that require administrative privileges. Speaking of Command Prompt, here are some issues that users reported:
- Command Prompt admin won’t open Windows 10 – According to users, sometimes Command Prompt won’t open as administrator. This can be caused by your antivirus, so be sure to check it and restore quarantined files to their original location.
- Can’t run cmd as administrator Windows 7 – This issue can occur on Windows 7 as well, and if you encounter it, be sure to apply some of our solutions.
- Command Prompt not working in Windows 8 – Windows 8 users also reported this issue, and in order to fix it, simply create a new user profile and check if that helps.
Can’t run Command Prompt as administrator on Windows 10, how to fix it?
- Check your antivirus
- Create a Command Prompt shortcut on your desktop
- Disable all non-Microsoft context menu items
- Create a new user account
- Install the latest updates
- Try using Safe Mode
Solution 1 – Check your antivirus
According to users, one reason for problems with Command Prompt can be your antivirus software. Having a good antivirus is important, but sometimes antivirus can interfere with certain features or Windows, which can lead to this and many other problems.
If you can’t run Command Prompt as administrator, you might want to try checking your quarantine list. Sometimes your antivirus may put certain files in there that the Command Prompt needs in order to work properly.
Check the list and make 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 will cause issues with Command Prompt, so be sure to restore this file.
Several users reported that restoring their quarantined files fixed the problem, so you might want to try that. If that doesn’t work, try disabling certain antivirus features and see if that changes anything. 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 system will be protected by Windows Defender even if you remove your antivirus.
In case that removing your antivirus solves the problem with Command Prompt, you should consider switching to a different antivirus solution. There are many great antivirus tools on the market, but if you want maximum protection that won’t interfere with your system, you definitely should try out Bitdefender.
Solution 2 – Create a Command Prompt shortcut on your desktop
Many users reported that they can’t run Command Prompt even by using Win + X menu on their PC. If you can’t run Command Prompt as administrator at all, you might be able to circumvent this problem with this simple workaround. To create a Command Prompt shortcut on your desktop, just do the following:
- Open File Explorer and head over to the C:UsersDefaultAppDataLocalMicrosoftWindowsWinXGroup3 directory.
- In there you should see two Command Prompt shortcuts. Try running these shortcuts and make sure that they work. If they do, copy both of them to your desktop and try running them from there.
Since there are two shortcuts, it means that you have non-administrative and administrative Command Prompt available. You can easily recognize the administrative Command Prompt since it window will be labeled Administrator: Command Prompt once you start it.
Alternatively, you can just create a new shortcut right on your desktop without copying anything. To do that, just follow these steps:
- Right-click your desktop and choose New > Shortcut.
- In the Type the location of the item field enter cmd.exe and click Next.
- Enter the desired name of the new shortcut and click Finish.
Now you just have to force the new shortcut to run with administrative privileges. This is quite simple to do, and you can do it by following these steps:
- Right-click the newly created Command Prompt shortcut and choose Properties from the menu.
- Go to the Security tab and click the Advanced button.
- Check Run as administrator and now click OK.
- Save changes.
Now you can just double-click the new shortcut and the Command Prompt will start with administrative privileges.
Keep in mind that this is just a workaround, but this solution should be useful until you manage to fix the core problem.
Solution 3 – Disable all non-Microsoft context menu items
According to users, sometimes your context menu can cause this problem to appear. If you can’t run Command Prompt as an administrator, perhaps other applications are causing this error. Sometimes applications will add their own entries to the context menu and that can lead to this and many other problems. However, you can fix that by doing the following:
- Download and run ShellExView. This is a freeware third-party application.
- Once you start it, you need to find all non-Microsoft entries in your context menu and disable them.
After doing that, the problem should be fixed. Almost any application can cause this problem, but few users reported issues with Express Zip File Compression (NCH Software), so if you’re using it, be sure to disable its entries from the context menu.
Keep in mind that this is an advanced solution, so you’ll need to get familiar with ShellExView a bit before you can fully apply this solution.
Solution 4 – Create a new user account
If you can’t run Command Prompt as administrator, the issue might be related to your user account. Sometimes your user account can get corrupted, and that can cause the issue with Command Prompt. Repairing your user account is quite hard, but you can fix the problem simply by creating a new user account. To do that, just follow these steps:
- Open the Settings app and navigate to the Accounts section. To open the Settings app quickly, just use Windows Key + I shortcut.
- Select Family & other people from the menu on the left. Now click Add someone else to this PC button in the right pane.
- Choose I don’t have this person’s sign-in information.
- Select Add a user without a Microsoft account.
- Enter the desired username for the new account and click Next.
After creating a new user account, switch to it and check if the problem is still there. If the issue with Command Prompt doesn’t appear on the new account, move your personal files to the new account and start using it instead of your old one.
Solution 5 – Install the latest updates
According to users, sometimes you can’t run Command Prompt as administrator due to certain bugs on your system. Bugs can occur for various reasons, and Microsoft is usually quick to fix any major bugs that might occur. If Command Prompt can’t run on your PC, perhaps you can fix the problem simply by installing the latest updates.
Windows 10 installs the missing updates automatically, but sometimes you might miss a couple of updates. However, you can always check for updates manually by doing the following:
- Open the Settings app and navigate to the Update & Security section.
- Click the Check for updates button in the right pane. Windows will now check for updates and download them in the background.
Once the updates are downloaded, they will be automatically installed as soon as you restart your PC. After your PC restarts, check if the problem with Command Prompt is still there.
Solution 6 – Try using Safe Mode
Safe Mode is a special segment of Windows that runs with default settings, and it’s usually a good place to start the troubleshooting process. If you can’t run Command Prompt as administrator, perhaps you should be able to solve the problem by accessing Safe Mode. To do that, just follow these steps:
- Open the Settings app and head over to the Update & Security section.
- Pick Recovery from the menu on the left. In the right pane click the Restart now button.
- Choose Troubleshoot > Advanced options > Startup Settings. Now click the Restart button.
- As soon as your PC restarts, you should see a list of options. Select the desired version of Safe Mode by pressing the corresponding keyboard key.
Once you enter Safe Mode, check if the problem is still there. If the issue doesn’t appear in Safe Mode, you can start troubleshooting the issue from there.
If you can’t run Command Prompt as administrator on your PC, that can be a big problem, especially for advanced users that rely on the command line. However, we hope that you managed to solve this problem by using one of our solutions.
- Not enough storage is available to process this command
- CTRL +C issues in Command Prompt gets fixed in Windows 10
- How to personalize Command Prompt in Windows 10
If music is your passion and you feel the desire to create a unique piece of music or a personal mix, you’ve come to the […]
The game industry has constantly evolved from the first simple arcade games that had a simple architecture and pixelated graphics. With the latest advancements in […]
Whether you want to record a tech or sports podcast, recording a podcast is usually easy. Set up a mic, start the audio recorder, and […]