% windir% System32reg.exe ADD HKLMSOFTWARE MicrosoftWindowsCurrentVersionPoliciesSystem / v EnableLUA / t REG_DWORD / d 0 / f
Press Enter . This command will turn off UAC.
The second line type:
shutdown / r / t 20 / c "Restarting your system in 20 seconds. To cancel, choose Start, type shutdown / a and press Enter"
Press Enter. This line will instruct the machine to restart after 20 seconds and include a guide to stop this process as needed. Change the number 20 to any number. Then click File > Save As to save in .cmd format.
Next, create a shortcut to the file you just created. Define the icon for this file, hold down the right mouse button when dragging the icon to the desired location and release the button> select Create Shortcuts here . Right-click the shortcut and select Properties . In the Shortcut tab, click the Advanced button, check Run as administrator and click OK twice. Later, when you start that shortcut, UAC will still appear but at least you have the privilege of running the batch file after confirming it.
Continue to open Notepad and click File > New . Typing seamlessly:
% windir% System32reg.exe ADD HKLMSOFTWAREMicrosoftWindows CurrentVersionPoliciesSystem / v EnableLUA / t REG_DWORD / d 1 / f
Press Enter .
The second line type:
shutdown / r / t 20 / c "Restarting your system in 20 seconds. To cancel, choose Start, type shutdown / a and press Enter"
Then save the file in .cmd format. Since you will run this file when UAC is turned off, there is no need to create a shortcut like the first batch file. When you need to reactivate UAC, run it directly.
Since both batch files restart the system, save all the work you are doing.
- Login with a user account
If you can't stand UAC, log in with a normal non-administrator user account, but still have to create an administrator account for the system.
Go to the Start menu> type User Accounts > select the account name from the results line found. Select Manage another account to "downgrade" another account, not the account you are logged in to. Confirm this command when asked. Select the administrator account you want to downgrade, press Change the account type > Standard user > Change Account Type . Since you will be working at a less privileged user level, you will not be able to do things that interfere with UAC rules.
From now on, if you need to install or run an application under a manager, right-click its .exe file and select Run as administrator .
- Turn off part of UAC
Although annoying, UAC is also a dedicated "guard" and you need it in some situations. Although Control Panel restricts the UAC on / off, you can edit it via the Group Policy Object Editor.
Click Start > type gpedit.msc and press Enter . Confirm in the dialog box that appears. In the program tree on the left, go to Local Computer PolicyComputer ConfigurationWindows SettingsSecurity SettingsLocal PoliciesSecurity Options .
With Security Options selected, go down to the right to enter UAC options. The settings here are quite obvious. If you want to get a UAC dialog for many tasks but want to install the software without its intervention, double-click User Account Control: Detect application installations and prompt for elevation . Select Disabled > OK and restart the computer.
Another way is to enable UAC but turn off the prompt dialog. At this point, UAC still protects Internet Explorer security features. Double-click User Account Control: Behavior of elevation prompt for administrators in Admin Approval Mode > select Elevate without prompting from the drop-down list> click OK . A window will show that UAC is turned off, but please ignore it.
However, Vista Home Premium does not have Group Policy Editor. To change this, you can go to the registry edit (but note to back it up first so that it can be restored later).
Go to Start > type regedit > press Enter . In the program tree, locate HKEY_LOCAL_MACHINESOFTWARE MicrosoftWindowsCurrentVersionPoliciesSystem .
With System selected in the left pane, double-click ConsentPromptBehaviorAdmin on the right. Change Value to 0 and click OK . No need to reboot.