Missing "SelfUpdate" in Default Website when running WSUS under 8530
To make sure that the self-update tree is working correctly, first make sure that there is a Web site set up on port 80 of the WSUS server. You must have a Web site that is running on port 80, even if you put the WSUS Web site on a custom port. The Web site that is running on port 80 does not have to be dedicated to WSUS. WSUS uses the site on port 80 only to host the self-update tree. After verifying the Web site on port 80, you should run the WSUS script to guarantee a correct configuration of self-update on port 80. Open a Command prompt on the WSUS server and type the following:
cscript WSUSInstallDirectory\setup\installselfupdateonport80.vbs (WSUSInstallDirectory is the directory in which WSUS is installed).
For more information about SelfUpdate, see Issues with Client Self-Update on Microsoft TechNet or download the Windows Server Update Services 3.0 SP2 Operations Guide from the Microsoft Download Center.
Sample from WSUS Server running under Server 2008R2 on Port 8530
Wrong WSUS:
Missing Virtual Directories under the "Default Web Site"
Correct:
Fix the self-update virtual directory on port 80:
C:\>cd "Program Files"
C:\Program Files>cd "Update Services"
C:\Program Files\Update Services>cd setup
C:\Program Files\Update Services\setup>cscript installselfupdateonport80.vbs
Missing ASPNET_Client Folder in WSUS
Reset ASP-NET in IIS
Remove: aspnet_regiis –u
Install: aspnet_regiis -u
http://technet.microsoft.com/en-us/library/cc708545(v=ws.10).aspx
Make sure you install this Update for WSUS 3.0 SP2
An update for Windows Server Update Services 3.0 Service Pack 2 is available
- Öffnen Sie cmd.exe im erhöhten Modus auf dem Windows-Client.
- Geben Sie die folgenden Befehle ein.
Net Stop wuauserv
RD/s %windir%\softwaredistribution\
Net start wuauserv
http://support.microsoft.com/kb/2720211
DB slow, unstable console, Check WSUS SQL Database (Internal)
http://technet.microsoft.com/en-us/library/dd939795(v=ws.10)
http://gallery.technet.microsoft.com/scriptcenter/6f8cde49-5c52-4abd-9820-f1d270ddea61
WsusDBMaintenance.sql
http://go.microsoft.com/fwlink/?LinkId=87027
sqlcmd -S np:\\.\pipe\MSSQL$MICROSOFT##SSEE\sql\query -i c:\edv\WsusDBMaintenance.sql
2012 R2 erscheint nicht im WSUS sondern unter 6.1
Installieren 2 Hotfixe auf 2003 R2 WSUS 3.0
- http://support.microsoft.com/kb/2720211
- http://support.microsoft.com/kb/2734608
- Cleanup SQL script laufen lassen (Achtung die Funktion COPY CODE nicht benutzen!)
- Cleanup Wizard im WSUS selber laufen lassen
Command Line Options fuer WSUS Client
The following are the command line for wuauclt.exe
http://technet.microsoft.com/en-us/library/cc708617(ws.10).aspx
Most used:
wuauclt.exe /reportnow
wuauclt.exe /reportnow /detectnow
wuauclt.exe /UpdateNow
wuauclt.exe /resetauthorization /detectnow
Option | Description |
/a /ResetAuthorization | Initiates an asynchronous background search for applicable updates. If Automatic Updates is disabled, this option has no effect. |
/r /ReportNow | Sends all queued reporting events to the server asynchronously. |
/? /h /help | Shows this help information. |
/AutomaticUpdates
/DemoUI
/IdleShutdownNow
/ShowOptions
/ShowWUAutoScan
/UpdateNow
/SelfUpdateUnmanaged
/SelfUpdateManaged
/CloseWindowsUpdate
/ShowWindowsUpdate
/ShowWU
/ResetEulas
/ResetAuthorization
/ShowSettingsDialog
/RunHandlerComServer
/ReportNow
/DetectNow
2003R2 Server version:
/DetectNow
/ReportNow
/RunHandlerComServer
/RunStoreAsComServer
/ShowSettingsDialog
/ResetAuthorization
/ResetEulas
/ShowWU
/ShowWindowsUpdate
/SelfUpdateManaged
/SelfUpdateUnmanaged
/UpdateNow
/ShowWUAutoScan
/ShowFeaturedUpdates
/ShowOptions
/ShowFeaturedOptInDialog
/DemoUI
Most of these options don't give any noticable response, but that may be because of the state of the service. The command 'wuauclt /ResetAuthorization /DetectNow' worked for me right away.
Batch to Reset WSUS client
gpupdate
net stop wuauserv
REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v LastWaitTimeout /f
REG DELETE "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v DetectionStartTime /f
Reg Delete "HKLM\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update" /v NextDetectionTime /f
net start wuauserv
wuauclt /detectnow
Windows Update Client Stuck on Server
Windows Update Client Stuck on Server
1) Als erstes wuauclt.exe /resetauthorization /detectnow
Reboot des Server und Kontrolle ob es schon geht.
2) Siehe http://support.microsoft.com/kb/555175/en-us
3) Loeschen der Registry Keys:
- HKEY_LOCAL_MACHINE\COMPONENTS\PendingXmlIdentifier
- HKEY_LOCAL_MACHINE\COMPONENTS\NextQueueEntryIndex
- HKEY_LOCAL_MACHINE\COMPONENTS\AdvancedInstallersNeedResolving
4) Loeschen der Datei pending.xml in Ordner %systemroot%/winsxs
Missing or corrupt WSUS Console.
Check the File "wsus" in Profile:
C:\Dokumente und Einstellungen\admin.butsch\Anwendungsdaten\Microsoft\MMC