As we all know, in Windows Vista, when you open a command-line window, even though the current logged-on user is administrator, it runs with the default standard user rights, which can be inconvenient in many cases, especially when system-level settings are in place--in fact, We are in the operation of most of the discard graphical interface and the use of the command line is the system-level settings, after all, the graphical interface, although easy to use, but often not efficient, such as multiple clicks are very cumbersome--at the same time, Windows The UAC mechanism in Vista also makes it necessary to frequently increase operator privileges through the UAC pop-up window when making system settings, sometimes even to the point of annoyance.
Therefore, it is no doubt more convenient to open a command line window directly with administrator privileges. But generally speaking, whether the mouse or keyboard operation described in this article is not a "very simple" solution: either need to combine the mouse or left button or need to press the "Ctrl+shift+enter" key combination. This article describes an easier way to create a shortcut to open a command-line window with administrator rights on the Windows Vista desktop, or to integrate a link to open a command line window with administrator privileges in the Start menu, so that we can do it with just one click of the mouse.
Create a shortcut to open a command line window with Administrator permissions
The easiest way to do this is to create a shortcut to open a command line window directly on the Windows Vista desktop by default using administrator privileges, as follows:
- Right-click on the Windows Vista desktop;
- Select New Shortcut from the pop-up menu;
- In the Create Shortcut dialog box, enter "CMD";
- Name the shortcut, in our example, "command line (HIGHDIY)"
- Right-click on the shortcut and select Properties;
- On the shortcut Options page, click the Advanced button;
- In the advanced properties, select the Run as Administrator option and click OK to complete the setup.
Create a link to open a command line window with administrator permissions in the Start menu
In the same way, we can also integrate a link that opens the Command Line window with administrator privileges into the Start menu, so that you will also need to click once in the operation.
- Click the Start menu;
- Typing "cmd" in the search box will see the command line shortcuts in the returned search results;
- Right-click the shortcut;
- Select the "Attach to" Start menu in the pop-up menu so that the shortcut appears on the Start menu;
- Next we set up the operation permissions. Right-click the command line item you just created, and select the property;
- Click the Advanced button to open the Advanced Properties dialog box;
- Check the "Run this program as an administrator" item, and then click OK.
copyright©2006-2007 Vista World,