Heißes Thema (mehr als 10 Antworten) probleme nach server neuinstallation (Gelesen: 2996 mal)
transorbital
WSUS Neuling
Offline


I Love WSUS

Beiträge: 7
Standort: 40595 Düsseldorf
Mitglied seit: 13.11.06
probleme nach server neuinstallation
25.08.08 um 10:02:44
Beitrag drucken  
hallo. ich habe einen neuen wsus-server 3sp1 installiert.
gleiche ip adresse wie der alte (der nicht meh im netz hängt)
der server selber läuft auch gut. updates werden downgeloaded.
aber ich bekomme keine verbindung zu den clients.
hab schon clones löschen und detectnow-tool probiert und auch einige händisch. nix hat geholfen
debug tools sagen daß alles ok ist.

windowsupdate.log
Code
2008-08-25	09:26:25:726	 200	c10	Misc	===========  Logging initialized (build: 7.1.6001.65, tz: +0200)  ===========
2008-08-25	09:26:25:726	 200	c10	Misc	  = Process: C:\WINDOWS\System32\svchost.exe
2008-08-25	09:26:25:726	 200	c10	Misc	  = Module: C:\WINDOWS\system32\wuaueng.dll
2008-08-25	09:26:25:726	 200	c10	Service	*************
2008-08-25	09:26:25:726	 200	c10	Service	** START **  Service: Service startup
2008-08-25	09:26:25:726	 200	c10	Service	*********
2008-08-25	09:26:25:726	 200	c10	Agent	  * WU client version 7.1.6001.65
2008-08-25	09:26:25:726	 200	c10	Agent	  * Base directory: C:\WINDOWS\SoftwareDistribution
2008-08-25	09:26:25:726	 200	c10	Agent	  * Access type: No proxy
2008-08-25	09:26:25:726	 200	c10	Agent	  * Network state: Connected
2008-08-25	09:26:25:741	 200	ac8	Agent	***********  Agent: Initializing Windows Update Agent  ***********
2008-08-25	09:26:25:741	 200	ac8	Agent	***********  Agent: Initializing global settings cache  ***********
2008-08-25	09:26:25:741	 200	ac8	Agent	  * WSUS server: http://172.16.1.160:8530
2008-08-25	09:26:25:741	 200	ac8	Agent	  * WSUS status server: http://172.16.1.160:8530
2008-08-25	09:26:25:741	 200	ac8	Agent	  * Target group: (Unassigned Computers)
2008-08-25	09:26:25:741	 200	ac8	Agent	  * Windows Update access disabled: No
2008-08-25	09:26:25:976	 200	c10	Report	***********  Report: Initializing static reporting data  ***********
2008-08-25	09:26:25:976	 200	c10	Report	  * OS Version = 5.1.2600.3.0.65792
2008-08-25	09:26:26:007	 200	c10	Report	  * Computer Brand = Dell Inc.
2008-08-25	09:26:26:007	 200	c10	Report	  * Computer Model = Vostro 400
2008-08-25	09:26:26:007	 200	c10	Report	  * Bios Revision = 1.0.11
2008-08-25	09:26:26:007	 200	c10	Report	  * Bios Name = Phoenix - AwardBIOS v6.00PG
2008-08-25	09:26:26:007	 200	c10	Report	  * Bios Release Date = 2008-01-31T00:00:00
2008-08-25	09:26:26:007	 200	c10	Report	  * Locale ID = 1031
2008-08-25	09:26:26:413	 200	ac8	DnldMgr	Download manager restoring 0 downloads 



kann mir jemand noch n tipp geben? ic hweiß erstmal nich weiter.  unentschlossen

  
Zum Seitenanfang
 
Sunny
Microsoft MVP
*****
Offline



Beiträge: 15134
Mitglied seit: 11.02.07
Geschlecht: männlich
Re: probleme nach server neuinstallation
Antwort #1 - 25.08.08 um 10:15:35
Beitrag drucken  
Aus dem bisschen Log ist nichts zu erkenn. Hast Du denn den neuen WSUS auch auf Port 8530 installiert?

BTW: Du wirst NIE eine Verbindung zu den Clients herstellen können, der Weg ist genau anders rum. Ja, ich weiß, Erbsenzählerei, aber der korrekte Weg ist nunmal so, daß der WU-Agent sich zum WSUS verbindet, und nicht der WSUS Clients findet. Zwinkernd
  
