How to Create a Shortcut for Command Prompt with Admin Rights

If you frequently use the Command Prompt with administrative privileges, creating a shortcut can save you time and effort. This guide walks you through the steps to set up a shortcut that opens the Command Prompt with admin rights on Windows.

Step 1: Create a Shortcut

  1. Right-click on the Desktop: Begin by right-clicking on an empty space on your desktop.
  2. Select New: From the context menu, hover over “New” and then click on “Shortcut.”

Step 2: Enter the Command Prompt Path

In the shortcut creation wizard, you will be prompted to enter the location of the item. For the Command Prompt, input the following path:

makefile
C:\Windows\System32\cmd.exe

Click “Next” to proceed.

Step 3: Name Your Shortcut

Now, you need to give your shortcut a name. For simplicity, you might choose to name it “cmd” or any name that helps you identify it easily.

Click “Finish” to create the shortcut.

Step 4: Set Up the Shortcut for Administrative Privileges

  1. Right-click on the Newly Created Shortcut: Locate the shortcut on your desktop, right-click on it, and select “Properties.”
  2. Open the Shortcut Tab: In the properties window, ensure you are on the “Shortcut” tab.
  3. Click on Advanced: In the lower right corner, you will see an “Advanced” button. Click on it.
  4. Check the Box: In the Advanced Properties window, check the box that says “Run as administrator.”
  5. Apply the Changes: Click “OK” to close the Advanced Properties window, and then click “Apply” followed by “OK” to close the shortcut properties.
    xz

Step 5: Test the Shortcut

Now that you’ve set up the shortcut, double-click on it to test it. You should see a User Account Control (UAC) prompt asking for permission to run Command Prompt with administrative rights. Click “Yes,” and the Command Prompt window will open with admin privileges.

Conclusion

Creating a shortcut for the Command Prompt with administrative rights streamlines your workflow and enhances your productivity. By following these steps, you can easily access the Command Prompt whenever you need it, ensuring you have the necessary permissions for any tasks you wish to perform.

Check Also

iOS 18’s Best Features

iOS 18’s Best Features

Exciting New Features in iOS 18 Apple has just launched the new iPhone, and along …

Leave a Reply

Your email address will not be published. Required fields are marked *