What is the Windows Might Be Installed in an Unsupported Directory error?

What causes it and how to fix it?

Read this troubleshooting guide fromMiniTool Solutionand you will see the answers.

Fix - Your Files, Apps, and Settings Can’t Be Kept Windows 10/11

What causes this error?

Here are several common reasons are displayed below.

In the following paragraph, well illustrate how to fix the unsupported directory error.

click on Run beside Windows Update

Get solutions from this post now.

Fix Windows Might Be Installed in an Unsupported Directory

Solution 1.

Run Windows Update Troubleshooter

Step 1.

change Startup type to Automatic

Typetroubleshoot settingsinWindows Searchand choose the best match.

SelectOther troubleshooters> navigate toWindows Update> choose theRunbutton beside it.

So click onApply this fixto continue.

Solution 2.

Edit Windows Registry

Step 1.

HitWin + Rhotkeys to launch theRundialog, typeregeditand pressEnter.

It will lead you to the location and then double-clickProgramFilesDirfrom the right pane.

Change theValue datatoOS Drive:\Program Files.

And clickOKto save the changes.

Dont forget to replaceOS Drivewith your drive letter.

Reboot your machine and check for the Windows 11 Windows Might Be Installed in an Unsupported Directory.

MiniTool ShadowMaker TrialClick to Download100%Clean & Safe

Solution 3.

Reset Windows Update Components

Step 1.

Typecmdin the search box and runCommand Promptas an administrator.

Copy & paste the following commands into the command window in turn.

They will stop all the Windows Update components.

net stop wuauservnet stop cryptSvcnet stop bitsnet stop msiserver

The following commands will reset theSoftwareDistributionandcatroot2folder.

net start wuauservnet start cryptSvcnet start bitsnet start msiserver

Solution 4.

Change Users Folder Location

When installing Windows, it will venture to back up the Users folders.

To do so:

Step 1.

PressWin + Eto openFile Explorerand locate the place where you have moved the Users folder.

Right-hit the folder and clickCutfrom the dropdown menu.

Go to the root directory of your OS drive and pressCtrl + Vto paste the copied folder.

After that, re-venture to install Windows and see if the warning pop-up still appears.

Solution 5.

Change Startup throw in of Windows Update

Step 1.

PressWin + Rhotkeys to launch theRundialog, typeservices.mscand pressEnter.

Scroll down to locate and double-clickWindows Update.

Then it’s possible for you to changeStartup typetoAutomatic.

Then repeat the same steps to change other services:Background Intelligent Transfer Service,Cryptographic Services, andTrustInstaller.

Solution 6.

Disable Antivirus/Firewall Temporarily

Sometimes an overzealous antivirus program can impede the installation process.Disabling the antivirusprograms is essential.

Solution 7.

Appreciate your reading and support.