Skip to content

Instantly share code, notes, and snippets.

@Costava
Created October 4, 2020 17:53
Show Gist options
  • Save Costava/bf1b41c1a58fd327a00a729224055b7e to your computer and use it in GitHub Desktop.
Save Costava/bf1b41c1a58fd327a00a729224055b7e to your computer and use it in GitHub Desktop.
Stop Windows 10 from locking NTFS partition(s) on multiple-boot computer.

Windows 10 locks shared NTFS partition(s)

Problem: Windows 10 locks shared NTFS partition(s). From Linux (multiple boot), files on the NTFS partition(s) cannot be deleted and programs depending on the partition's data cannot function properly.

Try 0: Shut down Windows

  1. Boot into Windows
  2. Shut down Windows (specifically not restart)

Hopefully Windows will not lock the partition(s) since you shut down.

Try 1: Disable hibernation in Windows

  1. Press the Windows button on the keyboard to open Start menu or Start screen.
  2. Search for cmd. In the search results list, right-click Command Prompt, and then select Run as Administrator.
  3. When you are prompted by User Account Control, select Continue.
  4. At the command prompt, type powercfg.exe /hibernate off, and then press Enter.
  5. Type exit, and then press Enter to close the Command Prompt window.

Steps via Microsoft Docs page "How to disable and re-enable hibernation on a computer that is running Windows"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment