Group Policy - I need to write a script to run on shutdown

  • Thread starter Thread starter WildCatXXX
  • Start date Start date
W

WildCatXXX

I am trying to run a batch file at shutdown in Vista containing :
C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD
HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA
/t REG_DWORD /d 0 /f

so I can automatically turn off UACand keep UAC off at every boot (it keeps
turning back on).

I could do a script in XP but it seems I have no gpedit.msc in Vista. The
Group Policy and Group Policy Users folders are both empty in
C:\Windows\system32.
This is an upgrade version of Vista Home Premium installed as a clean (full)
install and it is activated. What am I missing?

Wildcat
 
I think Windows Defender keeps turning it back on and then I would not have
to turn it off again and reboot.
 
Back
Top