New
#1
Change when the computer sleeps - from cmd line
I ocassionally like to switch the time the computer goes to sleep from 'Never' to
'5 minutes' or thereabouts every so often. I have been looking for a way to
automate that process. Wading through control panel to the settings page takes
a while and I don't use a standard keyboard and mouse on my Media Center box
to navigate.
I can shorten it somewhat by creating a command line shortcut containing the following:
but this only gets me down about 2 layers and I still have to try to use an unweildyCode:control /name Microsoft.PowerOptions
mouse and keyboard to get to the next page and change the settings.
Is there any way to create another batch file or some other script that will
perform this function w/o having to change the settings from the window screens?
Perhaps a .reg file to change the setting in the registry, if that's where it is?