What to do if Windows was unable to locate boot.wim

Ivan Jenic
by Ivan Jenic
Troubleshooting Expert
0 Comments
Download PDF
Affiliate Disclosure

Windows was unable to locate boot wim

Although not too common, there have been some instances of a few users getting the Windows was unable to locate boot.wim error message.

This error usually appears when upgrading from one version of Windows to another, so today we’ll try to fix it.

How can I fix Windows was unable to locate boot.wim error?

  1. Temporarily disable antivirus
  2. Create a bootable media
  3. Make modifications in the Registry

1. Temporarily disable antivirus

If you have any anti-virus application running on your PC, that might be the cause for Windows was unable to locate boot.wim error.

So the best solution here would be to disable the virus protection while downloading and installing the desired software.virus and threat protection Windows was unable to locate boot wim

To disable the virus protection, launch the anti-virus application and follow instructions for the same, or you can do the same from the Windows Security Center as well.

Be sure to restore the protection after the installation is complete to prevent malware infections later on.

If your antivirus software was causing this issue, you might be able to fix the problem by switching to a different antivirus solution.

Bitdefender offers reliable protection, and it won’t interfere with your system in any way, so feel free to try it out.


2. Create a bootable media

media creation tool can't locate boot wim

If you’re getting Windows was unable to locate boot.wim error while upgrading to a new version of Windows, you might be able to fix the problem by using a Windows 10 media to install Windows 10 on your device.

To do that, you’ll need to download Media Creation Tool and create a bootable media. The process would vary depending on the installation media (USB flash drive or DVD) you wish to create.

Follow instructions on the screen to complete the process. Once you create bootable media, use it to install the latest version of Windows 10.


3. Make modifications in the Registry

Another way to fix Windows was unable to locate boot.wim error is to modify your registry. To do that, follow these steps:

  1. Press Windows + R buttons on your keyboard.
  2. Type regedit and press enter. This will launch Registry Editor.
    regedit
  3. Alternately, you can also type regedit on the Cortana search box. Right-click on the search result shown and select Run as administrator.
  4. In the Registry Editor window, locate HKEY_LOCAL_MACHINE\SOFTWARE\
    Microsoft\Windows\CurrentVersion\
    WindowsUpdate\OSUpgrade
    on options in the left.
    windowsupdate registry Windows was unable to locate boot wim
  5. Create a new DWORD (32-bit) Value with Name = AllowOSUpgrade, and set the Value = 0x00000001. You can create a new DWORD value by right-clicking on the blank portion on the right and hovering over New. Select DWORD (32-bit) Value
  6. Launch Control Panel again and navigate to Windows Update.
  7. You should get to see a button Getting Started. Click on it to launch the Windows 10 installation process. Follow on-screen instructions that show up.

In case the folder or key, OSUpgrade is not there in Step 4, you will have to create it. Here are the steps.

  1. Right-click on the blank portion on the right. There is only one option that you get to see – New. Hover on it and from the sub-menu that appears, click on Key. A new folder appears under WindowsUpdate. Name it OSUpgrade and press Enter.
  2. Double-click on the newly created key OSUpgrade to open it.
  3. Check if the value AllowOSUpgrade is present, and make sure its value data is set to 0x00000001. If yes, that’s fine. If not, there is something more you need to do.
  4. If the value AllowOSUpgrade is not present, right-click again as before and select DWORD (32-bit) Value and name it AllowOSUpgrade.
  5. With the value created, double-click on it to set it at 0x00000001. Do the same if the value is set to something else.
  6. Reboot your PC for the new changes to take effect.

A word of caution. It is always recommended to back up your registry before making any changes to it. Here is how you do that.

  1. Click on File in the menu bar at the top and select Export.
    export registry Windows was unable to locate boot wim
  2. In the Export Registry File window that opens, set the location where you wish to save the settings in the Save in box. Also, give it a name as well and click Save.

That’s it.

If you sense something wrong with your PC immediately after you have tinkered with the registry, simply navigate to the backed-up file and double click on it. Follow on-screen instructions and restart your PC when prompted. You should be back to where you started from.

There you go, these are some solutions that might help you fix Windows was unable to locate boot.wim error, so is sure to try them all.

READ ALSO:

Was this page helpful?
Thanks for letting us know! You can also help us by leaving a review on MyWOT or Trustpillot.
Get the most from your tech with our daily tips
Tell us why!