How to Delete the "Windows.old" Folder in Windows 8 (PowerShell)

This PowerShell script shows how to delete the "Windows.old" folder in Windows 8.

5 Star
4,169 times
Add to favorites
E-mail Twitter Digg Facebook
  • Windows 10 Redstone Compatiblity?
    3 Posts | Last post October 02, 2019
    • I just tried this on a Windows 10 machine and it didn't work.  Is this compatible?
    • I know this is a late reply but it may help others.
      The script uses the environmental variable HOMEDRIVE. This doesn't always resolve to the local disk. The variable used should have been SYSTEMDRIVE, change this on line one of the script.
    • Just tested it on Windows 10 1903 Enterprise and worked like a charm. 
  • Windows 8.1 compatibility?
    3 Posts | Last post December 07, 2017
    • Would this script work on Windows 8.1, if I was to upgrade from Windows 8?
    • Yeah, it works on Windows 8.1.
    • For me, This script works well! I have win 10. Thanks to the script Team.