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

Blocking Office Macros, Managing Windows & macOS via Intune

Blocking Office Macros, Managing Windows & macOS via Intune
How to centrally manage essential security settings of self-managed devices This is a guest post by Martin Kretzschmar, customer success engineer at vast limits, the uberAgent company. One thing I especially like about my everyday working life is the flexibility it offers. I appreciate the freedom of choice in terms of location, time and device. We want to avoid getting into micro-management but, being an IT company, we also need to provide the necessary security where needed.
Scripting

Latest Posts

Scripted WordPress to Hugo Migration

Scripted WordPress to Hugo Migration
After having published in WordPress for almost 20 years, it was time for a change. This site is now rendered by Hugo, a static website generator built for Markdown content hosted in a Git repository. The migration from WordPress (HTML) to Hugo (Markdown) was far from trivial. Since I couldn’t find any tool for the job, I developed my own set of migration scripts that fully automate the migration process. You can find them on GitHub along with extensive documentation.
Website