CHKDSK cancels on virtual Windows 7 startup

It has been a while since I blogged last but I came across this issue today and decide to write about it. I wanted to install two instances of SQL Server to to test different mirroring and log shipping scenarios but my disk was too small.

So, I needed to resize the Windows 7 virtual client on a Linux desktop. However, the resize was failing due to inconsistencies on the Windows virtual drive. To resolve this & correct the errors, I had to run CHKDSK /F.

CHKDSK /F will only run during the Windows start up process. But almost immediately, each & every time, the CHKDSK process would get cancelled.

I did find a hotfix for this known issue on the Microsoft support pages at –

However, the patch stopped with the message – “The update is not applicable to your computer.”

Further bingle searches with “linux” &  are “virtual” added as search terms produced a second article that was more specific to my issue –

Basically linux is sending a keystroke to windows that interrupts the CHKDSK process.

Run CHKNTFS /t:0 before running the CHKDSK /F. This disables the option to interrupt the CHKDSK before it starts. You can always reset it afterwards.

All is good in my virtual windows world now!

%d bloggers like this: