cmd The command to obtain administrator rights is "runas /user:administrator cmd". The method of use is: first click "Run" and enter "cmd" in the input field; then enter "runas /user in the window :administrator cmd" and password.
The operating environment of this tutorial: Windows 7 system, Dell G3 computer.
Open the computer search box/or click Run and enter cmd;
Click the command prompt;
Enter runas /user:administrator cmd in the command prompt;
Enter the password to enter the administrator’s cmd permissions;
But here you need to know the password of the administrator. It is also possible not to use the administrator user here. You can also use other users in the same management group to start cmd. The permissions are also administrators. For example, there is a user named: abc in the administrators. Then you can use the command: runas / user:abc cmd. At this time, just enter the login password of user abc.
For more computer-related knowledge, please visit the FAQ column!
The above is the detailed content of What is the cmd command to obtain administrator rights?. For more information, please follow other related articles on the PHP Chinese website!