PC will not go to sleep Win10 - 20H2

Page 3 of 5 FirstFirst 12345 LastLast

  1. Posts : 19
    Windows 10 Version 20h2 OS Build 19042.985
    Thread Starter
       #21

    Just did Sleep Mode and waited 10-15 minutes and the same result. I also uninstalled ESET too.
      My Computer


  2. Posts : 7,607
    Windows 10 Home 20H2
       #22

    @kcos00320

    Extract all from the attached ZIP file.
    Double-click on the file "Go_to_sleep_after_30_seconds.vbs"
    No window will appear. It works in the background.
    Do not press any key or touch the mouse for 30 seconds.
    See whether your PC will go to sleep.
    PC will not go to sleep Win10 - 20H2 Attached Files
      My Computer


  3. Posts : 19
    Windows 10 Version 20h2 OS Build 19042.985
    Thread Starter
       #23

    No luck after double-clicking on this "Go_to_sleep_after_30_seconds.vbs"
      My Computer


  4. Posts : 7,607
    Windows 10 Home 20H2
       #24

    @kcos00320

    Download the attached "PowerShell.ps1"
    Right-click on the file and select "Run with PowerShell".
    Do not press any key or touch the mouse for 30 seconds.
    Post the output.
    PC will not go to sleep Win10 - 20H2 Attached Files
      My Computer


  5. Posts : 19
    Windows 10 Version 20h2 OS Build 19042.985
    Thread Starter
       #25

    Here are my results:

    The last input: 06/15/2021 01:52:25
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:52:35
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:52:45
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:52:55
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:53:05
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:53:15
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:53:25
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:53:35
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:53:45
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:53:55
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 01:54:05
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:54:15
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:54:25
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:54:35
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:54:45
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:54:55
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:55:05
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 01:55:15
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:55:25
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:55:35
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:55:45
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 01:55:55
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:56:05
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:56:15
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 01:56:25
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 01:56:35
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:56:45
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:56:55
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:57:05
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:57:15
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:57:25
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 01:57:35
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:57:45
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:57:55
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 01:58:05
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 01:58:15
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:58:25
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:58:35
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:58:45
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 01:58:55
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:59:05
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:59:15
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 01:59:25
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 01:59:35
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:59:45
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 01:59:55
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 02:00:05
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 02:00:15
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 02:00:25
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 02:00:35
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 02:00:45
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 02:00:55
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 02:01:05
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 02:01:15
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 02:01:25
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 02:01:35
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 02:01:45
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 02:01:55
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 02:02:05
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 02:02:15
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 02:02:25
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 02:02:35
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 02:02:45
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/15/2021 02:02:55
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 02:03:05
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/15/2021 02:03:15
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/15/2021 02:03:25
    The idle time is : 0 seconds.
    =========================================
      My Computer


  6. Posts : 7,607
    Windows 10 Home 20H2
       #26

    Somehow, your PC was unable to get/remember the last user input time.
    Your idle time was at most 0.016 seconds, so your PC never went to sleep.

    My PC produced the following output:
    Code:
    The last input: 06/15/2021 03:39:28
    The idle time is : 0.563  seconds.
    =========================================
    The last input: 06/15/2021 03:39:28
    The idle time is : 10.578  seconds.
    =========================================
    The last input: 06/15/2021 03:39:28
    The idle time is : 20.594  seconds.
    =========================================
    The last input: 06/15/2021 03:39:28
    The idle time is : 30.594  seconds.
    =========================================
    1
    Going to sleep at:  15/6/2021 11:39:59 AM
    Finished at:  15/6/2021 11:40:09 AM
    Note that the last input time was not the time in China, where I am.
      My Computer


  7. Posts : 2,190
    Windows 10 Pro 64-bit v22H2
       #27

    It looks like the script by Matthew Wai has shown what the problem is. Something is constantly resetting the idle timer.

    To rule out the keyboard and mouse I suggest starting the script again and immediately disconnect the keyboard and mouse.

    If the idle time starts increasing and the computer goes to sleep that means that you have a defective keyboard or mouse. Then you have to find out which one it is.

    If idle time still keeps resetting then you have to look elsewhere. Maybe someone more knowledgeable can find a way to determine what is causing this.
      My Computers


  8. Posts : 7,607
    Windows 10 Home 20H2
       #28

    Run the following script provided by the BSOD team and post the output:

    👉 Tuneup_plus_log.bat ✔️

    Reference: Batch files for use in BSOD debugging
      My Computer


  9. Posts : 19
    Windows 10 Version 20h2 OS Build 19042.985
    Thread Starter
       #29

    I ran the Powershell command again with the keyboard and mice disconnected

    Here are the results:


    The last input: 06/16/2021 00:03:00
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/16/2021 00:03:10
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:03:20
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:03:30
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:03:40
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/16/2021 00:03:50
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:04:00
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:04:10
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:04:20
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/16/2021 00:04:30
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/16/2021 00:04:40
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:04:50
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:05:00
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:05:10
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:05:20
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/16/2021 00:05:30
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/16/2021 00:05:40
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:05:50
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:06:00
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:06:10
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:06:20
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:06:30
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:06:40
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:06:50
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:07:00
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:07:10
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:07:20
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:07:30
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:07:40
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:07:50
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:08:00
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:08:10
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:08:20
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/16/2021 00:08:30
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/16/2021 00:08:40
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:08:50
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:09:00
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:09:10
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:09:20
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:09:30
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:09:40
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:09:50
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:10:00
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:10:10
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/16/2021 00:10:20
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/16/2021 00:10:30
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:10:40
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:10:50
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:11:00
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:11:10
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:11:20
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:11:30
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/16/2021 00:11:40
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:11:50
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:12:00
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:12:10
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:12:20
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/16/2021 00:12:30
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/16/2021 00:12:40
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:12:50
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:13:00
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/16/2021 00:13:10
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:13:20
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/16/2021 00:13:30
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:13:41
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:13:51
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:14:01
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:14:11
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:14:21
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:14:31
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:14:41
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:14:51
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:15:01
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/16/2021 00:15:11
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:15:21
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:15:31
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/16/2021 00:15:41
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:15:51
    The idle time is : 0.016 seconds.
    =========================================
    The last input: 06/16/2021 00:16:01
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/16/2021 00:16:11
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:16:21
    The idle time is : 0 seconds.
    =========================================
    The last input: 06/16/2021 00:16:31
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/16/2021 00:16:41
    The idle time is : 0.015 seconds.
    =========================================
    The last input: 06/16/2021 00:16:51
    The idle time is : 0.015 seconds.
    =========================================

    - - - Updated - - -

    Started on Tue 06/15/2021 at 20:18:48.55
    [SFC /ScanNow]
    Beginning system scan. This process will take some time.
    Results:

    Windows Resource Protection found corrupt files and successfully repaired them.
    For online repairs, details are included in the CBS log file located at
    windir\Logs\CBS\CBS.log. For example C:\Windows\Logs\CBS\CBS.log. For offline
    repairs, details are included in the log file provided by the /OFFLOGFILE flag.

    ==================================================================
    Started on Tue 06/15/2021 at 20:20:38.53
    [DISM /online /cleanup-image /ScanHealth]
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    Image Version: 10.0.19043.1052

    No component store corruption detected.
    The operation completed successfully.

    ==================================================================
    Started on Tue 06/15/2021 at 20:22:03.97
    [DISM /online /cleanup-image /RestoreHealth]
    Deployment Image Servicing and Management tool
    Version: 10.0.19041.844
    Image Version: 10.0.19043.1052

    The restore operation completed successfully.
    The operation completed successfully.

    ==================================================================
    Started on Tue 06/15/2021 at 20:23:17.28
    [SFC /ScanNow]
    Beginning system scan. This process will take some time.
    Results:

    Windows Resource Protection did not find any integrity violations.

    ==================================================================
    Started on Tue 06/15/2021 at 20:24:47.02
    [ChkDsk /Scan]
    The type of the file system is NTFS.

    Stage 1: Examining basic file system structure ...
    1508096 file records processed.
    File verification completed.
    Phase duration (File record verification): 18.60 seconds.
    10024 large file records processed.
    Phase duration (Orphan file record recovery): 0.00 milliseconds.
    0 bad file records processed.
    Phase duration (Bad file record checking): 0.09 milliseconds.

    Stage 2: Examining file name linkage ...
    318 reparse records processed.
    1828478 index entries processed.
    Index verification completed.
    Phase duration (Index verification): 23.15 seconds.
    0 unindexed files scanned.
    Phase duration (Orphan reconnection): 3.93 seconds.
    0 unindexed files recovered to lost and found.
    Phase duration (Orphan recovery to lost and found): 0.09 milliseconds.
    318 reparse records processed.
    Phase duration (Reparse point and Object ID verification): 4.79 milliseconds.

    Stage 3: Examining security descriptors ...
    Security descriptor verification completed.
    Phase duration (Security descriptor verification): 44.22 milliseconds.
    160192 data files processed.
    Phase duration (Data attribute verification): 0.03 milliseconds.
    CHKDSK is verifying Usn Journal...
    34810176 USN bytes processed.
    Usn Journal verification completed.
    Phase duration (USN journal verification): 74.70 milliseconds.

    Windows has scanned the file system and found no problems.
    No further action is required.

    976195947 KB total disk space.
    614560204 KB in 1335955 files.
    607984 KB in 160193 indexes.
    0 KB in bad sectors.
    1641971 KB in use by the system.
    65536 KB occupied by the log file.
    359385788 KB available on disk.

    4096 bytes in each allocation unit.
    244048986 total allocation units on disk.
    89846447 allocation units available on disk.
    Total duration: 45.83 seconds (45830 ms).

    ==================================================================
    Started on Tue 06/15/2021 at 20:25:52.91

    AutoReboot
    TRUE

    ==================================================================
    [Set AutoReboot = False]
    Updating property(s) of '\\DESKTOP-NT55B29\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Home|C:\\Windows|\\Device\\Harddisk1\\Partition2"'

    Property(s) update successful.

    ==================================================================

    AutoReboot
    FALSE

    ==================================================================

    DebugInfoType
    7

    ==================================================================
    [Set DebugInfoType = 7]
    Updating property(s) of '\\DESKTOP-NT55B29\ROOT\CIMV2:Win32_OSRecoveryConfiguration.Name="Microsoft Windows 10 Home|C:\\Windows|\\Device\\Harddisk1\\Partition2"'

    Property(s) update successful.

    ==================================================================

    DebugInfoType
    7

    ==================================================================
    [WMIC PageFile list]
    AllocatedBaseSize=2432
    CurrentUsage=16
    Description=C:\pagefile.sys
    InstallDate=20210417003210.547876-240
    Name=C:\pagefile.sys
    PeakUsage=16
    Status=
    TempPageFile=FALSE

    ==================================================================

    AutomaticManagedPagefile
    TRUE

    ==================================================================
    [Set AutomaticManagedPagefile = True]
    Updating property(s) of '\\DESKTOP-NT55B29\ROOT\CIMV2:Win32_ComputerSystem.Name="DESKTOP-NT55B29"'

    Property(s) update successful.

    ==================================================================

    AutomaticManagedPagefile
    TRUE

    ==================================================================
    [BcdEdit /enum {badmemory}]
    RAM Defects
    -----------
    identifier {badmemory}

    ==================================================================
    Finished on Tue 06/15/2021 at 20:25:53.43
      My Computer


  10. Posts : 7,607
    Windows 10 Home 20H2
       #30

    kcos00320 said:
    Windows Resource Protection found corrupt files and successfully repaired them.
    Corrupt files were already repaired. If your PC does still not go to sleep, consider the following:

    Repair Install Windows 10 with an In-place Upgrade

    I don't know why your idle time is never longer than 0.016 seconds.
      My Computer


 

  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 12:48.
Find Us




Windows 10 Forums