Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've got a domain of 10-15 Windows 7 computers that I don't have physical access to. They are using Windows Backup to only backup certain files (Desktop, Fav's, PST, things like that). The problem I'm having is that my server is running out of room. How can I set the backup to use, say, only 20gb, or to delete backups older than one month?

share|improve this question

Create a batch file with the following command line:

forfiles -p "C:\path\path" -s -m . -d -c "cmd /c del @path"

Schedule that file to be ran on a daily basis.

share|improve this answer
You'll also need to download Windows Server 2003 Resource Kit Tools ( – George Jun 1 '12 at 16:57
You can also get forfiles by going to ( – George Jun 1 '12 at 19:02
And make sure you place it in System32 folder under Windows – George Jun 1 '12 at 19:14

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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