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

Streamed Video Audio Sync Problems on Windows 10 / Realtek Sound

Streamed Video Audio Sync Problems on Windows 10 / Realtek Sound
I have been watching streaming video for a very long time. It always worked beautifully, in high resolutions and from any site: YouTube, Netflix, Amazon Prime Video, you name it. Then suddenly I started to notice lip sync issues, probably around autumn/winter 2016. The longer a video played, the more the audio would get out of sync with the video, making watching and listening increasingly awkward. Recently I finally found the time to analyze these audio/video sync problems. Read on for a playback troubleshooting methodology followed by a workaround for the issue at hand.
Troubleshooting

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