WSUS update content storage needs adequate disk space.
The drive containing the database or update content is running out of free disk space.
Possible resolutions include:
Use Disk Cleanup to remove files you do not need
Click Start, click All Programs, click Accessories, click System Tools, then click Disk Cleanup.
Follow the instructions to delete, remove, and compress files and folders.
Use the Server Cleanup Wizard to remove old computers, updates, and update files. This wizard is part of the WSUS administration console.
Start WSUS: In Server Manager, click Tools, and then click Windows Server Update Services
Click Options.
Click Server Cleanup Wizard to remove unused or old content.
Use wsusutil.exe to move the update content directory to another drive. The tool will update the server to point to the new content path and optionally move the content.
Create a new content path on the larger drive.
Open a command window.
Type cd <WSUSInstallDir>\tools
Type wsusutil movecontent <NewContentPath> <temp>\movecontent.log
Move the WSUS SQL database to another drive. Consult your SQL Server documentation for steps to detach the SUSDB database and reattach the database.
Open a command window
Type net stop wsusservice
Detach the SUSDB database
Copy SUSDB.mdf and SUSDB_log.ldf to the new path location
Attach the SUSDB database
Type net start wsusservice
Delete SUSDB.mdf and SUSDB_log.ldf from the old location, when you are satisfied system is working properly.
Look for the corresponding error event
Open a command window.
Type cd <WSUSInstallDir>\Tools
Type wsusutil checkhealth
Type eventvwr
Review the Application log for the most recent events from source Windows Server Update Services and event ID 10040.
Target | Microsoft.Windows.Server.UpdateServices.10.0.Server | ||
Parent Monitor | Microsoft.Windows.Server.UpdateServices.10.0.Server.CoreRollup | ||
Category | AvailabilityHealth | ||
Enabled | True | ||
Alert Generate | True | ||
Alert Severity | Error | ||
Alert Priority | Normal | ||
Alert Auto Resolve | True | ||
Monitor Type | Microsoft.Windows.3SingleEventLog3StateUnitMonitorType | ||
Remotable | True | ||
Accessibility | Public | ||
Alert Message |
| ||
RunAs | Default |
<UnitMonitor ID="Microsoft.Windows.Server.UpdateServices.10.0.Server.ContentDirectoryDiskSpaceState" Accessibility="Public" Enabled="true" Target="Microsoft.Windows.Server.UpdateServices.10.0.Server" ParentMonitorID="Microsoft.Windows.Server.UpdateServices.10.0.Server.CoreRollup" Remotable="true" Priority="Normal" TypeID="Windows!Microsoft.Windows.3SingleEventLog3StateUnitMonitorType" ConfirmDelivery="false">
<Category>AvailabilityHealth</Category>
<AlertSettings AlertMessage="Microsoft.Windows.Server.UpdateServices.10.0.Server.ContentDirectoryDiskSpaceState.AlertMessage">
<AlertOnState>Warning</AlertOnState>
<AutoResolve>true</AutoResolve>
<AlertPriority>Normal</AlertPriority>
<AlertSeverity>Error</AlertSeverity>
</AlertSettings>
<OperationalStates>
<OperationalState ID="DiskSpaceError" MonitorTypeStateID="FirstEventRaised" HealthState="Error"/>
<OperationalState ID="DiskSpaceWarn" MonitorTypeStateID="SecondEventRaised" HealthState="Warning"/>
<OperationalState ID="DiskSpaceOK" MonitorTypeStateID="ThirdEventRaised" HealthState="Success"/>
</OperationalStates>
<Configuration>
<FirstComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</FirstComputerName>
<FirstLogName>Application</FirstLogName>
<FirstExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Windows Server Update Services</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>10042</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</FirstExpression>
<SecondComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</SecondComputerName>
<SecondLogName>Application</SecondLogName>
<SecondExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Windows Server Update Services</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>10041</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
</And>
</SecondExpression>
<ThirdComputerName>$Target/Host/Property[Type="Windows!Microsoft.Windows.Computer"]/NetworkName$</ThirdComputerName>
<ThirdLogName>Application</ThirdLogName>
<ThirdExpression>
<And>
<Expression>
<SimpleExpression>
<ValueExpression>
<XPathQuery>PublisherName</XPathQuery>
</ValueExpression>
<Operator>Equal</Operator>
<ValueExpression>
<Value>Windows Server Update Services</Value>
</ValueExpression>
</SimpleExpression>
</Expression>
<Expression>
<RegExExpression>
<ValueExpression>
<XPathQuery>EventDisplayNumber</XPathQuery>
</ValueExpression>
<Operator>MatchesRegularExpression</Operator>
<Pattern>^(10040|501|10000)$</Pattern>
</RegExExpression>
</Expression>
</And>
</ThirdExpression>
</Configuration>
</UnitMonitor>