select-allow-computer-to-sleep

click-update-and-security
run-services-msc-command