silver2kgt
Technical User
I am trying to figure out how I can setup Disk Cleanup in XP Pro to run once a month on my company's desktops. I have the task scheduler part down. I found a Microsoft article that allows you to setup diskcleanup to run with custom settings (what items to delete), but it doesn't say where in the registry the updates are made when you run cleanmgr.exe /sageset:n (where n is any number from 0 - 65536) and then make the modifications. This supposedly makes an entry into the registry so that you can refer to it later with cleanmgr.exe /sagerun:n. If I knew the location in the registry I could export the reg key and import it to all of our PC's and all of this would work great (we have 200+ PC's here and I don't really want to go to each PC to set this up.) Can anyone help on this or done this before and know where in the registry these keys are located? Thanks in advance.