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

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
 
W

Wildcat

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

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top