Zum Seitenanfang
 
transorbital
WSUS Neuling
Offline


I Love WSUS

Beiträge: 7
Standort: 40595 Düsseldorf
Mitglied seit: 13.11.06
Re: probleme nach server neuinstallation
Antwort #2 - 25.08.08 um 10:20:33
Beitrag drucken  
ja, recht hast du.  Zwinkernd
ja. habe den auf dem port 8530 installiert.
ich werd den ganzen wohl mal neuinstallieren, allerdings mal ohne port.
  
Zum Seitenanfang
 
Sunny
Microsoft MVP
*****
Offline



Beiträge: 15134
Mitglied seit: 11.02.07
Geschlecht: männlich
Re: probleme nach server neuinstallation
Antwort #3 - 25.08.08 um 10:26:42
Beitrag drucken  
Und was soll dir das bringen? Poste doch ein bisschen mehr aus der WindowsUpdate.log, da findet sich bestimmt ein Fehler.
  
Zum Seitenanfang
 
transorbital
WSUS Neuling
Offline


I Love WSUS

Beiträge: 7
Standort: 40595 Düsseldorf
Mitglied seit: 13.11.06
Re: probleme nach server neuinstallation
Antwort #4 - 25.08.08 um 10:29:27
Beitrag drucken  
evtl. kommt der mit dem port nich zurecht. hab keine ahnung mehr.
der " alte" wsus war ohne speziellen port installiert und zickte nie.

das is das ganze log.
wenn ich nen detectnow mache.
finde das auch arg wenig was der mir da anzeigt.
  
Zum Seitenanfang
 
Sunny
Microsoft MVP
*****
Offline



Beiträge: 15134
Mitglied seit: 11.02.07
Geschlecht: männlich
Re: probleme nach server neuinstallation
Antwort #5 - 25.08.08 um 10:39:44
Beitrag drucken  
Hmm, das ist schon sehr komisch. Mit dem Port hat das normalerweise nichts zu tun, den WSUS kann man auf Port 80 (Default) oder auf Port 8530 installieren.

Wie lange hast Du gewartet, nach dem wuauclt /detectnow?
  
Zum Seitenanfang
 
transorbital
WSUS Neuling
Offline


I Love WSUS

Beiträge: 7
Standort: 40595 Düsseldorf
Mitglied seit: 13.11.06
Re: probleme nach server neuinstallation
Antwort #6 - 25.08.08 um 10:44:49
Beitrag drucken  
also ich häng dem problem jetzt seit mittwoch....
da letzte mal hab ichs heute morgen um 7:30 uhr genacht.

