Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Vista Newsgroups > Vista security

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

Reply
 
Old 12-10-2007   #1 (permalink)
WildCatXXX


 
 

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

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


My System SpecsSystem Spec
Old 12-10-2007   #2 (permalink)
JerryM


 
 

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

Why not go to the Control panel, select User Accounts and just turn off UAC?

"WildCatXXX" <WildCatXXX@xxxxxx> wrote in message
news:2455E478-EF05-464A-B33D-6E430FD067E0@xxxxxx
Quote:

>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
>
My System SpecsSystem Spec
Old 12-11-2007   #3 (permalink)
Wildcat


 
 

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

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

"JerryM" <jerrym526@xxxxxx> wrote in message
news:eEGPCa2OIHA.4688@xxxxxx
Quote:

> Why not go to the Control panel, select User Accounts and just turn off
> UAC?
>
> "WildCatXXX" <WildCatXXX@xxxxxx> wrote in message
> news:2455E478-EF05-464A-B33D-6E430FD067E0@xxxxxx
Quote:

>>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
>>
>
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
Set Group Policy different for each user group? System Security
Group Policy Vista General
Group Policy Vista account administration
Group Policy Vista General
The new Group Policy Vista account administration


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46