Sign up ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Anyone know of a way to completely wipe WSUS of updates and start again?

It seems as if I have loads of language packs and assorted rubbish in the list which we do not need. Having now removed all the unwanted Products, Classifications and Languages what I would like to do is completely clean out the WSUS database and start again. It appears that uninstalling the reinstalling the WSUS role does not help they are all still there. Have also tried the Server Cleanup wizard which seems to be mostly a waste of time, it didn't clean up any of the updates I was hoping it would remove.

I haven't yet installed any of these on a machines yet so if only I could work out how I could completely wipe all listed updates and start again but according to my new reduced Products list.

Thanks, Nick

share|improve this question
I have a feeling that WSUS 2012 is just ignoring my Product, Classification & Language settings and listing whatever downloads it want to ignoring my settings. – NickC Nov 18 '12 at 21:06

2 Answers 2

up vote 6 down vote accepted

Answer now found, just posting this for the benefit of anyone else who might come across this problem.

It seems that uninstalling "WSUS" and "WID Database" option does not actually remove the WID database. The WID database can be removed by uninstalling the "Windows Internal Database" feature. You will also need to manually delete the file C:\windows\WID\Data\susdb.mdf before re-installing everything again.

share|improve this answer
above does not work. I am using windows powershell on server 2003. – user242086 Sep 12 '14 at 13:15
Deleting the susdb.mdf-File will result in errors during post-installation-configuration, until the file is restored manualy. – Tobias Sep 28 at 12:47

To re-install WSUS with a clean database ie no previous configuration;

Run Windows Powershell as Administrator and use the following commands:

Uninstall-WindowsFeature -Name UpdateServices,Windows-Internal-Database -Restart

Post restart, delete EVERYTHING in the "C:\Windows\WID" (for Win 2012 r2) folder, then run the following command to re-install WSUS:

Install-WindowsFeature UpdateServices -Restart

This only works on Powershell 3 or higher. More info here:

share|improve this answer

protected by Community Sep 8 at 17:06

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.