ich poste mal n brandneues serverlog:
Code
2008-08-25	10:36:50:425	3332	d20	Misc	===========  Logging initialized (build: 7.0.6000.381, tz: +0200)  ===========
2008-08-25	10:36:50:425	3332	d20	Misc	  = Process: C:\WINDOWS\Explorer.EXE
2008-08-25	10:36:50:425	3332	d20	Misc	  = Module: C:\WINDOWS\system32\wuaueng.dll
2008-08-25	10:36:50:425	3332	d20	Shutdwn	Install at shutdown: no updates to install
2008-08-25	10:36:50:425	3332	d20	Shutdwn	FATAL: WUCheckForUpdatesAtShutdown failed, hr=8024A000
2008-08-25	10:37:02:753	 352	d54	Misc	===========  Logging initialized (build: 7.0.6000.381, tz: +0200)  ===========
2008-08-25	10:37:02:753	 352	d54	Misc	  = Process: \??\C:\WINDOWS\system32\winlogon.exe
2008-08-25	10:37:02:753	 352	d54	Misc	  = Module: C:\WINDOWS\system32\wuaueng.dll
2008-08-25	10:37:02:753	 352	d54	Shutdwn	FATAL: WUAutoUpdateAtShutdown failed, hr=8024A000
2008-08-25	10:37:06:535	 792	694	AU	###########  AU: Uninitializing Automatic Updates  ###########
2008-08-25	10:37:06:597	 792	694	Service	*********
2008-08-25	10:37:06:597	 792	694	Service	**  END  **  Service: Service exit [Exit code = 0x240001]
2008-08-25	10:37:06:597	 792	694	Service	*************
2008-08-25	10:37:49:609	 792	6b8	Misc	===========  Logging initialized (build: 7.0.6000.381, tz: +0200)  ===========
2008-08-25	10:37:49:609	 792	6b8	Misc	  = Process: C:\WINDOWS\System32\svchost.exe
2008-08-25	10:37:49:609	 792	6b8	Misc	  = Module: C:\WINDOWS\system32\wuaueng.dll
2008-08-25	10:37:49:609	 792	6b8	Service	*************
2008-08-25	10:37:49:609	 792	6b8	Service	** START **  Service: Service startup
2008-08-25	10:37:49:609	 792	6b8	Service	*********
2008-08-25	10:37:49:609	 792	6b8	Agent	  * WU client version 7.0.6000.381
2008-08-25	10:37:49:609	 792	6b8	Agent	  * Base directory: C:\WINDOWS\SoftwareDistribution
2008-08-25	10:37:49:640	 792	6b8	Agent	  * Access type: No proxy
2008-08-25	10:37:49:640	 792	6b8	Agent	  * Network state: Connected
2008-08-25	10:38:34:890	 792	6b8	Agent	***********  Agent: Initializing Windows Update Agent  ***********
2008-08-25	10:38:34:890	 792	6b8	Agent	***********  Agent: Initializing global settings cache  ***********
2008-08-25	10:38:34:890	 792	6b8	Agent	  * WSUS server: <NULL>
2008-08-25	10:38:34:890	 792	6b8	Agent	  * WSUS status server: <NULL>
2008-08-25	10:38:34:890	 792	6b8	Agent	  * Target group: (Unassigned Computers)
2008-08-25	10:38:34:890	 792	6b8	Agent	  * Windows Update access disabled: No
2008-08-25	10:38:35:328	 792	6b8	DnldMgr	Download manager restoring 0 downloads
2008-08-25	10:38:35:343	 792	6b8	AU	###########  AU: Initializing Automatic Updates  ###########
2008-08-25	10:38:35:343	 792	6b8	AU	  # AU disabled through User preference
2008-08-25	10:38:35:343	 792	6b8	AU	AU finished delayed initialization
2008-08-25	10:38:36:328	 792	6b8	Report	***********  Report: Initializing static reporting data  ***********
2008-08-25	10:38:36:328	 792	6b8	Report	  * OS Version = 5.2.3790.2.0.196880
2008-08-25	10:38:36:843	 792	6b8	Report	  * Computer Brand = VMware, Inc.
2008-08-25	10:38:36:843	 792	6b8	Report	  * Computer Model = VMware Virtual Platform
2008-08-25	10:38:36:843	 792	6b8	Report	  * Bios Revision = 6.00
2008-08-25	10:38:36:843	 792	6b8	Report	  * Bios Name = PhoenixBIOS 4.0 Release 6.0    
2008-08-25	10:38:36:843	 792	6b8	Report	  * Bios Release Date = 2006-04-17T00:00:00
2008-08-25	10:38:36:843	 792	6b8	Report	  * Locale ID = 1031 



vielleicht gibts ja  hier was zu sehn.
  
Zum Seitenanfang
 
Sunny
Microsoft MVP
*****
Offline



Beiträge: 15134
Mitglied seit: 11.02.07
Geschlecht: männlich
Re: probleme nach server neuinstallation
Antwort #7 - 25.08.08 um 10:59:42
Beitrag drucken  
Was heißt Serverlog? Einen Aussschnitt aus der WindowsUpdate.log sollst Du posten!

WSUS server: <NULL>
WSUS status server: <NULL>

Kein WSUS eingetragen, wie soll der Client auch den WSUS finden.
  
Zum Seitenanfang
 
transorbital
WSUS Neuling
Offline


I Love WSUS

Beiträge: 7
Standort: 40595 Düsseldorf
Mitglied seit: 13.11.06
Re: probleme nach server neuinstallation
Antwort #8 - 25.08.08 um 11:03:49
Beitrag drucken  
das o.a. windowsupdate.log ist das log vom wsus-server.
  
Zum Seitenanfang
 
Sunny
Microsoft MVP
*****
Offline



Beiträge: 15134
Mitglied seit: 11.02.07
Geschlecht: männlich
Re: probleme nach server neuinstallation
Antwort #9 - 25.08.08 um 11:34:01
Beitrag drucken  
OK, dann prüf doch mit RSOP.MSC auf dem Server ob er überhaupt eine GPO bekommt. Oder wie bekommt die VM sonst den WSUS eingetragen?
  
Zum Seitenanfang
 
