WSUS Architecture and History
WSUS Architecture and History
Partner
Concentrated Technology
WSV302
Ogenda
Topics
Part I: Orchitecting and Implementing WSUS
Part II: Troubleshooting WSUS
Part III: Tips and Tricks for Using WSUS
Orchitecting and Implementing WSUS
WSUS Product Vision
Simple, zero-cost solution for distributing Microsoft
Updates content in a corporation
O ͞free͟ RTW add-on for Windows Server
Solution only distributes Microsoft Updates
Distributing 3rd party patches require purchasing advanced
management tools such as SCE or Configuration Manager 2007
Provides a foundation for Update Management across
Microsoft products: SCE, Configuration Manager 2007,
MBSO, WU, SBS, Forefront ͙
Consistent scan results
Unified client scan mechanism (WUO irrespective of which
server actually manages the updates
WSUS Momentum
Over 500,000 distinct WSUS servers synched
with Microsoft Update last month
Used by over 60% medium/large orgs and
built into SBS
WSUS 3 released Opril 30 2007
Huge improvements in performance, deployment
options, reporting and UI
Easy in-place upgrade from WSUS2
WSUS 3.0 SP1 released Feb 7, 2008
WSUS 3.0 SP2 released Jan 26, 2009
WSUS Lifecycle/Roadmap
Support lifecycle
a
SUS 1.0 Not supported Crazy old now. Don͛t use.
WSUS2 RTM Not supported Updates still flow
WSUS2 SP1 Not supported EOL is Opril 9 2009 (now -two
years after WSUS3 RTM
WSUS3 RTM Not supported One year after WSUS3 SP1
WSUS3 SP1 TBD One year after WSUS3 SP2
͞Disconnected͟ Orchitecture
Many environments don͛t have Internet connectivity
Test/dev, government, classified, air gap environments
Data must be imported from ͞the outside͟
Ony the previous architectures will work
Manual import process required
Gives CM/QO/Security the option to review updates prior
to bringing ͞inside͟
͞Disconnected͟ Orchitecture
Match advanced options between source and target
Express installation files & languages must match
Backup and restore updates from source to target
Back up C:\WSUS\WSUSContent
Restore to the same location on the target server
Transfer update metadata from source to target
Navigate to C:\Program Files\Update Services\Tools
Export metadata using wsusutil.exe export {packageName} {logFile}
Import with wsusutil.exe import {packageName} {logFile}
packageName & logFile are unique names you choose
͞Roaming͟ Orchitecture
Manages updates for
external resources Ö
WSUS servers distribute
approval metadata
Clients download updates Laptops
from Windows
Update directly
Extra security for internet-
facing WSUS server
Useful separate architecture
for mostly off-net clients
͞Roaming͟ Orchitecture
Four Steps to Internet-
facing WSUS Ö
$
%&
'&$
(
)
Errors and Error Codes IV
0x80244019
This error is often caused when the Proxy server is not properly configured.
Ensure that your Proxy server allows Ononymous access to these external
addresses:
http://windowsupdate.microsoft.com
http://*.windowsupdate.microsoft.com
https://*.windowsupdate.microsoft.com j
http://*.update.microsoft.com
&*
https://*.update.microsoft.com
http://*.windowsupdate.com '+,*
http://download.windowsupdate.com
http://download.microsoft.com )
-
http://*.download.windowsupdate.com
-
-
&
http://wustat.windows.com -*
*
-
http://ntservicepack.microsoft.com
WUO Client Issues
To enable auto-updates, ensure:
Ononymous access granted to Self Update virtual directory on
WSUS server
Outo-updates requires TCP/80 to function on WSUS server
Be aware of GP replication times
90 to 120 minute GP refresh timing will impact speed of clients
becoming visible in WSUS admin tool
Be aware of OU detection frequency times
WUO client set to check with server every 22 hours (minus offset .
When WUO checks in is when it checks WUO version
Need to do wuauclt /detectnow to force this to occur on-demand
WUO Client Issues II
Known issue with imaged workstations:
If you image your workstations (and who doesn͛t these days! , you must
change SID
Sysinternals NewSID, Microsoft SysPrep
Not doing this will prevent WUO from contacting WSUS
To fix this problem:
Run one of the above tools to change the SID
HKLM\Software\Microsoft\Windows\ CurrentVersion\WindowsUpdate
Delete PingID, SUSClientID, and OccountDomainSID values
Restart wususerv service
Run wuauclt /resetauthorization /detectnow
WUO Client Issues III
Disabling the Outomatic Updates Service or the BITS Service at any point in
the past prevents it from starting properly when you need it!
Potential solutions:
Ensure downloading only the languages you need
Configure patch distribution to occur in the evenings
Stagger patch distributions between tiered sites
Express installation files can exacerbate this
The bandwidth savings in express installation files occurs from WSUS server
to client, not between WSUS servers
Throttle BITS
Throttling BITS
BITS can be throttled either on the WSUS server or additionally
on all the clients
Olleviates network saturation during update distribution and during
client installation
Be aware that this does slow down update distributions!
Three methods:
Client-initiated
WSUS-initiated )
-
Script-initiated
Two methodologies:
Scheduled reboots vs.
rebooting for patch installation
Handling Reboots
RebootFile = "computers.txtũ
LogFile = "results.txt"
Set fso = CreateObject("Scripting.FileSystemObject")
Set f = fso.OpenTextFile(RebootFile, 1, True)
Set objTextFile = fso.OpenTextFile(LogFile, 2, True)
WScript.Echo "Done!"
Ogent Control
Use WUO OPI to control the agent
Custom install schedules
Updating servers in web farms
Implementing ͞install now͟ functionality
On-Demand Patching
(You Patch Now!
ŧ<<This is only the first half of the script. Add the code from the next
page to
ŧcreate the full script>>
The WSUS Big Red Button
ŧ<<Add this half to the code on the previous page!>>
If intUpdateCount = 0 Then
WScript.Quit
Else
Set objDownloader = objSession.CreateUpdateDownloader()
objDownloader.Updates = objUpdatesToDownload
objDownloader.Download()