Windows 7: Fix for reboot loops for failed upgrades from Vista

When attempting to upgrade from Windows Vista or Windows 7 to Windows 7 the upgrade attempt may fail and display this message: "The upgrade was not successful. Your previous version of windows is being restored. Do not restart your computer during this time." However, when the system restarts it doesn’t roll back to previous version […]

When attempting to upgrade from Windows Vista or Windows 7 to Windows 7 the upgrade attempt may fail and display this message: "The upgrade was not successful. Your previous version of windows is being restored. Do not restart your computer during this time." However, when the system restarts it doesn’t roll back to previous version of Windows, continues with upgrade and fails with same message again. This occurs repeatedly and the process is stuck in a loop. This may occur if there is a shell folder (Documents, Pictures, Videos, etc...) that is redirected to a location within its own path prior to the upgrade. “To resolve this issue you’ll need to enter Windows Recovery environment and take several steps to locate duplicate folders and move them to a temporary location to resolve the endless reboots. Once the system successfully does a rollback further steps need to be taken to avoid the problem when the next upgrade attempt is made. To access Windows Recovery environment follow steps KB978421.”