transorbital
WSUS Neuling
Offline


I Love WSUS

Beiträge: 7
Standort: 40595 Düsseldorf
Mitglied seit: 13.11.06
Re: probleme nach server neuinstallation
Antwort #10 - 25.08.08 um 11:59:40
Beitrag drucken  
die einträge mach ich mit einem .vbs-script

Code
' Definitione der Variablen und Arrays==========
Dim itmx
DIM intz
Dim counters(200)
Dim objShell
Dim intWarten
intWarten = 10000    ' in Millisekunden


'############### START: Anpassen der Registrierungswerte für alle in der Datei Rechner.txt aufgelistenen Rechner
Const ForReading = 1
itmx=0
'Open the File System Object to Feed the Script
Set objFSO = CreateObject("Scripting.FileSystemObject")
'This line needs to be customized for the servers.txt localtion text file
Set objTextFile = objFSO.OpenTextFile ("rechner.txt", ForReading)
'Starts the process reading thru the input file line by line until EOF
Do Until objTextFile.AtEndOfStream
counters(itmx) = objTextFile.ReadLine
'Wscript.Echo " Computer Name From TXT File : "& strComputer
'Wscript.Echo " counters : " & counters(itmx)

'Registrierungseinträge hinzufügen
Const HKEY_LOCAL_MACHINE = &H80000002
Set oReg=GetObject("winmgmts:{impersonationLevel=impersonate}!\\" & _
counters(itmx) & "\root\default:StdRegProv")

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate"
strValueName = "ElevateNonAdmins"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate"
strValueName = "TargetGroupEnabled"
dwValue = 0
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate"
strValueName = "WUServer"
strValue = "http://172.16.1.160"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue

strValueName = "WUStatusServer"
strValue = "http://172.16.1.160"
oReg.SetStringValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,strValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "AUOptions"
dwValue = 4
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "AutoInstallMinorUpdates"
dwValue = 0
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "DetectionFrequency"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "DetectionFrequencyEnabled"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "NoAUAsDefaultShutdownOption"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "NoAUShutdownOption"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "NoAutoRebootWithLoggedOnUsers"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "NoAutoUpdate"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "RebootRelaunchTimeout"
dwValue = 10
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "RebootRelaunchTimeoutEnabled"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "RebootWarningTimeout"
dwValue = 5
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "RebootWarningTimeoutEnabled"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "RescheuduleWaitTime"
dwValue = 10
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "RescheuduleWaitTimeEnabled"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "ScheduledInstallDay"
dwValue = 2
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "ScheduledInstallTime"
dwValue = 8
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "ScheduleInstallDay"
dwValue = 2
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "ScheduleInstallTime"
dwValue = 8
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU"
strValueName = "UseWUServer"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Microsoft\Windows\Currentversion\WindowsUpdate\Auto Update"
strValueName = "AUOptions"
dwValue = 4
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Microsoft\Windows\Currentversion\WindowsUpdate\Auto Update"
strValueName = "AUState"
dwValue = 2
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Microsoft\Windows\Currentversion\WindowsUpdate\Auto Update"
strValueName = "BalloonType"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Microsoft\Windows\Currentversion\WindowsUpdate\Auto Update"
strValueName = "ConfigVer"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Microsoft\Windows\Currentversion\WindowsUpdate\Auto Update"
strValueName = "OfflineDetectionTime"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Microsoft\Windows\Currentversion\WindowsUpdate\Auto Update"
strValueName = "ResetAU"
dwValue = 1
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Microsoft\Windows\Currentversion\WindowsUpdate\Auto Update"
strValueName = "ScheduledInstallDay"
dwValue = 2
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

strKeyPath = "SOFTWARE\Microsoft\Windows\Currentversion\WindowsUpdate\Auto Update"
strValueName = "ScheduledInstallTime"
dwValue = 8
oReg.SetDWordValue HKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

itmx=itmx + 1
On Error Resume Next
'Bind to the WMI \root\cimv2
'Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Loop

Wscript.Echo "Die Registrierungswerte der Clients wurden angepaßt. Bitte 10 Sekunden warten."
'############### END: Anpassen der Registrierungswerte für alle in der Datei Rechner.txt aufgelistenen Rechner

'############### START: Warteschleife von 10 Sekunden

WScript.Sleep intWarten
Set objShell = Wscript.CreateObject("Wscript.Shell")
'############### END: Warteschleife von 10 Sekunden

