How to set Win8 to start CMD

  
as an administrator by default. CMD (Command Prompt) is very frequently used by some users and needs to be started as an administrator. In fact, we can set the default to start CMD as an administrator, let's take a look at how to operate under Win8.

Operation Steps

In the first step, right-click on the desktop to create a new text file and copy the following code into Notepad.

reg add "HKEY_CURRENT_USER\\Software\\Microsoft\\Windows NT\\CurrentVersion\\AppCompatFlags\\Layers" /v "c:\\windows\\system32\\cmd.exe" /d "RUNASADMIN" /f

Step 2, click on the File menu, select “Save As & rdquo; In the Save As dialog box, set the save type to “All Files", and then name the file “CMD.BAT”.

The third step is to right-click the CMD.BAT file on the desktop and select “Run as administrator” in the menu. After the operation is completed, try to execute the CMD command in the running. Is it open? Administrator: C:\\windows\\system32\\cmd.exe interface?

I believe this simple operation process is not a problem for most users. Users who have high usage requirements for CMD can quickly set it up.

Copyright © Windows knowledge All Rights Reserved