Windows is hibernated, refused to mount

Since I code for various OS, I constantly switch from Windows to WSL and/or boot my Windows 11 PC into Linux using a live DVD. An annoying problem when you try to mount a Windows FS which apparently most try to troubleshoot within Linux is:

Here are the steps I follow and the Error Messages:

_PUUID=“30fcb748-ad1e-4228-af2f-951e8e7b56df”

$ sudo blkid | grep “${_PUUID}”

</dev/sda#> …

$ sudo mkdir --verbose --parents “/media/user/${_PUUID}”

mkdir: created directory ‘/media/user’

mkdir: created directory ‘/media/user/30fcb748-ad1e-4228-af2f-951e8e7b56df’

$ sudo mount --verbose </dev/sda#> “/media/user/${_PUUID}”

Windows is hibernated, refused to mount.

The disk contains an unclean file system (0, 0).

Metadata kept in Windows cache, refused to mount.

Falling back to read-only mount because the NTFS partition is in an

unsafe state. Please resume and shutdown Windows fully (no hibernation

or fast restarting.)

Could not mount read-write, trying read-only

$ sudo mount --verbose /dev/sda4 /media/user/0df9ab80-e150-4483-8bb3-f6a74dbee445

Wed Oct 1 03:00:05 AM UTC 2025

Mount is denied because the NTFS volume is already exclusively opened.

The volume may be already mounted, or another software may use it which

could be identified for example by the help of the ‘fuser’ command.

~

What would be the powershell script I must run within Windows as part of its shutdown in order to avoid that problem?

lbrtchx

Don’t think this is a powershell issue, but… it tells you in the message “shutdown windows instead of hibernate or fast restart”

this isn’t really a Powershell issue.
The computer was previously not shutdown but instead put in to hibernation. This is usually in the power configuration options, but can also depend on how the computer was shutdown.

Since this is a PowerShell forum, you could try using Stop-Computer from a PowerShell session to shutdown the computer, but I’m pretty sure if the power configuration settings say to hibernate, it’s going to hibernate.

There’s no native PowerShell way to control hibernation, but you can run this executable from a PowerShell session:

To fix the “Windows is hibernated, refused to mount” issue, disable hibernation and fast startup in Windows. First, open PowerShell as Administrator and run powercfg -h off to disable hibernation. Then, disable Fast Startup by either using the PowerShell command powercfg -attributes SUB_SLEEP STANDBYIDLE -disable or by going to Control Panel > Power Options > Choose what the power buttons do and unchecking Turn on fast startup. Finally, shut down Windows properly with shutdown /s /f /t 0. This should allow Linux to mount the NTFS partition without errors.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.