Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

wsusutil.exe Deleteunneededrevisions - just DONT work!

104 views
Skip to first unread message

Robin Ferris

unread,
Feb 21, 2007, 8:35:23 AM2/21/07
to
OK OK so I have followed the guides (and boy are there many out there crying
for our attention!!)

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


Lawrence Garvin (MVP)

unread,
Feb 22, 2007, 6:21:24 PM2/22/07
to
"Robin Ferris" <r.fe...@napier.ac.uk> wrote in message
news:uL%236k0bV...@TK2MSFTNGP05.phx.gbl...

> OK OK so I have followed the guides (and boy are there many out there
> crying for our attention!!)
>
> but simple this command "wsusutil.exe Deleteunneededrevisions" just doesnt
> work. ( well actually it worked once, but I can not recreate it again)

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
....


0 new messages