Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

registry settings doesn't show up in gpedit.msc.

Status
Not open for further replies.

DrPink

IS-IT--Management
Nov 18, 2007
47
DE
Hi there
I've been messing around with windows update (postet another tread 2 days ago) and something is annoying me.
I have to set up a bunch of W2k pro machines to receive updates from WSUS. We have an NT enviroment.
I was thinking:
set up a client manually via group policy editor and copy the registryhive (HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate)
from that machine to the others, but...
When it's done and the client is restartet, the settings doesn't show up i Group policy editor! It still connects to WSUS, but I can't see the settings, other than thru regedit.
The way I'm doing it, is export hive in regedit to a file. From the other client I simply click on the file and it edits the registry.

Why is that and how can I change it? Am I doing anything wrong?


Real life needs a mucical score.
------------------------------------
Dr. Pink isn't in today, he's gone insane!
 
Maybe I have your answer here:



And I quote:

"If you or other administrators in your organization are going to manage policy settings on computers running earlier operating systems or service packs (for example, Windows XP with SP1 or Windows Server 2003), you need to install a hotfix in order for policy settings to appear correctly in the Group Policy Object Editor.
 
The article doesn't concern my problem as such. The patch it offer is for another type of problem.
Quote:
Install this update if you receive the "String is too long" error when trying to open a Group Policy object from a computer running Windows XP. Once you have installed this item, it cannot be removed.

In a nutshell: When I edit the Windows Update settings in registry, it doesn't show up in the GPEDIT.MSC console, even after restart.
If I make changes in the gpedit console, the changes are visible instantly in the registry.
This I don't understand and it applies to both win2K and XP, with or without servicepacks.

Real life needs a mucical score.
------------------------------------
Dr. Pink isn't in today, he's gone insane!
 
Never noticed that till now.
I have always used script as below and GPO.
just for interest sake what versions of WSUS are you using?

Code:
Dim Wshshell

Set WSHShell = CreateObject("WScript.Shell")

WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUServer", "[URL unfurl="true"]http://server:8530",[/URL] "REG_SZ"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUStatusServer", "[URL unfurl="true"]http://server:8530",[/URL] "REG_SZ"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\AUOptions", 3, "REG_DWORD"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\AutoInstallMinorUpdates",1, "REG_DWORD"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\DetectionFrequency",22, "REG_DWORD"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\DetectionFrequencyEnabled",1, "REG_DWORD"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\NoAutoUpdate",0, "REG_DWORD"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\RebootWarningTimeout",5, "REG_DWORD"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\RebootWarningTimeoutEnabled",1, "REG_DWORD"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\RescheduleWaitTime",1, "REG_DWORD"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\RescheduleWaitTimeEnabled",1, "REG_DWORD"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\ScheduledInstallDay",0, "REG_DWORD"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\ScheduledInstallTime",3, "REG_DWORD"
WshShell.Regwrite "HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU\UseWUServer",1, "REG_DWORD"

Set Wshshell = nothing
 
As the other post indicates, did you add the wuau templates to the machines you added the registry entry to? the wuau templates need to be added to all machines you are adding the registry entry to to see the settings in group policy.
 
Yes, I did add the wuau template to those computers that needs it. Frankly, I'm clueless as to why the settings doesn't show up in the gpedit console. The settings I set in regedit are the ones that are in effect, not the ones displayet in gpedit. And it's several computers I have tried now. It's the weirdest thing.

Real life needs a mucical score.
------------------------------------
Dr. Pink isn't in today, he's gone insane!
 
The only other think I can think of is that you are looking at the local policy on the machine, which is "trumped" by the policy setting on the OU/domain. On the machine, are you able to use gpresult.exe, or RSOP.msc? This should let you know the policies that are being used from the OU/domain.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top