Windows OS Hub
  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu
  • Home
  • About

Windows OS Hub

  • Windows Server
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
    • Windows Server 2012 R2
    • Windows Server 2012
    • Windows Server 2008 R2
    • SCCM
  • Active Directory
    • Active Directory Domain Services (AD DS)
    • Group Policies
  • Windows Clients
    • Windows 11
    • Windows 10
    • Windows 8
    • Windows 7
    • Windows XP
    • MS Office
    • Outlook
  • Virtualization
    • VMWare
    • Hyper-V
    • KVM
  • PowerShell
  • Exchange
  • Cloud
    • Azure
    • Microsoft 365
    • Office 365
  • Linux
    • CentOS
    • RHEL
    • Ubuntu

 Windows OS Hub / Windows 10 / Windows 10 Upgrade Error: Windows Might be Installed in Unsupported Directory

March 1, 2019 Windows 10

Windows 10 Upgrade Error: Windows Might be Installed in Unsupported Directory

When trying to upgrade the current Windows 10 build to 1809 (October 2018 Update) using the ISO file, I have come across an interesting problem. At the stage of selecting system settings to be saved during the upgrade, the option of keeping personal files and apps was inactive, and the wizard offered only one upgrade option when all personal user data and apps were going to be deleted (Nothing option). Meanwhile the following message was displayed at the bottom:

You can’t keep Windows settings, personal files, and apps because your current version of Windows might be installed in a unsupported directory.

windows 10 upgrade warning: You can’t keep Windows settings, personal files, and apps because your current version of Windows might be installed in a unsupported directory

At first it seemed to me that I wouldn’t be able to upgrade the Windows 10 build from 1803 to 1809 and keep all user data, and I would have to reinstall the Windows in a clean install mode. However, the problem was only in the fact that the upgrade wizard could not find default Windows 10 app folders (getting ahead, I’d say that in my case they were specified incorrectly on some reason).

You can fix the problem by editing the registry. To do it:

  1. Run the Registry Editor – regedit.exe;
  2. Go to the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion;
  3. Find the registry parameter named ProgramFilesDir. It must contain the full path to the directory where the system ‘Program Files’ folder is kept. If your system is installed on drive C:, the value of this parameter must be C:\Program Files. If the system is installed on another drive, the path will be different, for example, E:\Program Files;
  4. Edit the value of this parameter so that it contains the full path to Program Files directory in your Windows 10 installation; ProgramFilesDir path in registry
  5. In the same way, check the values of the following parameters: ProgramFilesDir(x86), ProgramFilesPath and ProgramW6432Dir. If Windows 10 is installed on the C: drive, the following paths should be listed there:ProgramFilesDir(x86) = C:\Program Files (x86)
    ProgramFilesPath = C:\Program Files
    ProgramW6432Dir = C:\Program Files
    Tip. Instead of paths, you can use Windows environment variables. For example, you can use %ProgramFiles(x86)% variable as the value of ProgramFilesDir(x86) parameter, and %ProgramFiles% for the ProgramFilesPath.
  6. Close the Registry Editor, restart your computer and start Windows 10 upgrade wizard again.
The edition, bitness and language of the Windows 10 image in the ISO file must fully match the OS installed on your device. You can get the information about the original system language as follows: DISM /online /get-intl

DISM /online /get-intl - get original system language in windows 10

In our example, you can see that the original language of the system is French (Default system UI language: fr-FR). In some cases, in order to upgrade Windows 10 correctly, you need to remove all additional localization packages.

Please, also make sure that you haven’t redirected standard Windows app folders or the user profile directory (C:\Users\) to another drive using symbolic links. It can also cause this problem.

0 comment
0
Facebook Twitter Google + Pinterest
previous post
ESXi: Slow Disk Performance on HPE Gen8
next post
Using Mandatory (Read-Only) User Profiles in Windows 10

Related Reading

Using Previous Command History in PowerShell Console

January 31, 2023

How to Install the PowerShell Active Directory Module...

January 31, 2023

Enable Internet Explorer (IE) Compatibility Mode in Microsoft...

January 27, 2023

How to Disable or Uninstall Internet Explorer (IE)...

January 26, 2023

How to Delete Old User Profiles in Windows?

January 25, 2023

Leave a Comment Cancel Reply

Categories

  • Active Directory
  • Group Policies
  • Exchange Server
  • Microsoft 365
  • Azure
  • Windows 11
  • Windows 10
  • Windows Server 2022
  • Windows Server 2019
  • Windows Server 2016
  • PowerShell
  • VMWare
  • Hyper-V
  • Linux
  • MS Office

Recent Posts

  • Using Previous Command History in PowerShell Console

    January 31, 2023
  • How to Install the PowerShell Active Directory Module and Manage AD?

    January 31, 2023
  • Finding Duplicate E-mail (SMTP) Addresses in Exchange

    January 27, 2023
  • How to Delete Old User Profiles in Windows?

    January 25, 2023
  • How to Install Free VMware Hypervisor (ESXi)?

    January 24, 2023
  • How to Enable TLS 1.2 on Windows?

    January 18, 2023
  • Allow or Prevent Non-Admin Users from Reboot/Shutdown Windows

    January 17, 2023
  • Fix: Can’t Extend Volume in Windows

    January 12, 2023
  • Wi-Fi (Internet) Disconnects After Sleep or Hibernation on Windows 10/11

    January 11, 2023
  • Adding Trusted Root Certificates on Linux

    January 9, 2023

Follow us

woshub.com
  • Facebook
  • Twitter
  • RSS
Popular Posts
  • Booting Windows 7 / 10 from GPT Disk on BIOS (non-UEFI) systems
  • Error Code: 0x80070035 “The Network Path was not found” after Windows 10 Update
  • Removable USB Flash Drive as Local HDD in Windows 10 / 7
  • How to Disable UAC Prompt for Specific Applications in Windows 10?
  • How to increase KMS current count (count is insufficient)
  • Managing Printers and Drivers with PowerShell in Windows 10 / Server 2016
  • Configuring L2TP/IPSec VPN Connection Behind a NAT, VPN Error Code 809
Footer Logo

@2014 - 2023 - Windows OS Hub. All about operating systems for sysadmins


Back To Top