Forum
Wsus'u daha önce local database üzerinde (SQL2005Express) kullanırken sorun yaşamıyordum. Daha sonra SQL2005 SP2 kurup Wsus u kaldırıp tekrar kurdum. Clientler Wsus'a ulaşamamaya başladı. bende forumdan araştırdığım bilgi ile aşağıdaki bach file'i clientlerde çalıştırdım. 17 client Şuan tekrar aktif oldu. Fakat diğerleri geri gelmedi. Geri gelmeyen clientlerde windowsupdate.log dosyasına baktığımda
@echo Configure WSUS for the Anchorage Office
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v WUServer /t REG_SZ /d "http://seyit:8530" /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v WUStatusServer /t REG_SZ /d "http://seyit:8530" /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v ElevateNonAdmins /t REG_DWORD /d 1 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v TargetGroup /t REG_SZ /d "Your Site" /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate /v TargetGroupEnabled /t REG_DWORD /d 1 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v UseWUServer /t REG_DWORD /d 1 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoUpdate /t REG_DWORD /d 0 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v AUOptions /t REG_DWORD /d 4 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v ScheduledInstallDay /t REG_DWORD /d 0 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v ScheduledInstallTime /t REG_DWORD /d 3 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v AutoInstallMinorUpdates /t REG_DWORD /d 1 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v RebootWarningTimeout /t REG_DWORD /d 5 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v RebootWarningTimeoutEnabled /t REG_DWORD /d 1 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v RebootRelaunchTimeout /t REG_DWORD /d 60 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v RebootRelaunchTimeoutEnabled /t REG_DWORD /d 1 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v RescheduledWaitTime /t REG_DWORD /d 15 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v RescheduledWaitTimeEnabled /t REG_DWORD /d 1 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAUAsDefaultShutdownOption /t REG_DWORD /d 1 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAUShutdownOption /t REG_DWORD /d 0 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v NoAutoRebootWithLoggedOnUsers /t REG_DWORD /d 1 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v DetectionFrequency /t REG_DWORD /d 16 /f
REG ADD HKLM\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU /v DetectionFrequencyEnabled /t REG_DWORD /d 1 /f
@echo Fixing problem with client machines not showing up on the server due to imaging method
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v AccountDomainSid /f
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v PingID /f
reg delete HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate /v SusClientId /f
@echo Triggering detection after resetting WSUS client identity
net stop wuauserv
net start wuauserv
wuauclt /resetauthorization /detectnow
@echo Updates will start downloading in a few minutes
Geri gelmeyen clientlerde windowsupdate.log dosyasına baktığımda aşağıdaki hataları görüyorum.
2009-09-30 10:49:03:097 1516 f38 AU WARNING: QueryRegisteredProvider failed with error 0x80004002
2009-09-30 10:49:03:097 1516 f38 AU # WSUS server: http://seyit:8530
2009-09-30 10:49:03:097 1516 f38 AU # Detection frequency: 16
2009-09-30 10:49:03:097 1516 f38 AU # Target group: Your Site
2009-09-30 10:49:03:097 1516 f38 AU # Approval type: Scheduled (Policy)
2009-09-30 10:49:03:097 1516 f38 AU # Scheduled install day/time: Every day at 3:00
2009-09-30 10:49:03:097 1516 f38 AU # Auto-install minor updates: Yes (Policy)
2009-09-30 10:49:03:097 1516 f38 AU # Will interact with non-admins (Non-admins are elevated)
2009-09-30 10:49:03:894 1516 f38 AU FATAL: Failed to get session from datastore, error = 0x80004002
2009-09-30 10:49:03:894 1516 f38 AU FATAL: Failed to Unserialize from data store, error = 0x80004002
2009-09-30 10:49:03:894 1516 f38 AU # WARNING: Exit code = 0x80004002
2009-09-30 10:49:03:894 1516 f38 AU ########### AU: Uninitializing Automatic Updates ###########
2009-09-30 10:49:03:894 1516 f38 AU WARNING: InitAUComponents Failed, will restart AU in 30 mins, error = 0x80004002
2009-09-30 10:49:03:894 1516 f38 AU AU Restart required....
Şunları deneyin; . Bu dosyayı silin yada ismini değiştirin "%Windir%\WindowsUpdate.log"
1. Eğer proxy server kullanıyorsanız
*
Automatic Update Servisini stop edin "Net stop wuauserv".
*
Bu komutu uygulayın: "proxycfg.exe -u".
*
Automatic Update Servisini başlatın "Net start wuauserv".
*
Update detection u force yapın ve izleyin.
2. Datastore u yeniden oluşturun
*
Automatic Update Servisini durdurun "Net stop wuauserv".
*
%Windir%\SoftwareDistribution" klasörünü değiştir/sil
*
Automatic Update Servisini başlatın- "Net start wuauserv".
*
Update detection u force yapın ve izleyin.
3. WUA tekrar force ile yüklemeyi deneyin.
*
WUA indirin WindowsUpdateAgent20-x86.exe şuradan --> http://go.microsoft.com/fwlink/?LinkId=43264.
*
ve ardından bu komutu uygulayın: "WindowsUpdateAgent20-x86.exe /wuforce".
*
Sonuçlara tekrar buradan bakın"%Windir%\WindowsUpdate.log" microsoft.public.windows.server.update_services.
Not;
*
Bu Datastore klasörünü sildiğinizde yada yada ismini değiştirdiğinizde raporları kaybedeceksiniz. ("%Windir%\SoftwareDistribution\ReportingEvents.log").
*
Yardımınız için teşekkürler
Tavsiyelerinizi deneyip sonuçları sonuçları bildireceğim.