Teach you to open the command line window as an administrator

  

It is well known that with the help of UAC (User Account Control), Windows Vista cancels the Power user user group that was once important in previous Windows XP. After the default installation, there are only two types of account types: standard user and administrator user. In this way, by letting the program run under the standard user authority by default, the purpose of protecting the system account and setting is achieved, and the security of Windows Vista is improved. - Of course, when you need higher privileges to implement the corresponding operations, you can increase the permissions through the UAC pop-up window.

Similarly, for the command line window in Windows Vista, the default permissions that it runs are also standard users, even if the currently logged in user has administrator privileges. This often causes inconvenience, after all, we often use the command line window for system-level operations - Windows Vista provides a wealth of commands for system-level settings, which are often simpler and more efficient than graphical interfaces - frequently popped UAC confirmations The window is boring, and in some cases it can even cause the operation to fail, so it is more convenient to open the command line window directly with administrator privileges.

Of course, we can disable UAC in Windows Vista, but from a system security perspective, this is obviously not a good choice.

Open a command line window as an administrator (mouse operation)

This is the most common way, as shown in the following figure, on the command line window (Command Prompt: Command Prompt) icon Right-click and select Run as Administrator on the pop-up menu.


This is also the general way to run programs with administrator privileges in Windows Vista, which is the same for other applications.

Open a command line window as an administrator (keyboard operation)

For skilled users, you may prefer to use keyboard operations instead of multiple clicks as above. Move the mouse. To run the command line window as an administrator in Windows Vista, you can also do this with a simple combination of keys. The specific steps are as follows:

Click the Start button;

Enter "cmd" in the search box;

Press the "Ctrl" key and the "Shift" key simultaneously, then Press "Enter";

This opens the command line window to run under administrator privileges.

Copyright © Windows knowledge All Rights Reserved