Welcome shimon Kahloun,
Thanks for reaching out to Microsoft Q&A Forum. I understand you want to control how long your Windows 11 PC waits before the screen turns off.
To narrow this down, could you confirm:
- Does only the display go dark, or does the whole PC shut down or restart?
- Does the screen turn off sooner than the time you chose, for example only when the PC is locked, or is the timeout option unavailable or greyed out?
Please make sure you already tried the Q&A Assist steps. In addition, please try the following:
1, Set the timeout with a command
- Right-click Start and select Terminal (Admin).
- Run powercfg /change monitor-timeout-ac 15 to set the plugged-in timeout. Replace 15 with the number of minutes you want, or use 0 for never.
- Run powercfg /change monitor-timeout-dc 10 to set the timeout on battery.
2, Change how long the screen stays on while locked (Windows turns off a locked screen after about 1 minute by default)
- In Terminal (Admin), run
powercfg-attributes SUB_VIDEO 8ec4b3a5-6868-48c2-be75-4f3044be88a7 -ATTRIB_HIDE - Open Power Options > Change plan settings > Change advanced power settings > Display > Console lock display off timeout.
- Set the number of minutes you want, then select Apply.
3, Check the screen saver settings
- Go to Settings > Personalization > Lock screen > Screen saver.
- If Blank is selected, it can look like the screen has turned off. Change it to (None) or increase the Wait time, then select OK.
4, Reset the power plan if your settings don't stay
- Go to Power Options > Change plan settings and select Restore default settings for this plan.
- Set your preferred display timeout again and restart the PC.
Looking forward to your update.