'############### START: Beenden des Dienstes Automatische Updates (WUAUSERV) und setzen des Dienstes auf automatischen Start
Const ForReading1 = 1
itmx=0
'Open the File System Object to Feed the Script
Set objFSO = CreateObject("Scripting.FileSystemObject")
'This line needs to be customized for the servers.txt localtion text file
Set objTextFile = objFSO.OpenTextFile ("rechner.txt", ForReading1)
'Starts the process reading thru the input file line by line until EOF
Do Until objTextFile.AtEndOfStream
counters(itmx) = objTextFile.ReadLine

strService = "wuauserv"
Set objWMI = GetObject ("winmgmts:\\" & counters (itmx))
Set objService = objWMI.Get ("WIN32_Service='"& strService & "'")

rv = objService.ChangeStartMode("Automatic")
rv = objService.StopService

itmx=itmx + 1
On Error Resume Next
Loop

Wscript.Echo "Der Dienst Automatische Updates wurde auf allen in der Datei Rechner.txt eingetragenen Servern beendet. Bitte 10 Sekunden warten."
'############### END: Beenden des Dienstes Automatische Updates (WUAUSERV) und setzen des Dienstes auf automatischen Start

'############### START: Warteschleife von 10 Sekunden
WScript.Sleep intWarten
Set objShell = Wscript.CreateObject("Wscript.Shell")
'############### END: Warteschleife von 10 Sekunden

'############### START: Beenden des Dienstes Automatische Updates (WUAUSERV)
Const ForReading2 = 1
itmx=0
'Open the File System Object to Feed the Script
Set objFSO = CreateObject("Scripting.FileSystemObject")
'This line needs to be customized for the servers.txt localtion text file
Set objTextFile = objFSO.OpenTextFile ("rechner.txt", ForReading2)
'Starts the process reading thru the input file line by line until EOF
Do Until objTextFile.AtEndOfStream
counters(itmx) = objTextFile.ReadLine

strService = "wuauserv"
Set objWMI = GetObject ("winmgmts:\\" & counters (itmx))
Set objService = objWMI.Get ("WIN32_Service='"& strService & "'")

rv = objService.ChangeStartMode("Automatic")
rv = objService.StartService

itmx=itmx + 1
On Error Resume Next
Loop
Wscript.Echo "Der Dienst Automatische Updates wurde auf allen in der Datei Rechner.txt eingetragenen Servern gestartet."
'############### END: Starten des Dienstes Automatische Updates (WUAUSERV).


 

  
Zum Seitenanfang
 
Sunny
Microsoft MVP
*****
Offline



Beiträge: 15134
Mitglied seit: 11.02.07
Geschlecht: männlich
Re: probleme nach server neuinstallation
Antwort #11 - 25.08.08 um 12:03:08
Beitrag drucken  
Scheinbar doch nicht, denn die WindowsUpdate.log gibt nichts her. Weshalb nicht per GPO? Läuft denn der BITS?
  
Zum Seitenanfang
 
transorbital
WSUS Neuling
Offline


I Love WSUS

Beiträge: 7
Standort: 40595 Düsseldorf
Mitglied seit: 13.11.06
Re: probleme nach server neuinstallation
Antwort #12 - 25.08.08 um 12:18:08
Beitrag drucken  
BITS läuft.

ich mach die einstellungen per .vbs damit ich die einstellungen an die clients übertragen kann.
wir haben hier noch ne NT domäne.

ich werd zu testzwecken aber jetzt mal die gpo manuell einstellen.
  
Zum Seitenanfang
 
Araldo.L
WSUS Experte
*****
Offline


I Love WSUS!

Beiträge: 544
Standort: Bayern
Mitglied seit: 11.06.07
Geschlecht: männlich
Re: probleme nach server neuinstallation
Antwort #13 - 26.08.08 um 11:03:09
Beitrag drucken  
Im Script müsste es 2x statt

strValue = " (Du musst Dich Einloggen oder Registrieren um Multimediadateien oder Links zu sehen)."

wegen des anderen Ports heißen

strValue = " (Du musst Dich Einloggen oder Registrieren um Multimediadateien oder Links zu sehen)."
  
Zum Seitenanfang
 
Bookmarks: Facebook Google Google+ Linked in Twitter Yahoo
 



Nutzungsbedingungen | Datenschutz
Kontakt | RSS | Feedback | Impressum
Facebook | News einsenden