Powering down the display in XP with a command
Hire the world's top talent on demand or became one of them at Toptal: https://topt.al/25cXVn
--------------------------------------------------
Music by Eric Matyas
https://www.soundimage.org
Track title: Peaceful Mind
--
Chapters
00:00 Powering Down The Display In Xp With A Command
00:20 Accepted Answer Score 17
00:29 Answer 2 Score 20
01:13 Answer 3 Score 1
01:48 Thank you
--
Full question
https://superuser.com/questions/127633/p...
--
Content licensed under CC BY-SA
https://meta.stackexchange.com/help/lice...
--
Tags
#windowsxp #powermanagement
#avk47
ANSWER 1
Score 20
There is also a utility called NirCmd, which supports not only this but more commands (like changing system volume, manipulating services etc - documented in the page linked). Usage is via the command line:
nircmd monitor off
And sometimes I've seen Windows "listening" to your last keystroke (the Return that confirms the command) after the command is "issued" and waking back up. A solution that has worked for me in most cases is:
nircmd cmdwait 1000 monitor off
Disclaimer: although this may be the third or fourth time I mention it here, I have no association to the NirCmd's team: just a happy user.
ACCEPTED ANSWER
Score 17
Not as far as I know but you can use utilities like Monitor Off to power down the monitor.
ANSWER 3
Score 1
Turn off display by shortcut
Why this script is good?
Display will sleep again in 3 sec
Even if mouse by accident was moved or any program waked display up.
How-to:
- Download Gist as ZIP
- Unpack & run
- Link Display Sleep!
willshould be created.
Github-Gist / setup_display_timeout.cmd
How it works:
- Set idle timeout to 3 seconds (via Powercfg)
- Wait for any key press
- Set idle timeout to 1 hour
Part of code:
powercfg /SETDCVALUEINDEX %current_scheme_token% SUB_VIDEO VIDEOIDLE %seconds%
powercfg /SETACVALUEINDEX %current_scheme_token% SUB_VIDEO VIDEOIDLE %seconds%
powercfg /S %current_scheme_token%