How does the Disk Cleanup utility determine whether there is an old Windows installation present? I notice that just creating a Windows.old directory with a file inside doesn't cause it to detect the directory as an old installation.
Are there key files within the directory that it checks for, is it a combination of the directory name with some flags, or is it something else entirely?
Additionally, if a valid old installation of Windows was renamed from Windows.old to something else, would it still be detected?