WSUS

From wiki.adammorgan.org
Jump to: navigation, search

WSUS Server

Database (SUSDB)

  • SUSDB
  • PowerGUI - Great tool, best way to browse AD, WSUS, etc. Fast, good queries.

Moving Database

Windows Update Client (the workstation component)

  • Windows update log: %windir%\Windowsupdate.log
  • wuauclt.exe - usage
  • To find the current version of your WUA (Windows Update Client): (Windows 8)
    • Determine the version of Windows Update Agent (WUA) before you use it. The current version of WUA is determined by the version of the Wuaueng.dll that is running in the \System32 subdirectory of the current Windows installation. If the version of Wuaueng.dll is version 5.4.3790.1000 or a later version, WUA is installed. A version that is earlier than 5.4.3790.1000 indicates that Software Update Services (SUS) 1.0 is installed.

WSUS Client Troubleshooting

If WSUS console lists computer as being in wrong group, you can try resetting the client's automatic update client (wait 10 min for cycle to complete afterwards):

wuauclt.exe /resetauthorization /detectnow

You can sometimes fix client problems by doing the following at an elevated command prompt:

Net Stop WUAUSERV
- Delete the contents of the %windir%\softwaredistribution\downloads folder.
Net Start WUAUSERV

Try repairing corrupted windows files:

sfc /scannow

If a computer is deleted from WSUS for some reason and does not automatically get re-added, try this:

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate]
"WUServer"=http://mcswsus:8530
"TargetGroupEnabled"=dword:00000001
"TargetGroup"="Class"
"WUStatusServer"=http://mcswsus:8530

References

Good docs: Operations Guide, Deployment Guide