
Prevent PC from Sleeping on Lock Screen or Without Login Using System Unattended Sleep Timeout
Stop your Windows computer from entering sleep mode while at the lock screen or after events like updates or Wake-on-LAN by configuring the System Unattended Sleep Timeout setting.