How to Always Open Command Prompt as Administrator

 How to Always Open Command Prompt ''Run as Administrator''


There are several ways to always open Command Prompt as Administrator in Windows. Here are a few methods you can use:

 

 Method 1: Using Start Menu/Search Bar

 

1. Click on the Start menu (or press the Windows key) and type "Command Prompt" or "cmd" in the search bar.

2. Right-click on "Command Prompt" or "cmd" in the search results.

3. Select "Run as administrator" from the context menu.

  

 Method 2: Using Run Dialog

 

1. Press Win + R on your keyboard to open the Run dialog box.

2. Type "cmd" or "cmd.exe" into the Run box.

3. Press Ctrl + Shift + Enter or Ctrl + Shift + Click OK. This will open Command Prompt as Administrator.

 

 Method 3: Creating a Desktop Shortcut

 

1. Right-click on the desktop and select "New" > "Shortcut."

2. In the Create Shortcut wizard, type "cmd" and click "Next."

3. Enter a name for the shortcut (e.g., "Command Prompt (Admin)") and click "Finish."

4. Right-click on the newly created shortcut and select "Properties."

5. In the Properties window, go to the "Shortcut" tab.

6. Click the "Advanced" button.

7. Check the box that says "Run as administrator" and click "OK."

8. Click "OK" again to close the Properties window.

 

Now, whenever you double-click this shortcut, Command Prompt will always open as Administrator.

 

 Method 4: Pinning to Taskbar/Start Menu

 

1. Search for "Command Prompt" or "cmd" in the Start menu or search bar.

2. Right-click on "Command Prompt" in the search results.

3. Select "More" and then choose "Pin to taskbar" or "Pin to Start."

 

Now, you can simply click the pinned icon on the taskbar or Start menu to open Command Prompt as Administrator.

 

Using any of these methods, you can ensure that you always open Command Prompt with administrative privileges in Windows.

Comments

Popular posts from this blog

How to create a website in iis windows server 2022

How to Install Windows 10 using Windows Deployment Services (WDS) in Server 2016, 2019, or 2022 Step by Step Guide

Setting the wallpaper for Windows clients via Group Policy in Windows Server 2022