New
#21
Just did Sleep Mode and waited 10-15 minutes and the same result. I also uninstalled ESET too.
Just did Sleep Mode and waited 10-15 minutes and the same result. I also uninstalled ESET too.
No luck after double-clicking on this "Go_to_sleep_after_30_seconds.vbs"
@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.
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.
=========================================
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:
Note that the last input time was not the time in China, where I am.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
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.
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
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
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.