Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Trying to apply a Group Policy via regedit script command;..

Trying to apply a Group Policy via regedit script command;..

Forum Windows XP : Windows XP General Discussion - Trying to apply a Group Policy via regedit script command;..

Tom's Hardware: Over 1.4 million members in 6 different countries available to answer all your high-tech questions. Sign up now! Its free!
Word :    Username :           
 

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

 

Hi all,

I'm trying to use UpdateExpert to send a "regedit /s file.reg" command to
client machines. My goal is to have the Group policies:

"Configure Automatic Updates"
and
"Specify interanet Microsoft update service location"

to appear the same;have the same settings as if I manually connected to each
machine and ran gpedit.msc, applied the snap-in if necessary, and input the
data.

to accomplish this, I applied the settings via gpedit to a test machine and
then scanned the regestry for the wus ip address.
I found some relevant keys and created the following .reg file: (xxx to
mask real ip and info)
-----------------------------------------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"WUServer"="http://xxx.xxx.xxx.xxx"
"WUStatusServer"="http://xxx.xxx.xxx.xxx"

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoRebootWithLoggedOnUsers"=dword:00000001
"RescheduleWaitTime"=dword:00000001
"NoAutoUpdate"=dword:00000000
"AUOptions"=dword:00000004
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:00000003
"UseWUServer"=dword:00000001

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy
Objects\{6DAxxxxx-24C1-466D-B0C0-0B168ABxxxxx}Machine\Software\Policies\Microsoft\Windows\WindowsUpdate]
"WUServer"="http://xxx.xxx.xxx.xxx"
"WUStatusServer"="http://xxx.xxx.xxx.xxx"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Group Policy
Objects\{6DAxxxxx-24C1-466D-B0C0-0B168ABxxxxx}Machine\Software\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoUpdate"=dword:00000000
"AUOptions"=dword:00000004
"ScheduledInstallDay"=dword:00000000
"ScheduledInstallTime"=dword:00000003
"UseWUServer"=dword:00000001
-----------------------------------------------------------------------------------------

after applying my custom update I also automaticly scan the registry for
compliance on each machine and the registry is indeed changed no problem.

My problem is, if I then go into a machine and run gpedit, the fields are
still 'not configured'

Obviously I'm missing something else; another reg key, but I dont know which
one/s. I need to know what other keys are needed to switch the settings to
'enabled'. I think the fields will then be automaticly populated via the
other keys I already have.

Another option would be the command line gpedit to accomplish this but Im
not very familiar with this commands switches and it needs to have an /s
type switch so it could be done remotely, via a system account whether users
are logged in or not.

Sponsored Links
Register or log in to remove.

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

 

Hello,

Are these computers running within a domain? If so, are you running Active
Directory on them? You can set both of those policies by domain policy if
you are in fact in such a configuration.

Reply to Anonymous

Archived from groups: microsoft.public.windowsxp.security_admin (More info?)

 

"PBA-IT" <PBAIT@discussions.microsoft.com> wrote in message
news:092AC16E-2995-415D-9C7F-D88FFCDC5C0D@microsoft.com...
> Hello,
>
> Are these computers running within a domain? If so, are you running
> Active
> Directory on them? You can set both of those policies by domain policy if
> you are in fact in such a configuration.

yes, yes but no,

In my particular case, I'm in a very large domain, but even policies applied
just to my OU take an act of congress to get approved and applied. Also, if
I can figure this out, I'll use this method instead.. to apply other group
policies as needed and if I know the .reg key it's easy to generate an
automated query/check for a machines compliance. Our OU admins are not given
enough toys to play with...

Reply to sniffinpoprocks
Tom's Hardware > Forum > Windows XP > Windows XP General Discussion > Trying to apply a Group Policy via regedit script command;..
Go to:

There are 526 identified and unidentified users. To see the list of identified users, Click here.

Please mind

You are about to answer a thread that has been inactive for more than 6 months.
If you still wish to proceed, please ensure that your posting is original and does not duplicate or overlap any prior responses to this thread.

Add a reply Cancel
Sponsored links
  • Ask the community now
  • Publish
Ad
They won a badge
Join us in greeting them