Host drive did not shut down in a clean state - Fix
I wanted to let you know I recently ran into the above issue several times when trying to make a Sysprep image for Windows 10. I would reboot, and power down cleanly through the Shutdown GUI with no change, I ran chkdsk and sfc scan with no change nothing seemed to work.
Here is the solution I found:
From the command prompt, run shutdown /p
That will do the same as shutting down through the GUI, but now I can upload my images to FOG.
I just wanted to share this in case others were having this issue as well.
@george1421 I could, but shutdown /p worked just fine for me. I’m a firm believer in the KISS method so the less typing I have to screw up the better.
@Vanlue-IT-Guy If you use
shutdown /s /t 0that should put the disk in a safe state and not hybrid shutdown.
Wayne Workman last edited by Wayne Workman
There’s also this article about it: https://wiki.fogproject.org/wiki/index.php?title=Windows_Dirty_Bit
@george1421 we should get your sysprep shutdown piece into there too I guess?
With Win10, shutdown is not really shutdown, its more of an advanced/enhanced sleep mode. So the disk is not closed properly when you sysprep and then select shutdown from the gui. If you pick reboot and catch the system during the reboot in the firmware mode then you can power off the system and it will capture correctly.
FWIW: What we do is use the command line parameter with sysprep which tells sysprep to power off the computer when done. This command line switch does shutdown Win10 properly with a lot of extra steps.
Wayne Workman last edited by
What version of FOG?