Last Updated on March 23, 2018
If you ever try to repair or upgrade your PC from an older version of Windows, you can sometimes get errors. This time, the error I’m talking about is related to Windows is installed in an unsupported directory error.
It says Windows might be installed in an unsupported directory in the upgrade (installation) box. When this error shows up, you will also not get the option to “Keep your personal files and apps” during the upgrade. The only option to select is Nothing.
That means, if you continue this way, Windows will delete all your files, folders and apps installed on your PC. Now, this isn’t a universally documented solution, so your mileage may vary, but it has worked for me in the past.
This problem occurs when Windows setup can’t find the default folders for the files and apps on your PC. By default, Windows tries to find them in the
C:\Program Files directory. But, if you have them installed somewhere else, you can get errors.
The full error is like this:
You can’t keep Windows settings, personal files, and apps because your current version of Windows might be installed in an unsupported directory.
Fix Windows Installed in an unsupported directory
- Press Windows + R to open Run.
regeditand press Enter.
- Navigate to
- You need to modify a few keys here. Specifically, the ones which store the location of the program files on your PC. Edit the following keys:
- The following are the key names along with the values what you need to set them with.
C:\Program Files (x86)
- After editing all the values, close the registry and restart your PC.
Once you change all the keys to their correct values, Windows will be able to find the correct location for the default Program Files folders. Now, you can continue with Windows 10 setup without the Windows Installed in an unsupported directory error.