Step 4: Once you delete unnecessary folders which are block right click on your windows 10, then your windows 10 right click will start working normally. Note: Everything inside this ContextMenuHandlers is responsible for handling right clicks on your windows 10. Step 3: Delete the folder names or which you are not using. Step 2: Navigate to -> HKEY_CLASS_ROOT->shellx->Expand ContextMenuHandlers. Step 1: Type regedit in windows 10 search bar and open registry editor. Using regedit to fix Can’t run command prompt as administrator Now go ahead and open the cmd shortcut and you will be open cmd as administrator without any issues as you have created a new cmd shortcut which will run properly as expected on your windows 10 computer without any errors like Can’t run command prompt as administrator. Step 5: Now select Advanced and select the check box Run as Administrator.
Step 4: Once shortcut is created on desktop -> right click on cmd shortcut and click properties. Step 3: Now type the name for the shortcut as cmd.exe
Step 2: Name that folder as CMD and click continue Step 1: Right click on your desktop and create a new shortcut. Create Shortcut on Desktop to fix Can’t run command prompt as administrator If you still face issue, then you can different methods as explained below. Open the command prompt by right-clicking on the Start Menu button > Select Command Prompt (Administrator) This script will remove the Xbox app, so head over to the Windows Store, and reinstall the Xbox app. Once you change this settings in user account panel settings, go ahead and restart your computer and open you command prompt as administrator and now you will not be facing any issue like Can’t run command prompt as administrator in windows 10 anymore. After creating this file > run the script from the Command Prompt. Step 8: Make sure that Administrator is checked and you are a member of administrator group.