Earlier Command Prompt was easily accessible by pressing Shift then right-click on any folder and then selecting “Open Command Prompt here” but with the Creator Update, it has been replaced with PowerShell. If you want to open unelevated cmd in the right-click context menu then you could see this guide “Replace PowerShell with Command Prompt in Context Menu” but if you want to open elevated command prompt then you need to follow this guide. Anyway without wasting any time let’s see How to Add Open command window here as administrator in Windows 10 Context Menu with the help of the below-listed tutorial.
Add Open command window here as administrator in Windows 10 Context Menu
Make sure to create a restore point just in case something goes wrong.
Add Open command window here as administrator in Windows 10 Context Menu Remove Open command window here as administrator in Windows 10 Context Menu
1.Open empty Notepad file and then paste the following text as it is: 2.Click File then Save as from the Notepad menu.
3.From Save as type drop-down select “All Files.“ 4.Type the name of the file as cmd.reg (.reg extension is very important).
5.Now navigate to the location where you want to save the file and then click Save. 6.Double-click the file then click Yes to continue and this would add the option “Open command prompt here as administrator” in the context menu.
7.Now right-click any folder and you would see “Open command prompt here as administrator“.
Remove Open command window here as administrator in Windows 10 Context Menu
1.Open empty Notepad file and then paste the following text as it is: 2.Click File then Save as from the Notepad menu.
3.From Save as type drop-down select “All Files.“ 4.Type the name of the file as remove_cmd.reg (.reg extension is very important).
5.Now navigate to the location where you want to save the file and then click Save. 6.Double-click the file then click Yes to continue.
7.Now right-click any folder and the “Open command window here as administrator” option would have been removed successfully. Recommended:
Change Default Action when you close your Laptop Lid How to Open Command Prompt at Boot in Windows 10 Prevent Changing Color and Appearance in Windows 10 5 Ways to Open Elevated Command Prompt in Windows 10
That’s it, you successfully learned How to Add Open command window here as administrator in Windows 10 Context Menu but if you still have any queries regarding this post then feel free to ask them in the comment’s section.