Hello Charles Reuben,
This issue where your Windows 11 desktop only enters sleep mode when logged into a website is quite unusual and likely related to system or browser activity preventing sleep. Here are steps to troubleshoot and resolve it:
Step-by-Step Troubleshooting
- Check Power & Sleep Settings
- Go to Settings > System > Power & Battery > Screen and Sleep.
- Ensure sleep is set to occur after a reasonable time for both battery and plugged-in modes.
- Check Active Processes Preventing Sleep
Use the command prompt to identify what’s preventing sleep:
Open Command Prompt as Administrator.
Run:
powercfg /requests
This shows processes or drivers that are preventing sleep.
Also try:
powercfg /energy
This generates a report (energy-report.html) that can help diagnose sleep issues.
- Check Browser Activity
If sleep only works when logged into a website, it’s possible that:
- The browser is idling or running background tasks when not logged in.
- Media or JavaScript activity is preventing sleep.
Try:
- Closing the browser completely and see if sleep works.
- Disabling browser extensions that may keep the system awake.
- Disable Wake Timers
- Go to Control Panel > Hardware and Sound > Power Options.
- Click Change plan settings > Change advanced power settings.
- Expand Sleep > Allow wake timers and set it to Disable.
- Check for Connected Devices
Sometimes USB devices (like a mouse or keyboard) can prevent sleep. Try:
- Disconnecting peripherals.
- Updating drivers via Device Manager.
- Update Windows and Drivers
- Make sure Windows is fully updated.
- Update graphics and chipset drivers from the manufacturer’s website.
- Test in Clean Boot Mode
Boot with minimal services:
- Type
msconfigin Start. - Go to Services tab, check Hide all Microsoft services, then click Disable all.
- Restart and test sleep behavior.
It would help if you provided more detail about this. For example, which browser are you using, what site are you logging to, etc.