Import OS layer fails in App Layering, “Windows is hibernated, refused to mount.”

You get a “hibernated” failure trying to import a Gold VM in Unidesk 4. This likely applies only to Windows 10. Your error looks like this:

Failed to duplicate layer. Please ensure that you have sufficient space remaining in Unidesk local storage and retry this operation. Command = “/usr/sbin/ntfslabel /dev/nbd1279p1 UDiskP8B000CV0R1″ StdOut=”” StdErr=”Windows is hibernated, refused to mount.

Failed to mount ‘/dev/nbd1279p1’: Operation not permitted

The NTFS partition is hibernated. Please resume Windows and turned it

off properly, so mounting could be done safely.” ExitCode = 1

Specifically, note how it talks about being “hibernated” even though you properly shut down the VM. Windows 10, in an effort to be helpful, sometimes hibernates instead of shutting down properly, leaving the boot disk in a specific state that NTFS3G won’t touch.

In this case, the user should power on the Gold image again and run following command to simply turn off hibernation:

powercfg -h off

With hibernation disabled, Windows will have to shut down properly, allowing us to import. Try to import it again.

Related:

Leave a Reply