WSUSContent folder grows too large; Reset WSUS Server

Sharing is caring!

<div dir&equals;"ltr" style&equals;"text-align&colon; left&semi;"><span style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">To configure WSUS to store updates locally and if you want to minimize disk space&comma; use the below configuration&period;<&sol;span><br &sol;><span style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;"><br &sol;><&sol;span><&sol;p>&NewLine;<div style&equals;"clear&colon; both&semi; text-align&colon; center&semi;"><a href&equals;"http&colon;&sol;&sol;1&period;bp&period;blogspot&period;com&sol;-Oo-CjRhQ93Q&sol;VZJte5&lowbar;I&lowbar;oI&sol;AAAAAAAABB8&sol;8Yl&lowbar;dl0ocY8&sol;s1600&sol;wsus&period;jpg" style&equals;"margin-left&colon; 1em&semi; margin-right&colon; 1em&semi;"><img border&equals;"0" height&equals;"320" src&equals;"http&colon;&sol;&sol;1&period;bp&period;blogspot&period;com&sol;-Oo-CjRhQ93Q&sol;VZJte5&lowbar;I&lowbar;oI&sol;AAAAAAAABB8&sol;8Yl&lowbar;dl0ocY8&sol;s320&sol;wsus&period;jpg" width&equals;"285" &sol;><&sol;a><&sol;div>&NewLine;<p><span style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">If you are certain that the above settings have been configured as such on your WSUS server &lpar;including any downstream servers&rpar; since the product was installed&comma; then it is likely that the storage requirements on your WSUS server is accurate&period; The only thing you may want to try is running the Server Cleanup Wizard &lpar;WSUS console – Options – Server Cleanup Wizard&rpar; because there is an option to delete any EXPIRED updates&period;<&sol;span><br &sol;><span style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;"><br &sol;><&sol;span><span style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">or RESET WSUS<&sol;span><br &sol;><span style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;"><br &sol;><&sol;span><&sol;p>&NewLine;<div style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">1&rpar; Correct any settings above or disapprove any unneeded updates&period;<&sol;div>&NewLine;<div style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">2&rpar; Close any open WSUS consoles&period;<&sol;div>&NewLine;<div style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">3&rpar; Go to Administrative Tools – Services and STOP the&nbsp&semi;<b>Update Services<&sol;b>&nbsp&semi;service&period;<&sol;div>&NewLine;<div style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">4&rpar; In Windows Explorer browse to the WSUSContent folder &lpar;typically D&colon;WSUSWSUSContent or C&colon;WSUSWSUSContent&rpar;<&sol;div>&NewLine;<div style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">5&rpar; Delete ALL the files and folders in the WSUSContent folder&period;<&sol;div>&NewLine;<div style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">6&rpar; Go to Administrative Tools – Services and START the&nbsp&semi;<b>Update Services<&sol;b>&nbsp&semi;service&period;<&sol;div>&NewLine;<div style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">7&rpar; Open a command prompt and navigate to the folder&colon; C&colon;Program FilesUpdate ServicesTools&period;<&sol;div>&NewLine;<div style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">8&rpar; Run the command&nbsp&semi;<b>WSUSUtil&period;exe RESET<&sol;b><&sol;div>&NewLine;<div style&equals;"background-color&colon; white&semi; color&colon; &num;2a2a2a&semi; font-family&colon; 'Segoe UI'&comma; 'Lucida Grande'&comma; Verdana&comma; Arial&comma; Helvetica&comma; sans-serif&semi; font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">-This command tells WSUS to check each update in the database&comma; and verify that the content is present in the WSUSContent folder&period; As it finds that the content is not present in the folder&comma; it executes a BITS job to download the content from Microsoft&period; This process takes quite a bit of time and runs in the background&period;<&sol;p>&NewLine;<div style&equals;"font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;"><b><br &sol;><&sol;b><&sol;div>&NewLine;<div style&equals;"font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;"><b>How do you tell when the process is complete&quest;<&sol;b><&sol;div>&NewLine;<div style&equals;"font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">Other than noticing that the WSUSContent folder is no longer growing you can also check the SoftwareDistribution&period;log&colon;<&sol;div>&NewLine;<div style&equals;"font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">C&colon;Program FilesUpdate ServicesLogFilesSoftwareDistribution&period;log<&sol;div>&NewLine;<div style&equals;"font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">When you start the reset process&comma; you should see a line towards the bottom of the log which looks like this&colon;<&sol;div>&NewLine;<div style&equals;"font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;"><span style&equals;"font-family&colon; Courier New&semi;">WsusService&period;13&nbsp&semi; ExecutionContext&period;runTryCode&nbsp&semi;&nbsp&semi;&nbsp&semi;&nbsp&semi; State Machine Reset Agent Starting<&sol;span><&sol;div>&NewLine;<div style&equals;"font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;">After waiting for some time&comma; check the log again and search for the text &OpenCurlyDoubleQuote;State Machine Reset Agent Finished”<&sol;div>&NewLine;<div style&equals;"font-size&colon; 12&period;1104001998901px&semi; line-height&colon; 18&period;165599822998px&semi;"><span style&equals;"font-family&colon; Courier New&semi;">WsusService&period;13&nbsp&semi; ExecutionContext&period;runTryCode&nbsp&semi;&nbsp&semi;&nbsp&semi;&nbsp&semi; State Machine Reset Agent Finished<&sol;span><&sol;div>&NewLine;<&sol;div>&NewLine;<&sol;div>&NewLine;

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.