Share via

[BUG] Cannot shutdown Windows 11 after aborted network file copy

pcf 0 Reputation points
2026-04-04T07:38:27.01+00:00

Using Windows 11 Pro 25H2 (Build 26200.8037).

Steps to reproduce:

  • Copy some files to a Samba network share using the Explorer
  • Abort the process in-between
  • Shutdown the PC

Reaction:

  • Shutdown starts
  • All applications seem to terminate
  • The screen goes black
  • The PC remains powered on for hours with no reaction on keyboard & mouse & power button

The only possible solution to turn the PC off is by hard power off.

Please fix this issue. It is around for >1 year now.

Windows for home | Windows 11 | Sleep and Power on, off
0 comments No comments

2 answers

Sort by: Most helpful
  1. Carl-L 13,045 Reputation points Microsoft External Staff Moderator
    2026-04-09T08:01:19.6933333+00:00

    Hello pcf,

    Welcome to Microsoft Q&A forum.

    May I know if you have checked the AI assistant suggestion yet? If you did, may I know how it goes?

    Before we proceed further, may I know if the shutdown issue creates anything in the Event log or any minidump files. You can check the minidump files at C:\Windows\Minidump.

    I'm waiting for your reply.


  2. Q&A Assist
    2026-04-04T07:38:42.79+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    This behavior matches a shutdown hang and is typically caused by a blocked kernel situation or a service that does not end properly during shutdown, rather than a normal, expected behavior of Windows.

    To troubleshoot and mitigate:

    1. Check for services blocking shutdown
      • Start the system normally and reproduce the issue (copy to Samba share, abort, then attempt shutdown).
      • After forcing a hard power off and rebooting, use a clean boot to identify third‑party components that might be blocking shutdown:
        1. Use the System Configuration utility and selective startup to disable non‑Microsoft services.
        2. Reboot and test shutdown again after performing the same network copy/abort scenario.
      • If shutdown works correctly in this state, re‑enable services in groups to identify the specific third‑party service causing the hang.
      • For isolation, also test shutting down from Safe mode (with third‑party services disabled). If shutdown succeeds there, it strongly indicates a third‑party driver/service issue.
    2. Check for policies that slow or block shutdown
      • Verify whether the policy to clear the paging file at shutdown is enabled:
        • Open Registry Editor and navigate to: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Memory Management
        • Check the ClearPageFileAtShutdown value:
          • 0 = disabled (normal)
          • 1 = enabled (can significantly delay shutdown)
      • If set to 1, consider setting it to 0 (if allowed by security policy) and test shutdown again.
    3. Analyze with debuggers if needed
      • If the issue persists, collect a kernel dump during the hang and analyze it with Windows debuggers, focusing on blocked threads:
        • Use the !mex.tl -t command in the debugger to check for blocked kernel threads that might be preventing shutdown completion.
      • This can help identify whether a file system driver, network stack component, or another kernel‑mode driver is stuck after the aborted SMB copy.
    4. General shutdown guidance
      • To perform a normal shutdown in Windows 11: select StartPowerShut down.
      • If the system repeatedly fails to power off and requires hard power‑offs, this confirms an abnormal condition that should be escalated with logs and dumps through official support channels.

    If, after isolating third‑party services and confirming ClearPageFileAtShutdown is not causing the delay, the hang is still reproducible on a clean system, this should be reported with full diagnostic data (crash dumps, event logs, and exact build information) so it can be investigated as a potential product bug.


    References:

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.