why does my computer restart every night? (Windows)

Amy Jones 0 Reputation points
2025-12-20T14:10:08.48+00:00

My computer restarts every night usually around midnight

Windows for home | Windows 11 | Performance and system failures
{count} votes

3 answers

Sort by: Most helpful
  1. Q&A Assist
    2025-12-20T14:10:18.81+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    There are several potential reasons why your computer might restart every night around midnight:

    1. Scheduled Updates: Windows may be configured to automatically install updates during off-peak hours, which often defaults to midnight. This can include security updates or system updates that require a restart to complete.
    2. Power Settings: Check your power settings to see if there are any scheduled tasks or settings that might be causing the computer to restart. This can include settings for sleep, hibernation, or wake timers.
    3. Task Scheduler: There may be tasks set in the Task Scheduler that trigger a restart at midnight. You can check the Task Scheduler for any tasks that are scheduled to run at that time.
    4. Malware or Software Issues: In some cases, malware or problematic software can cause unexpected restarts. Running a full system scan with an updated antivirus program may help identify any issues.
    5. Hardware Problems: Issues with hardware, such as overheating or power supply problems, can also lead to unexpected restarts. Monitoring your system's temperature and checking hardware connections might be necessary.

    If you want to investigate further, you can check the Event Viewer for any logs that indicate why the restart occurred, especially looking for Event ID 41 which indicates an unexpected shutdown.


    References:

    0 comments No comments

  2. nobuko c 118.4K Reputation points Independent Advisor
    2025-12-20T15:23:44.9333333+00:00

    Hello,

    We do not know exactly why the system is restarting, but here is how you can check.

    Right-click on Start and open “Event Viewer.”

    Click on Windows Logs > System.

    Please wait until the events are fully displayed, as it may take some time.

    Check all the entries around the times when the restart occurred.

    The reason for the restart will be shown there.


  3. Amy Jones 0 Reputation points
    2025-12-20T17:48:30.22+00:00

    Information 12/19/2025 11:43:31 PM Configuration-Change-Monitor 1 None

    Warning 12/19/2025 11:42:48 PM DistributedCOM 10016 None

    Information 12/19/2025 11:42:12 PM Kernel-General 16 None

    Information 12/19/2025 11:42:11 PM Kernel-General 16 None

    Information 12/19/2025 11:37:05 PM Virtual Disk Service 4 None

    Information 12/19/2025 11:37:04 PM Virtual Disk Service 3 None

    Error 12/19/2025 11:35:43 PM TPM-WMI 1801 None

    Warning 12/19/2025 11:35:10 PM DistributedCOM 10016 None

    Information 12/19/2025 11:34:03 PM IsolatedUserMode 2 None

    Information 12/19/2025 11:33:56 PM HttpService 114 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:33:56 PM HttpService 113 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:33:19 PM IsolatedUserMode 5 None

    Information 12/19/2025 11:33:07 PM HttpService 113 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:33:07 PM HttpService 111 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:33:07 PM HttpEvent 15007 None

    Information 12/19/2025 11:33:07 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:33:07 PM HttpEvent 15008 None

    Information 12/19/2025 11:33:07 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:32:45 PM Configuration-Change-Monitor 1 None

    Information 12/19/2025 11:32:28 PM HttpService 113 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:32:28 PM HttpService 111 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:32:28 PM HttpService 113 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:32:28 PM HttpService 111 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:32:28 PM HttpService 117 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:32:28 PM HttpService 114 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:32:28 PM HttpService 117 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:32:28 PM HttpService 114 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:28 PM HttpService 113 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:28 PM HttpService 111 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:28 PM HttpService 117 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:28 PM HttpService 114 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:28 PM HttpService 113 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:28 PM HttpService 111 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:28 PM HttpService 113 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:28 PM HttpService 111 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:28 PM HttpService 117 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:28 PM HttpService 114 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:28 PM HttpService 117 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:28 PM HttpService 114 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:27 PM HttpService 113 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:27 PM HttpService 111 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:21 PM HttpService 113 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:21 PM HttpService 111 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:15 PM HttpService 113 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:15 PM HttpService 111 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:31:10 PM TPM-WMI 1046 None

    Information 12/19/2025 11:31:09 PM TPM-WMI 1025 None

    Information 12/19/2025 11:31:08 PM TPM-WMI 1282 None

    Information 12/19/2025 11:31:00 PM WLAN-AutoConfig 4000 None

    Information 12/19/2025 11:30:48 PM TPM 18 None

    Error 12/19/2025 11:30:47 PM Service Control Manager 7009 None

    Information 12/19/2025 11:30:47 PM RST Middleware 27 None

    Warning 12/19/2025 11:30:46 PM DistributedCOM 10016 None

    Warning 12/19/2025 11:30:46 PM DistributedCOM 10016 None

    Information 12/19/2025 11:30:45 PM IsolatedUserMode 1 None

    Information 12/19/2025 11:30:45 PM IsolatedUserMode 5 None

    Information 12/19/2025 11:30:43 PM IsolatedUserMode 1 None

    Information 12/19/2025 11:30:43 PM IsolatedUserMode 5 None

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM HttpService 112 HTTP Setup Trace Task

    Information 12/19/2025 11:30:43 PM TPM-WMI 1038 None

    Information 12/19/2025 11:30:43 PM TPM-WMI 1041 None

    Information 12/19/2025 11:30:42 PM Winlogon 7001 (1101)

    Information 12/19/2025 11:30:42 PM Win32k (Win32k) 267 None

    Information 12/19/2025 11:30:42 PM FilterManager 6 None

    Information 12/19/2025 11:30:42 PM FilterManager 6 None

    Information 12/19/2025 11:30:42 PM FilterManager 6 None

    Information 12/19/2025 11:30:42 PM FilterManager 6 None

    Information 12/19/2025 11:30:42 PM FilterManager 1 None

    Information 12/19/2025 11:30:42 PM FilterManager 6 None

    Information 12/19/2025 11:30:42 PM FilterManager 6 None

    Information 12/19/2025 11:30:42 PM FilterManager 6 None

    Information 12/19/2025 11:30:42 PM FilterManager 6 None

    Information 12/19/2025 11:30:42 PM DHCPv6-Client 51046 Service State Event

    Information 12/19/2025 11:30:42 PM Dhcp-Client 50036 Service State Event

    Information 12/19/2025 11:30:42 PM Dhcp-Client 50103 Service State Event

    Information 12/19/2025 11:30:42 PM Dhcp-Client 50036 Service State Event

    Information 12/19/2025 11:30:42 PM Directory-Services-SAM 16983 None

    Information 12/19/2025 11:30:42 PM Directory-Services-SAM 16977 None

    Information 12/19/2025 11:30:42 PM Directory-Services-SAM 16962 None

    Information 12/19/2025 11:30:42 PM IsolatedUserMode 5 None

    Information 12/19/2025 11:30:42 PM LSA (LsaSrv) 6156 None

    Information 12/19/2025 11:30:41 PM Wininit 12 None

    Information 12/19/2025 11:30:41 PM Wininit 18 None

    Information 12/19/2025 11:30:41 PM IsolatedUserMode 1 None

    Information 12/19/2025 11:30:41 PM IsolatedUserMode 5 None

    Information 12/19/2025 11:30:41 PM Wininit 14 None

    Information 12/19/2025 11:30:41 PM Wininit 23 None

    Information 12/19/2025 11:30:41 PM Wininit 25 None

    Information 12/19/2025 11:30:41 PM Wininit 24 None

    Information 12/19/2025 11:30:41 PM Wininit 19 None

    Information 12/19/2025 11:30:38 PM Kernel-General 24 (11)

    Information 12/19/2025 11:30:38 PM Ntfs (Microsoft-Windows-Ntfs) 98 None

    Information 12/19/2025 11:30:38 PM Ntfs (Microsoft-Windows-Ntfs) 98 None

    Information 12/19/2025 11:30:38 PM Ntfs (Microsoft-Windows-Ntfs) 98 None

    Warning 12/19/2025 11:30:38 PM Kernel-PnP 219 (212)

    Information 12/19/2025 11:30:38 PM DriverFrameworks-UserMode 10118 Startup of the UMDF reflector

    Information 12/19/2025 11:30:37 PM BTHUSB 18 None

    Warning 12/19/2025 11:30:36 PM Kernel-PnP 219 (212)

    Information 12/19/2025 11:30:36 PM DriverFrameworks-UserMode 10118 Startup of the UMDF reflector

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 29 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 29 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 29 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 29 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 29 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 29 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 29 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 28 This task logs error codes to system event log.

    Information 12/19/2025 11:30:36 PM OED 29 This task logs error codes to system event log.

    Warning 12/19/2025 11:30:36 PM Kernel-PnP 219 (212)

    Information 12/19/2025 11:30:36 PM DriverFrameworks-UserMode 10118 Startup of the UMDF reflector

    Information 12/19/2025 11:30:32 PM MEIx64 2 None

    Information 12/19/2025 11:30:32 PM Kernel-Power 521 (220)

    Information 12/19/2025 11:30:32 PM Kernel-Processor-Power (Microsoft-Windows-Kernel-Processor-Power) 55 (47)

    Information 12/19/2025 11:30:32 PM Kernel-Processor-Power (Microsoft-Windows-Kernel-Processor-Power) 55 (47)

    Information 12/19/2025 11:30:32 PM Kernel-Processor-Power (Microsoft-Windows-Kernel-Processor-Power) 55 (47)

    Information 12/19/2025 11:30:32 PM Kernel-Processor-Power (Microsoft-Windows-Kernel-Processor-Power) 55 (47)

    Information 12/19/2025 11:30:32 PM Kernel-Processor-Power (Microsoft-Windows-Kernel-Processor-Power) 55 (47)

    Information 12/19/2025 11:30:32 PM Kernel-Processor-Power (Microsoft-Windows-Kernel-Processor-Power) 55 (47)

    Information 12/19/2025 11:30:32 PM Kernel-Processor-Power (Microsoft-Windows-Kernel-Processor-Power) 55 (47)

    Information 12/19/2025 11:30:32 PM Kernel-Processor-Power (Microsoft-Windows-Kernel-Processor-Power) 55 (47)

    Information 12/19/2025 11:30:32 PM Kernel-Processor-Power (Microsoft-Windows-Kernel-Processor-Power) 55 (47)

    Information 12/19/2025 11:30:32 PM Kernel-Processor-Power (Microsoft-Windows-Kernel-Processor-Power) 55 (47)

    Information 12/19/2025 11:30:32 PM Kernel-Processor-Power (Microsoft-Windows-Kernel-Processor-Power) 55 (47)

    Information 12/19/2025 11:30:32 PM Kernel-Processor-Power (Microsoft-Windows-Kernel-Processor-Power) 55 (47)

    Warning 12/19/2025 11:30:28 PM Kernel-PnP 219 (212)

    Information 12/19/2025 11:30:28 PM DriverFrameworks-UserMode 10118 Startup of the UMDF reflector

    Information 12/19/2025 11:30:26 PM Kernel-Power 578 (281)

    Information 12/19/2025 11:30:26 PM FilterManager 6 None

    Information 12/19/2025 11:30:25 PM FilterManager 6 None

    Information 12/19/2025 11:30:25 PM FilterManager 6 None

    Information 12/19/2025 11:30:25 PM FilterManager 6 None

    Information 12/19/2025 11:30:25 PM FilterManager 6 None

    Information 12/19/2025 11:30:25 PM FilterManager 6 None

    Information 12/19/2025 11:30:25 PM Ntfs (Microsoft-Windows-Ntfs) 98 None

    Information 12/19/2025 11:30:25 PM BitLocker-Driver 24711 None

    Information 12/19/2025 11:30:25 PM BitLocker-Driver 24709 None

    Information 12/19/2025 11:30:25 PM FilterManager 6 None

    Information 12/19/2025 11:30:25 PM FilterManager 6 None

    Information 12/19/2025 11:30:23 PM HAL 16 None

    Information 12/19/2025 11:30:23 PM Kernel-General 20 (6)

    Information 12/19/2025 11:30:23 PM Kernel-Boot 30 (21)

    Information 12/19/2025 11:30:23 PM IsolatedUserMode 3 None

    Warning 12/19/2025 11:30:23 PM Hyper-V-Hypervisor 167 None

    Information 12/19/2025 11:30:23 PM Hyper-V-Hypervisor 165 None

    Information 12/19/2025 11:30:23 PM Hyper-V-Hypervisor 156 None

    Information 12/19/2025 11:30:23 PM Hyper-V-Hypervisor 129 None

    Information 12/19/2025 11:30:23 PM Hyper-V-Hypervisor 2 None

    Information 12/19/2025 11:30:23 PM Hyper-V-Hypervisor 1 None

    Information 12/19/2025 11:30:23 PM Kernel-Boot 27 (33)

    Information 12/19/2025 11:30:23 PM Kernel-Boot 25 (32)

    Information 12/19/2025 11:30:23 PM Kernel-Boot 238 (101)

    Information 12/19/2025 11:30:23 PM Kernel-Boot 247 (99)

    Information 12/19/2025 11:30:23 PM Kernel-Boot 20 (31)

    Information 12/19/2025 11:30:23 PM Kernel-Boot 32 (58)

    Information 12/19/2025 11:30:23 PM Kernel-Boot 18 (57)

    Information 12/19/2025 11:30:23 PM Kernel-Boot 153 (62)

    Information 12/19/2025 11:30:23 PM Kernel-General 25 (12)

    Information 12/19/2025 11:30:23 PM Kernel-General 12 (1)

    Information 12/19/2025 11:30:12 PM Kernel-General 13 (2)

    Information 12/19/2025 11:30:12 PM Kernel-Power 577 (280)

    Information 12/19/2025 11:30:12 PM Kernel-Power 109 (103)

    Information 12/19/2025 11:30:08 PM HttpService 117 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:30:08 PM HttpService 114 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:30:08 PM WLAN-AutoConfig 4001 None

    Information 12/19/2025 11:30:08 PM HttpService 117 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:30:08 PM HttpService 114 HTTP Configuration Property Trace Task

    Information 12/19/2025 11:30:42 PM EventLog 6013 None

    Information 12/19/2025 11:30:42 PM EventLog 6005 None

    Information 12/19/2025 11:30:42 PM EventLog 6009 None

    Information 12/19/2025 11:30:07 PM Dhcp-Client 50037 Service State Event

    Information 12/19/2025 11:30:07 PM Dhcp-Client 50106 Service State Event

    Information 12/19/2025 11:30:07 PM DHCPv6-Client 51057 Service State Event

    Information 12/19/2025 11:30:07 PM DHCPv6-Client 51047 Service State Event

    Information 12/19/2025 11:30:07 PM Dhcp-Client 50105 Service State Event

    Information 12/19/2025 11:30:07 PM Dhcp-Client 50104 Service State Event

    Information 12/19/2025 11:30:07 PM EventLog 6006 None

    Information 12/19/2025 11:29:47 PM IsolatedUserMode 2 None

    Information 12/19/2025 11:29:46 PM Winlogon 7002 (1102)

    Information 12/19/2025 11:29:41 PM IsolatedUserMode 2 None

    Information 12/19/2025 11:29:41 PM User32 1074 None

    Information 12/19/2025 11:29:25 PM Kernel-General 16 None

    Information 12/19/2025 11:29:25 PM Kernel-General 15 (10)

    Warning 12/19/2025 11:26:31 PM BTHUSB 3 None

    Warning 12/19/2025 11:25:27 PM DNS Client Events 1014 (1014)

    Information 12/19/2025 11:16:33 PM Ntfs (Microsoft-Windows-Ntfs) 98 None

    Warning 12/19/2025 11:16:31 PM BTHUSB 3 None

    Warning 12/19/2025 11:06:31 PM BTHUSB 3 None

    Warning 12/19/2025 10:56:31 PM BTHUSB 3 None

    Warning 12/19/2025 10:46:31 PM BTHUSB 3 None

    Warning 12/19/2025 10:36:31 PM BTHUSB 3 None

    Warning 12/19/2025 10:26:31 PM BTHUSB 3 None

    Warning 12/19/2025 10:16:31 PM BTHUSB 3 None

    Warning 12/19/2025 10:06:31 PM BTHUSB 3 None

    0 comments No comments

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.