Solution to "Windows Cannot be Installed to this Disk"

I encountered a strange error when I moved my laptop’s hard drive to another computer to make room for an SSD. When I tried to install Windows 8 on the repurposed drive I could not see any partitions. Neither could I install Windows on the drive. I kept getting the error Windows cannot be installed to this disk. In addition, the setup process was extremely slow.

BitLocker?

I first thought this was because I had encrypted the drive with BitLocker. I could not think of a reason why this should cause the error and a web search was not fruitful either.

UEFI?

Then I suspected UEFI - I had moved the drive to a computer with the BIOS in UEFI mode. For that, a GPT (GUID partition table) is required. If the disk was previously used in a computer with the BIOS in legacy mode, its partitioning would be MBR. This was the case, so with Nicholas Dille’s instructions I pressed SHIFT+F10 during setup and issued the following commands:

diskpart
list disk
select disk 0
clean
convert gpt

That last command failed, however, with an I/O error. That never sounds good.

ATA Password!

It took a while, but I finally remembered that I had set an ATA password on the disk. My laptop’s BIOS has the capabilities to manage ATA passwords, but not every computer does. The Sony laptop I had fitted the drive into has very “simple” BIOS that does not offer many options. It did not know about ATA passwords, so it ignored that and presented the still protected drive to Windows setup, which of course assumes that a drive is unprotected and therefore fails miserably.

Once I had identified the problem the solution was clear: I refitted the drive into the Lenovo laptop, cleared the ATA password, put it back into the Sony and Windows installed without a glitch.

Comments

Related Posts

How Forcing Password Changes Actually Weakens Security

How Forcing Password Changes Actually Weakens Security
When was the last time you got that not too friendly message stating that your password has expired and asking you to change it? Probably only a few weeks ago, and just as sure as day follows night, it is going to appear again only too soon. At least that is the typical user’s point of view. Security conscious administrators see this differently: they seem to think that passwords become weaker over time, like human beings growing old, and therefore force a rejuvenation process every couple of weeks. But is that really necessary? I do not think so.
Security

Latest Posts

Filebrowser to Be Archived. Migrate to a Modern Alternative: Sambee

Filebrowser to Be Archived. Migrate to a Modern Alternative: Sambee
Filebrowser is being archived. As the author writes, the codebase dates back to when he was but 15 years old. Having created such a popular file management tool is a more than impressive achievement for anyone, let alone a teenager. However, when it comes to security and reliability, Filebrowser seems to be built on a less than ideal foundation, so much so that the author states:
Home Automation, Networking & Self-Hosting