How to Schedule Automatic Maintenance on Windows 10 (and What It Does)
Windows 10 automatically performs system maintenance tasks like security scanning and disk optimization on a schedule. By default, Windows runs these tasks every day at 2 AM and wakes up your PC to do it if it’s sleeping.