Windows 10 hangs indefinitely on shutdown

Page 1 of 2 12 LastLast

  1. Posts : 22
    Windows 10 x64 UEFI
       #1

    Windows 10 hangs indefinitely on shutdown


    Hi, I did a clean install of Windows 10 about 15 days ago for a new computer build. Here are the specs:
    Windows 10 version 20H2 OS Build 19042.685
    CPU: AMD Ryzen 3900XT
    MB: ASUS TUF GAMING B550-PLUS
    RAM: 4x16GB Crucial Ballistix DDR4 3200MHz
    SSD: Samsung SSD 970 EVO Plus 1TB Nvme M.2 (System)
    SSD: Samsung SSD 860 EVO 4 TB SATA3
    HDD: Toshiba X300 6 TB 7200rpm
    GC: Gigabyte GTX N970IX OC-4GD Nvidia GeForce GTX 970 1076 MHz 4096 MB PCI-Express
    Be Quiet Pure Base 500DX
    Corsair PSU 750W Gold

    I witness several shutdown issues with this computer where the blue shutdown screen with the spinning wheel is spinning indefinitely. Well, I waited for 2 hours, I had time to watch a movie in the meantime and when the credits started rolling, Windows was still trying to shut down. I had to manually power off the computer.

    I had a look at the event log and saw a lot of red warnings I am not able to interpret. There are a couple of thousands of red flags in there for the last 7 days.

    What can I do to solve the shutdown issue and the event log errors?log.zip
    Thanks
      My Computer


  2. Posts : 18,044
    Win 10 Pro 64-bit v1909 - Build 18363 Custom ISO Install
       #2

    Hello @PODxt,

    PODxt said:
    I did a clean install of Windows 10 about 15 days ago for a new computer build.

    I witness several shutdown issues with this computer where the blue shutdown screen with the spinning wheel is spinning indefinitely. Well, I waited for 2 hours, I had time to watch a movie in the meantime and when the credits started rolling, Windows was still trying to shut down. I had to manually power off the computer.

    I had a look at the event log and saw a lot of red warnings I am not able to interpret. There are a couple of thousands of red flags in there for the last 7 days.

    What can I do to solve the shutdown issue and the event log errors?

    WOW, that is a lot of ERRORS.

    This might be heading towards an In-Place-Upgrade - Repair Install.

    But lets see if we can do something to correct this first. Please perform the following . . .

     SFC and RestoreHealth

    [1] Press the Win + X keys together > Command Prompt (Admin).
    [2] Highlight ALL the commands below.
    [3] Press the Ctrl + C keys together.
    [4] Right-click inside the Administrator: Command Prompt Window > Paste.
    [5] Press Enter.

    Code:
    
    sfc /scannow
    Dism /Online /Cleanup-Image /RestoreHealth
    sfc /scannow
    

    • When the above has finished processing . . .

    [6] Right-click on the title bar of the Administrator: Command Prompt Window > Edit > Select All.
    [7] Right-click on the title bar of the Administrator: Command Prompt Window again > Edit > Copy.

    • Paste the results into your post using the [CODE] tags . . .

    [8] In your post, click the Hashtag icon #.
    [9] Click INSIDE the [CODE]Here[CODE] tags and press the Ctrl + V keys together.

    • In your post it will look like this . . .

    Code:
    
    <<< Results here >>>
    

    IMPORTANT:

    [1] It is recommended that when running SFC that Fast Startup is turned OFF [ Turn it back ON when finished ] . . .

    > How to Turn On or Off Fast Startup in Windows 10

    [2] If SFC finds errors that it can NOT repair, run SFC again [ upto 3 more times, Restarting after each ].
    [3] To run DISM, you MUST be connected to the Internet to allow the Repair of any Component Store corruption.

    NOTE: The SFC restarts allow any pending actions to be implemented.

     SFC Error Report

    However, if there are STILL SFC ERRORS . . .

    [1] Press the Win + X keys together > Command Prompt (Admin).
    [2] Highlight the command below.
    [3] Press the Ctrl + C keys together.
    [4] Right-click inside the Administrator: Command Prompt Window > Paste.
    [5] Press Enter.

    Code:
    
    findstr /c:"[SR]" %windir%\Logs\CBS\CBS.log > "%userprofile%\Desktop\SFC_Details.txt"
    

    • This will create a SFC_Details.txt file on the Desktop.

    EITHER:

    Copy & Paste the results into your post using the [CODE] tags . . .

    [1] Open the SFC_Details.txt file in Notepad.
    [2] Press the Ctrl + A keys together.
    [3] Press the Ctrl + C keys together.
    [4] In your post, click the Hashtag icon #.
    [5] Click INSIDE the [CODE]Here[CODE] tags and press the Ctrl + V keys together.

    • In your post it will look like this . . .

    Code:
    
    <<< Results Here >>>
    

    OR:

    UPLOAD the file => How to Upload and Post Screenshots and Files at Ten Forums.

    I hope this helps.
      My Computer


  3. Posts : 22
    Windows 10 x64 UEFI
    Thread Starter
       #3

    Thanks for your answer. I'm stuck at ... the 1st step There's no "Command Prompt (Admin)" see screenshot. I usually hit Win and type cmd, right click run as admin but I'm not sure this is what you meant.




    - - - Updated - - -

    Did it my way, here are the results:

    Code:
    Microsoft Windows [Version 10.0.19042.685](c) 2020 Microsoft Corporation. All rights reserved.C:\Windows\system32>sfc /scannowBeginning system scan.  This process will take some time.Beginning verification phase of system scan.Verification 100% complete.Windows Resource Protection did not find any integrity violations.C:\Windows\system32>Dism /Online /Cleanup-Image /RestoreHealthDeployment Image Servicing and Management toolVersion: 10.0.19041.572Image Version: 10.0.19042.685[==========================100.0%==========================] The restore operation completed successfully.The operation completed successfully.C:\Windows\system32>sfc /scannowBeginning system scan.  This process will take some time.Beginning verification phase of system scan.Verification 100% complete.Windows Resource Protection did not find any integrity violations.C:\Windows\system32>
    The Fast startup option is not present in my settings. This is due to the mandatory Ryzen Power Option Profile. I checked in group policy edit and fast startup is disabled.

    Edit: FYI system is stable. RAM was tested with memtest for 48h+ with no error. CPU was stressed with Prime95, OCCT, Cinebench etc. No error.
    Attached Thumbnails Attached Thumbnails Windows 10 hangs indefinitely on shutdown-screenshot-2021-01-09-143806.png  
    Last edited by PODxt; 09 Jan 2021 at 09:18.
      My Computer


  4. Posts : 5,330
    Windows 11 Pro 64-bit
       #4

    Using this batch script will allow Windows 10 to close programs that is not responding during shutdown.
    Windows 10 hangs indefinitely on shutdown Attached Files
      My Computer


  5. Posts : 869
    Windows 10 Professional x64 21H2
       #5

    FreeBooter said:
    Using this batch script will allow Windows 10 to close programs that is not responding during shutdown.
    Can you add to the batch to Initiate shutdown after running the batch file?
      My Computers


  6. Posts : 5,330
    Windows 11 Pro 64-bit
       #6

    Lance1 said:
    Can you add to the batch to Initiate shutdown after running the batch file?
    All the settings are stored within the registry and are permanent.
      My Computer


  7. Posts : 869
    Windows 10 Professional x64 21H2
       #7

    FreeBooter said:
    All the settings are stored within the registry and are permanent.

    Thanks FreeBooter.
      My Computers


  8. Posts : 5,330
    Windows 11 Pro 64-bit
       #8

    Lance1 said:
    Thanks FreeBooter.
    You are very welcome!
      My Computer


  9. Posts : 22
    Windows 10 x64 UEFI
    Thread Starter
       #9

    I added the registry edits but it doesn't prevent random hangs from Windows while shutting down (Wheel spinning indefinitely). Is there a way to revert back these registry changes?
      My Computer


  10. Posts : 4,801
    Windows 10 preview 64-bit Home
       #10

    Sometimes Hibernate causes boot and shutdown issues. Try turning off hibernate, powercfg /hibernate off, in CMD admin. Also check Windows Update history in case you have an update 'stuck' on requiring a restart to finish installing.
      My Computers


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:39.
Find Us




Windows 10 Forums