Win8 How to set the default to start cmd as an administrator

Source: Internet
Author: User

CMD (Command Prompt) is a very high frequency for some users and needs to be started as an administrator. In fact, we can set the default as an administrator to start cmd, we look at how to operate under the WIN8.

  Operation Steps

First, right-click on the desktop to create a new text file, copy the following code into Notepad.

REG ADD "Hkey_current_usersoftwaremicrosoftwindows ntcurrentversionappcompatflagslayers"/V "C: Windowssystem32cmd.exe "/d" runasadmin "/F

The second step, click on the File menu, select Save As, Save As dialog box, set the saving type to "All Files", and then name the file "CMD." BAT ".

The third step, right click on the desktop Cmd.bat file, menu select "Run with administrator rights", after the operation is completed, try to execute cmd command in operation, is not open is the administrator: C:windowssystem32cmd.exe interface?

Believe that this simple operation process for most users is not a problem, the CMD has a high demand for users can quickly set up.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.