Vbscript / Operating System / Disable Vista User Account Control
Use the following script to turn off Windows Vista User Account Control (UAC) which produces a prompt every time an operation requiring elevated priviledges is performed. Alternatively run msconfig, go to the Tools tab, select Disable UAC and click Launch.
In either case a reboot is required before UAC is disabled.
Set objShell = WScript.CreateObject("WScript.Shell")
strUAC = "HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA"
objShell.RegWrite strUAC, "0", "REG_DWORD"
Please note that a disclaimer applies to any code on this page.
|