As we all know, Command Prompt in Windows OS is used to launch programs, change various Windows settings, and enable or disable some Windows features.
An elevated Command Prompt or Command Prompt with administrator rights is necessary to execute certain commands in Vista, Windows 7, Windows 8 and Windows 8.1 versions. For instance, you have to run Command Prompt as administrator in order to enable Hibernationfeature in recent versions of Windows.
There are a couple of ways to open Command Prompt as administrator in Windows 8.1. Following are some of the ways to open Command Prompt as administrator in Windows 8.1:
Step 1: Switch to the Start screen.
Step 2: Type Command Prompt and then simultaneously press Ctrl + Shift + Enter keys. Note that you don’t need to open the Search charm to begin searching when you in the Start screen. Simply switch to the Start screen and begin typing to see the search result.
Step 3: Click on the Yes button when you see the User Account Control (UAC) dialog to open elevated Command Prompt.
Method 2: Use this method if you prefer to open admin Command Prompt from desktop.
The power user menu or the Win+X menu that appears when you right-click on the Start button on the Windows 8.1 taskbar shows Windows PowerShell and Windows PowerShell (admin) options with default settings. If you prefer to use Command Prompt over PowerShell, you can configure Windows 8.1 to display Command Prompt and Command Prompt (admin) options in the power user menu by following given below steps.
Step 1: Right-click on the empty space of taskbar and then click Properties to open Taskbar and Navigation Properties dialog.
Step 2: Switch to the Navigation tab and check the option titled Replace Command Prompt with Windows PowerShell in the menu when I right-click the lower-left corner of press Windows key + X to replace Windows PowerShell option in the power user menu with Command Prompt.
Step 3: From now on, you can simply right-click on the Start button, click Command Prompt (admin) and then click on the Yes button when you see the UAC prompt to run Command Prompt as administrator.
Method 3: Opening Command Prompt as administrator from Start screen.
Step 1: When you are in the Start screen, type Command Prompt to see Command Prompt in the search result.
Step 2: Do a right-click on the Command Prompt entry and then click Run as administratoroption to open elevated Command Prompt.
Method 4: If for some reason, above mentioned methods fail to work on your PC, you can use this method.
Step 1: Open your Windows 8.1 installed drive (system drive, usually “C”).
Step 2: Navigate to Windows folder and then open up System 32 folder.
Step 3: Locate the file named CMD, right-click on it, and then click Run as administratoroption.
Step 4: Click on the Yes button when you see the UAC prompt to open Command Prompt as administrator. Good luck!