W10 1909 create image failed.
-
When I prepare windows image in audit mode and use sysprep, after boot from fog to capture the image its…
Could not mount /dev/sda1 (/bin/fog.upload->beginUpload)
Args Passed:
Reason: The disk contains an unclean file system (0, 0)
Metadata kept in Windows cache, refused to mount.
Failed to mount ‘/dev/sda1’: Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting),
or mount the volume read-only with the ‘ro’ mount option.Any reason?
-
Yes, windows is in a dirty state. Google “windows dirty bit” for more details on this issue. The issue isn’t with FOG but Windows and how it closes the files on the disk.
To fix this you will need to restart the workstation and then:
- Use the proper sysprep command switch to power off the computer (best)
- Sysprep the system then use
shutdown.exe -s -t 0
to power off the computer.
Since Windows 8 windows start button shutdown isn’t really a shutdown, but an enhanced sleep state (S5). Using one of the above methods will ensure the system is properly closed and ready for imaging.