Is there a reason just opening the User Accounts control panel and clicking
"Turn User Account Control on or off" would not work for you?
---
Your question may already be answered in Windows Vista Security:
http://www.amazon.com/gp/product/047...otectyourwi-20
"Wildcat" wrote:
Quote:
> I am trying to disable UAC on a more permanent basis than just turning it
> off as Windows Defender will turn it back on. I am using this script:
>
> C:\Windows\System32\cmd.exe /k
> %windir%\System32\reg.exe ADD
> HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Pol icies\System /v EnableLUA
> /t REG_DWORD /d 0 /f
>
> in order to actually turn UAC off. I am running it in Task Scheduler and it
> does turn UAC off. However, it requires a second boot to apply it. This
> takes too long so I am looking for a script that tests if UAC is on or off
> and re-boots only if it is on.
> I tried a second batch file to run upon logon to reboot (shutdown -r -t 0)
> but I got into a perpetual reboot situation which required an Acronis
> restore to get out of. Any idea how to get the second boot only if UAC is
> turned on?
> I don't need the aggravation of UAC as I am the sole user and depend on my
> daily Acronis backups to resolve any problems that might occur by turning it
> off.
>