IT Knowledge Base

User Tools

Site Tools


Contact me at for any feedback or suggestions.

My other sites:

Search all my sites:


How to Delete Windows.old Folder

This was left over from in place upgrade.

3 ways -

easiest way on servers is ccleaner

Correct way to delete it is using the “Disk Cleanup” utility from properties of C: drive in Windows Explorer.

In a server, the Disk Cleanup utility is not installed by default. You can get it by installing the Desktop Experience feature (under “User Interface” group). This will require a reboot.

BE CAREFUL! - especially with Hyper-V host servers

As per this, the Windows.old folder may contain junctions (symlinks) so your results may vary!

You may notice no problems at first, but then when you reboot, and open Hyper-V Manager, you may see the message: “No virtual machines were found on this server” …

And you may find there are no files in %systemdrive%\programdata\Microsoft\Windows\Hyper-V\Virtual Machines\

You'll need to follow the advice of something like this - although note that I didn't need to follow all of the steps, so make sure you have good backups before starting, and use your common sense!

These are the only steps I needed to do (once per each VM):

  • mklink “%systemdrive%\programdata\Microsoft\Windows\Hyper-V\Virtual Machines\915EE0D1-2702-43D9-BB46-29040BC14D00.xml” “F:\SVR-DC01\Virtual Machines\915EE0D1-2702-43D9-BB46-29040BC14D00.xml”
  • Started the vmms service, confirmed VMs are now visible
  • icacls “%systemdrive%\programdata\Microsoft\Windows\Hyper-V\Virtual Machines\915EE0D1-2702-43D9-BB46-29040BC14D00.xml” /grant “NT VIRTUAL MACHINE\915EE0D1-2702-43D9-BB46-29040BC14D00”:(F) /L

Other missing things I've noticed

Administrative Tools folder is missing from Control Panel

how_to_delete_windows.old_folder.txt · Last modified: 2018/04/09 09:56 (external edit)