


Remove Command Window Here (Administrator) from Context Menu in Windows 10
If you're looking for a way to remove items from right-click menu for files, folders, and the desktop, you can do it yourself with a little bit of registry hacking. This article will show you how to remove items from the right-click context menu on Desktop, file, and folder. We'll take remove "Open Command Prompt as Administrator" from the context menu as an example.
- Option 1: Remove items from the context menu on the folder
- Option 2: Remove items from the context menu on Desktop
Remove Items from File Right-Click Context Menu on File/Folder
Important Note: Make sure to back up your registry in case something gets messed up.
To remove the Open Command Window Here (Administrator) option from the context menu for file and folder. Here's how:
Step 1: Open the Registry Editor.
Press Win+R keys to bring up the Run dialog, input regedit and then hit Enter key.
Step 2: In the Registry Editor, go to the following registry keys:
HKEY_CLASSES_ROOTDirectoryshellrunas
HKEY_CLASSES_ROOTDirectoryshellrunascommand
Step 3: Remove the entire key for that particular program by right-clicking and choosing Delete.
Remove Command Prompt (Administrator) from Context Menu for Desktop
You can follow the same steps as shown above for Desktop, but this time it uses a different registry path. To remove Command Prompt(Admin) for right-clicking on Desktop, go to the following registry keys:
HKEY_CLASSES_ROOTdirectoryBackgroundShellrunas
HKEY_CLASSES_ROOTdirectoryBackgroundShellrunascommand
Remove the entire key for that particular program by right-clicking and choosing Delete.
Test it by right-clicking on the file. Make sure "Open Command Prompt (Administrator)" is removed.
The above is the detailed content of Remove Command Window Here (Administrator) from Context Menu in Windows 10. For more information, please follow other related articles on the PHP Chinese website!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics











KB5054979 is a cumulative security update released on March 27, 2025, for Windows 11 version 24H2. It targets .NET Framework versions 3.5 and 4.8.1, enhancing security and overall stability. Notably, the update addresses an issue with file and directory operations on UNC shares using System.IO APIs. Two installation methods are provided: one through Windows Settings by checking for updates under Windows Update, and the other via a manual download from the Microsoft Update Catalog.

Nanoleaf's Pegboard Desk Dock: A Stylish and Functional Desk Organizer Tired of the same old charging setup? Nanoleaf's new Pegboard Desk Dock offers a stylish and functional alternative. This multifunctional desk accessory boasts 32 full-color RGB

Unlocking Ryzen's Potential: A Simple Guide to Precision Boost Overdrive (PBO) Overclocking your new PC can seem daunting. While performance gains might feel elusive, leaving potential untapped is even less appealing. Fortunately, AMD Ryzen processo

ASUS ROG Zephyrus G14 Esports Laptop Special Offer! Buy ASUS ROG Zephyrus G14 Esports Laptop now and enjoy a $300 offer! Original price is $1999, current price is only $1699! Enjoy immersive gaming experience anytime, anywhere, or use it as a reliable portable workstation. Best Buy currently offers offers on this 2024 14-inch ASUS ROG Zephyrus G14 e-sports laptop. Its powerful configuration and performance are impressive. This ASUS ROG Zephyrus G14 e-sports laptop costs 16 on Best Buy

Turn your Windows 11 PC into a Bluetooth speaker and enjoy your favorite music from your phone! This guide shows you how to easily connect your iPhone or Android device to your computer for audio playback. Step 1: Pair Your Bluetooth Device First, pa

Unlock Hidden Windows Features for a Smoother Experience! Discover surprisingly useful Windows functionalities that can significantly enhance your computing experience. Even seasoned Windows users might find some new tricks here. Dynamic Lock: Auto

Windows 11's Start Menu Gets a Much-Needed Overhaul Microsoft's Windows 11 Start menu, initially criticized for its less-than-intuitive app access, is undergoing a significant redesign. Early testing reveals a vastly improved user experience. The up

##### Razer Basilisk V3 Pro: High-performance wireless gaming mouse The Razer Basilisk V3 Pro is a high-performance wireless gaming mouse with high customization (11 programmable buttons, Chroma RGB) and versatile connectivity. It has excellent sensors, durable switches and extra long battery life. If you are a gamer looking for a high-quality wireless mouse and need excellent customization options, now is a great time to buy the Razer Basilisk V3 Pro. The promotion cuts prices by 39% and has limited promotion periods. This mouse is larger, 5.11 inches long and 2 inches wide
