HTFC Forums

H.T.F.C.

How To Fix Computers





Go Back   HTFC Forums > Software Newsgroups > Windows Vista

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1  
Old 12-10-2007, 02:55 PM
Wildcat
 
Posts: n/a
Default Group Policy

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
install and it is activated. What am I missing?

Wildcat

Reply With Quote
Sponsored Links
  #2  
Old 12-10-2007, 04:42 PM
Carey Frisch [MVP]
 
Posts: n/a
Default Re: Group Policy

Gpedit.msc is only available with Vista Business, Ultimate or
Enterprise editions.

Perhaps the following will help you out:

The easy way to disable Vista's UAC
http://www.edbott.com/weblog/?p=1829

--
Carey Frisch
Microsoft MVP
Windows Shell/User

---------------------------------------------------------------

"Wildcat" wrote:

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
install and it is activated. What am I missing?

Wildcat
Reply With Quote
  #3  
Old 12-10-2007, 06:07 PM
Wildcat
 
Posts: n/a
Default Re: Group Policy

That's kinda like buying a Playboy or Penthouse and finding someone removed
the centrefold.


"Carey Frisch [MVP]" <cnfrisch@nospamgmail.com> wrote in message
news:8C22AFD6-8B0B-4911-8893-09E6E6DCA3CE@microsoft.com...
> Gpedit.msc is only available with Vista Business, Ultimate or
> Enterprise editions.
>
> Perhaps the following will help you out:
>
> The easy way to disable Vista's UAC
> http://www.edbott.com/weblog/?p=1829
>
> --
> Carey Frisch
> Microsoft MVP
> Windows Shell/User
>
> ---------------------------------------------------------------
>
> "Wildcat" wrote:
>
> 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
> install and it is activated. What am I missing?
>
> Wildcat


Reply With Quote
  #4  
Old 12-10-2007, 08:00 PM
John
 
Posts: n/a
Default Re: Group Policy

I get a syntax error when trying to run your script on Vista Business. Type
reg add /? for usage.


"Wildcat" <wildxcat2000@hotmail.com> wrote in message
news:OY$ZRU0OIHA.3532@TK2MSFTNGP04.phx.gbl...
>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
> install and it is activated. What am I missing?
>
> Wildcat
>



Reply With Quote
  #5  
Old 12-11-2007, 08:09 PM
Ronnie Vernon MVP
 
Posts: n/a
Default Re: Group Policy

Wildcat

Just for reference, the 'Home' versions of Windows have never included the
advanced .MSC tools like SecPol, GPEdit, etc.

Most of the settings included in these advanced tools can be set using the
registry, as you are trying to do here.

Change your batch to:

C:\Windows\System32\cmd.exe /k
reg add HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Pol icies\System /v
EnableLUA /d 0 /f

Another problem is that this batch will need to be initiated from an
elevated command prompt.

The easiest way around this would be to run the batch as a Scheduled Task
and set the task to
'Run at shutdown'
and
'Run with highest privileges'.

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


"Wildcat" <wildxcat2000@hotmail.com> wrote in message
news:%232Aon$1OIHA.2308@TK2MSFTNGP05.phx.gbl...
> That's kinda like buying a Playboy or Penthouse and finding someone
> removed the centrefold.
>
>
> "Carey Frisch [MVP]" <cnfrisch@nospamgmail.com> wrote in message
> news:8C22AFD6-8B0B-4911-8893-09E6E6DCA3CE@microsoft.com...
>> Gpedit.msc is only available with Vista Business, Ultimate or
>> Enterprise editions.
>>
>> Perhaps the following will help you out:
>>
>> The easy way to disable Vista's UAC
>> http://www.edbott.com/weblog/?p=1829
>>
>> --
>> Carey Frisch
>> Microsoft MVP
>> Windows Shell/User
>>
>> ---------------------------------------------------------------
>>
>> "Wildcat" wrote:
>>
>> 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
>> install and it is activated. What am I missing?
>>
>> Wildcat

>


Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Group Policy & Local Policy Sifu Fernandez Windows XP 2 10-08-2007 10:21 PM
Group Policy Service Andrea Windows Vista 1 10-04-2007 09:41 AM
set wallpaper by group policy Americo Fernando Windows XP 3 09-27-2007 09:24 PM
Group Policy Editor mr lasenby Windows Vista 4 06-23-2007 06:36 PM
group policy editor John Windows XP 3 04-08-2007 11:25 PM


All times are GMT. The time now is 05:53 AM.


Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© 2004 - 2007 Web-S-Sense Pty. Ltd. Usenet and forums posts © their respective authors.
Ad Management by RedTyger