but simple this command "wsusutil.exe Deleteunneededrevisions" just doesnt
work. ( well actually it worked once, but I can not recreate it again)
What I am trying to achieve is delete from the database and therefore the
wsus web front end, the entris for "declined" updates. Yes I said declined
updates!!
I decline the update, make sure it shows up as declined.
stop the wsus website (iisreset /stop)
run the command "wsusutil.exe Deleteunneededrevisions" from where it is
installed and says:
Database cleanup is in progress, please be patient
Database cleanup has completed successfully
but hey gues what when I restart (iisrest /start) the declined updates are
still there.
I havent moved onto purgeing the files yet!!
It also seems that a number of other people are having the same trouble. Is
this a bug?
Any ideas?
Robin
Maybe you have different expectations than the intended use of this command?
> What I am trying to achieve is delete from the database and therefore the
> wsus web front end, the entris for "declined" updates. Yes I said declined
> updates!!
That command won't do it. In fact, there is no command to remove "declined"
updates.
What the "deleteunneededrevisions' command does, is exactly what it says:
Delete Unneeded REVISIONS. In order to appreciate the subtlety of this, you
need to be aware of what a "revision" is. A "revision" is a repackaged
update, released under the same update identifier (KB, MSRC). The command is
designed to remove the /metadata/ from the datbase. (To remove the
/content/, you need to use the PurgeUnneededFiles option of the WSUS Server
Debug Tool.)
> I decline the update, make sure it shows up as declined.
> stop the wsus website (iisreset /stop)
> run the command "wsusutil.exe Deleteunneededrevisions" from where it is
> installed and says:
>
> Database cleanup is in progress, please be patient
> Database cleanup has completed successfully
Yep. :-)
> I havent moved onto purgeing the files yet!!
Purging the files requires that the update is defined in the database =and=
is marked as Declined.
> It also seems that a number of other people are having the same trouble.
> Is this a bug?
Nope.. the behavior you're observing is 'by design'.
See http://www.wsuswiki.com/MowingTheGrass for more details on how to
accomplish part of what you may be trying to do.
--
Lawrence Garvin, M.S., MCTS, MVP-Software Distribution
Everything you need for WSUS is at
http://technet2.microsoft.com/windowsserver/en/technologies/featured/wsus/default.mspx
And, everything else is at
http://wsusinfo.onsitechsolutions.com
....