Microsoft Windows Vista Community Forums - Vistaheads
Recommended Download



Welcome to the Microsoft Windows Vista Community Forums - Vistaheads, YOUR Largest Resource for Windows Vista related information.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so , join our community today!

If you have any problems with the registration process or your account login, please contact us.

Driver Scanner

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

microsoft.public.windows.vista.security






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

Posts: n/a
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\Pol icies\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

Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 12-10-2007
JerryM
 

Posts: n/a
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@discussions.microsoft.com> wrote in message
news:2455E478-EF05-464A-B33D-6E430FD067E0@microsoft.com...
>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\Pol icies\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
>


Reply With Quote
  #3 (permalink)  
Old 12-11-2007
Wildcat
 

Posts: n/a
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@msn.org> wrote in message
news:eEGPCa2OIHA.4688@TK2MSFTNGP06.phx.gbl...
> Why not go to the Control panel, select User Accounts and just turn off
> UAC?
>
> "WildCatXXX" <WildCatXXX@discussions.microsoft.com> wrote in message
> news:2455E478-EF05-464A-B33D-6E430FD067E0@microsoft.com...
>>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\Pol icies\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
>>

>


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Group Policy Wildcat microsoft.public.windows.vista.general 4 12-11-2007 22:09
Article ID: 939771 The "Change the time zone" policy setting is absent when you view the Group Policy Results report on a client computer that is running Windows Vista KBArticles English 0 10-22-2007 20:00
Group Policy John microsoft.public.windows.vista.administration accounts passwords 2 10-21-2007 00:26
Run script Mark Goldin microsoft.public.windows.vista.general 6 05-17-2007 02:21
Group Policy Zeusi microsoft.public.windows.vista.general 1 03-03-2007 14:48




All times are GMT +1. The time now is 05:33.




Driver Scanner - Free Scan Now

Vistaheads.com is part of the Heads Network. See also XPHeads.com , Win7Heads.com and Win8Heads.com.


Design by Vjacheslav Trushkin for phpBBStyles.com.
Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.6.0 RC 2

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 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120