Effortless Guide- How to Open Command Prompt as Admin from File Explorer with a Single Click

by liuqiyue

How to Open CMD as Admin from File Explorer

Are you tired of navigating through the Windows interface just to open Command Prompt (CMD) as an administrator? If so, you’re not alone. Many users find it cumbersome to switch between different applications and settings to elevate their privileges for running certain commands. However, there’s an easier way to open CMD as admin directly from the File Explorer. In this article, we’ll guide you through the process, making your life a bit more convenient.

Step 1: Right-click on the Command Prompt icon

The first step is to locate the Command Prompt icon in your File Explorer. You can find it by typing “cmd” in the search bar at the top right corner of the File Explorer window. Once you’ve found it, right-click on the icon to open a context menu.

Step 2: Select “Run as administrator”

In the context menu, you’ll see an option called “Run as administrator.” Click on this option to elevate your privileges and open Command Prompt with administrative rights.

Step 3: Confirm the UAC prompt

After selecting “Run as administrator,” you’ll be prompted by the User Account Control (UAC) to confirm your decision. Click “Yes” to proceed, and Command Prompt will open with administrative privileges.

Step 4: Customize the shortcut (optional)

If you frequently need to open CMD as admin, you can create a shortcut to do so directly from the File Explorer. To do this, right-click on the Command Prompt icon, select “Properties,” and then click on the “Shortcut” tab. In the “Target” field, add “runas /user:administrator” at the end of the existing path. This will create a shortcut that opens CMD as admin by default.

Step 5: Use the keyboard shortcut

If you want to open CMD as admin without using the mouse, you can use a keyboard shortcut. Press “Win + X” to open the Quick Access Menu, then type “cmd” and press “Enter.” This will open Command Prompt as an administrator.

Conclusion

Opening Command Prompt as an administrator from the File Explorer is a simple and straightforward process. By following the steps outlined in this article, you can easily elevate your privileges and run commands that require administrative access. Say goodbye to the hassle of navigating through the Windows interface and enjoy a more convenient experience with elevated Command Prompt sessions.

You may also like