Solved

Remove unwanted updates from WSUS to free up some space

Posted on 2009-07-14
12
1,598 Views
Last Modified: 2012-05-07
I have a server which recently crashed to a lack of space on the c:\ drive. After some investigation I found the SUSDB.mdf file was nearly 7GB in size.

I browsed to http://localhost:8530/wsusadmin/ and found that there were nerly 40000 updates on the system. I then went in and setup WSUS so that it only downloads the updates that we actually need. However I am still stuck with all these unwanted updates.

When I click on the updates tab, after a while I get an error saying something like "unable to contact database"

I have tried WSUSDEBUGTOOL.exe /tool:purgeunneededfiles. I get an error invalid tool.

I have also tried WSUSUTIL.exe deleteunneededrevisions. After some time I get a timeout error message.

I just want to delete all the stuff I done need. Any suggestions?

0
Comment
Question by:roy_batty
  • 5
  • 4
  • 3
12 Comments
 
LVL 9

Expert Comment

by:Oliver-P
ID: 24848628
Hi,

What version of WSUS are you running on your SBS ?

0
 
LVL 1

Author Comment

by:roy_batty
ID: 24848638
how do i find out?
0
 
LVL 9

Expert Comment

by:Oliver-P
ID: 24848887
1/ Open the SBS console (manage server)

2/ Go to advanced management > Internet services (IIS) > Websites > WSUS Administration > right click WSUSAdmin and select the Browse command.

3/ To determine your version of WSUS look all the way at the bottom of the WSUS home page and you should see the build number (2.0.0.2620 if you are running WSUS2 SP1).
0
 
LVL 9

Expert Comment

by:Oliver-P
ID: 24848913
Please remember : don't manage your WSUS settings from this page or else you may get a WSUS error (blue shield) in your daily repports.
0
 
LVL 1

Author Comment

by:roy_batty
ID: 24848926
Yes its WSUS2 SP1 - 2.0.0.2620
0
 
LVL 47

Accepted Solution

by:
Donald Stewart earned 500 total points
ID: 24853159
First you should upgrade to WSUS 3.0

Then you can run the WSUS cleanup wizard

wsus-cleanup.PNG
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24853205
PS.

After you upgrade to 3.0 you will no longer be able to administer from a browser, you will need to use the MMC snap-in.


0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24853276
This may be of use to you prior to updating

WSUS Cleanup
0
 
LVL 1

Author Comment

by:roy_batty
ID: 24864274
I cant install wsus 3 due to lack of space due to the large SUSDB.mdf file.

When i try to run the wsuscleanup wizard from the cmd line I get the attached response.




C:\wsuscleanup>wsus_cleanup_cl.exe
 

Unhandled Exception: System.IO.FileNotFoundException: Could not load file or ass

embly 'Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Culture=ne

utral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system c

annot find the file specified.

File name: 'Microsoft.UpdateServices.Administration, Version=3.0.6000.273, Cultu

re=neutral, PublicKeyToken=31bf3856ad364e35'

   at WSUS_Cleanup_CL.Class1.Main(String[] args)
 

WRN: Assembly binding logging is turned OFF.

To enable assembly bind failure logging, set the registry value [HKLM\Software\M

icrosoft\Fusion!EnableLog] (DWORD) to 1.

Note: There is some performance penalty associated with assembly bind failure lo

gging.

To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fus

ion!EnableLog].

Open in new window

0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24864375
Have you tried to update to 3.0??
 
This will take care of your problems.
 
Also follow this thread first to help with your large susdb.mdf
 
http://forums.techarena.in/server-update-service/675873.htm 
0
 
LVL 1

Author Comment

by:roy_batty
ID: 24864482
I can't install 3.0 as I get an error saying that I don't have enogh space , like I said.

The linked page only really addresses the PDF file and not the mdf file which is the one causing the problem for me.
0
 
LVL 47

Expert Comment

by:Donald Stewart
ID: 24864556
I realize you say you are low on space. How large are your .LDF files??
Did you try what was suggested from the link(Restart Service MSSQL$WSUS)?
If you can get enough space to upgrade then the tools will help.
Here's a great article on how you can regain space by other means as well.
http://www.lwcomputing.com/tips/static/bootdrivesize.asp 
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
The articles for turning off the Client firewall policy on the internet are for SBS 2008 and don't really help for SBS 2011. They actually moved the Client firewall policy. In 2011, the client firewall policy has moved to the SBS computers conta…
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now