I've been using Ubuntu for a few months now and have decided to go back to Windows. However, every time I try to install Windows, when I select a partition to install to, I get an error that says:

Windows is unable to install to the selected location Error 0x80300024

Is this issue caused by Ubuntu, and if so, how do I fix it? I'm not planning on dual booting, just going with straight up Windows.


It seems that you are trying to install Windows on the Ubuntu partition without formatting the partition first.

Important: all the following steps will cause loss of data! Continue only if you really want to delete ALL the Ubuntu data (OS and your private data). You have been warned!

When installing Windows, format the partition from within the Windows installer, i.e. when installing. You should do it at the screens that look like the following:

Windows installer screenshot - format drive

If you cannot press the format button:

  1. Delete all the partitions (via the delete button).
  2. Make a new partition on the empty space (via the new button). Windows will tell you that it has to create a small system partition, this is normal.
  3. Format the new partition, be sure to format the bigger one and not the system partition created by Windows.

When you managed to format the partition, select that one to install to and you should be able to finish installing Windows.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.