how to remove old file versions from a wss 3.0 document library

Hello Expert
have some problems with my wss 3.0 sp2 content db, is currently over 160 GB.
i found out that many doc libraries are using:
- create major versions  (only, without limit the number)

i'm setting "no versioning" on most of them but i'm wondering if there is a quick way to delete, remove the old file versions keept and leave only the last published?

thanks for your help. -andrea
LVL 1
ITDataCenterAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jamie McAllister MVPSharePoint ConsultantCommented:
From http://office.microsoft.com/en-us/sharepoint-server-help/restore-or-delete-a-previous-version-of-an-item-or-file-HA010148859.aspx


"Delete all previous versions

When you delete all previous versions of list items or files, all versions except the current version are sent to the Recycle Bin. If you delete versions in a library that tracks both major and minor versions, and your current version is a minor version, the last published major version is also kept.

If the list or library is not already open, click its name on the Quick Launch.
If the name of your list or library does not appear, click View All Site Content, and then click the name of your list or library.

Point to the item or file for which you want to manage versions, click the arrow that appears, and then click Version History.

Versions are numbered and listed in reverse order, with the latest version first.

Click Delete All Versions.
When you are prompted to confirm whether you want to delete all previous versions, click OK."
0
AlMothanaAlOmariCommented:
hello,
kindly check this tool : clean up tool
also check this link link
0
quihongCommented:
None that I'm aware of.

I guess you figured out that by switching the DocLib back to no versioning, it actually doesn't delete the previous versions. At least not until the document is updated again.

My best recommendation would be to use the Site Usage reports and identify and manually delete all versions for your most space consuming documents.

Otherwise, check out this guys extension of stsadm. He has a DeleteAllVersions switch which takes a list name. Never used it though

http://www.hezser.de/blog/archive/2007/11/17/sharepointconsole.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SharePoint

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.