Sunday, April 03, 2011

How to Disable Win7 and Win2008R2 UAC

To manage, migrate or run remote migration apps on Windows Vista, Windows 7, Windows 2008 and Windows 2008R2, the User account control must be disabled.

Open an elevated command prompt as administrator.
To disable the UAC, run the following commands:

%windir%\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f

and optionally, the following command to suppress all elevation consent request and notification:

%windir%\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v ConsentPromptBehaviorAdmin /t REG_DWORD /d 0 /f

No comments: