Here's a nice blog post from Rick Claus that covers how to remove the windows.old directory. It doesn't quite give a ready to use script, but it's close enough that you should be able to put something together.
https://regularitguy.com/2013/12/16/how-to-delete-windows-old-from-windows-server-2012-r2/ Steve Whitcher www.neighborgeek.net On Mon, Aug 29, 2016 at 6:26 AM, Kevin Ray <[email protected]> wrote: > yes but we are in 1511 it will takes some time for 1607. > > Scheduled task is for 30 days i guess. Is their any way i can change to 10 > days or > > is their any script for deleting the windows.old without user prompt > > On Thu, Aug 11, 2016 at 6:08 PM, Jason Sandys <[email protected]> wrote: > >> There’s already a scheduled task for this. Lots of details at >> https://deploywindows.info/2015/09/09/windows-10-upgrade-and >> -clean-up-tasks/ >> >> >> >> The grace period was lowered to 10 days in 1607 also. >> >> >> >> J >> >> >> >> *From:* [email protected] [mailto:[email protected] >> orum.com] *On Behalf Of *Kevin Ray >> *Sent:* Thursday, August 11, 2016 3:41 PM >> *To:* mssms <[email protected]> >> *Subject:* [mssms] windows.old delete script >> >> >> >> Hi All, >> >> >> >> Im looking a script/powershell which it will remove the windows.old >> Folder silently without user promt... >> >> >> >> I got sone scripts where im getting the user promt.... >> >> >> >> > >

