Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account


Photo

Registry Entry For Turning Off Monitor Power Off

- - - - -

  • Please log in to reply
12 replies to this topic

#1
ljones2

ljones2

    Junior

  • Members
  • Pip
  • 60 posts
Is there a registry setting that will change the Turn Off Monitor setting under Power Schemes from the default setting 20 min to Never? I would like to import a reg file that automatically changes this.

Thanks.


How to remove advertisement from MSFN

#2
un4given1

un4given1

    Elaborate Dreamer

  • Members
  • PipPipPipPipPipPipPip
  • 1,796 posts
ljones2: Yes... but the keys that controls it holds information about other options as well. I can send you a key that will change it for you, but it will also change what happens when you press your power button to "Ask me what to do"

#3
un4given1

un4given1

    Elaborate Dreamer

  • Members
  • PipPipPipPipPipPipPip
  • 1,796 posts
here goes...

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\PowerCfg\PowerPolicies\0]
"Policies"=hex:01,00,00,00,00,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,2c,01,00,00,32,32,00,03,04,00,00,00,04,00,\
  00,00,01,00,00,00,14,f2,06,00,00,00,00,00,2c,01,00,00,00,00,00,00,58,02,00,\
  00,00,00,64,64,64,64,95,71

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Power]
"AcPolicy"=hex:01,00,00,00,00,00,00,00,03,00,00,00,08,00,00,00,02,00,00,00,03,\
  00,00,00,00,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,00,00,\
  00,00,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,00,32,00,06,00,02,00,00,\
  00,04,00,00,00,02,00,00,00,01,00,00,00,92,40,d4,77,00,00,00,00,03,00,00,00,\
  01,00,00,00,03,00,00,00,02,00,00,00,04,00,00,c0,01,00,00,00,04,00,00,00,01,\
  00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,00,00,00,00,\
  14,e7,06,00,b0,b2,97,71,ec,e6,06,00,1f,3b,d4,77,00,00,00,00,00,64,64,00,02,\
  00,00,00,04,00,00,c0,00,00,00,00
"DcPolicy"=hex:01,00,00,00,00,00,00,00,03,00,00,00,08,00,00,00,02,00,00,00,03,\
  00,00,00,00,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,01,00,00,00,34,e7,\
  06,00,02,00,00,00,00,00,00,00,00,00,00,00,2c,01,00,00,32,03,06,00,04,00,00,\
  00,04,00,00,00,02,00,00,00,01,00,00,00,b0,aa,08,00,84,03,00,00,03,00,00,00,\
  01,00,00,00,03,00,00,00,02,00,00,00,04,00,00,c0,01,00,00,00,04,00,00,00,01,\
  00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,00,00,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,00,2c,01,00,00,\
  01,40,d4,77,ea,01,15,00,f8,16,28,00,90,e7,06,00,58,02,00,00,00,64,64,00,02,\
  00,00,00,04,00,00,c0,00,00,00,00
"Heuristics"=hex:05,00,00,00,00,01,00,00,00,00,00,00,00,00,00,00,3f,42,0f,00

[HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy]
"Policies"=hex:01,00,00,00,00,00,00,00,03,00,00,00,08,00,00,00,00,00,00,00,03,\
  00,00,00,08,00,00,00,02,00,00,00,03,00,00,00,00,00,00,00,02,00,00,00,03,00,\
  00,00,00,00,00,00,02,00,00,00,01,00,00,00,00,00,00,00,02,00,00,00,01,00,00,\
  00,00,00,00,00,01,00,00,00,03,00,00,00,02,00,00,00,04,00,00,c0,01,00,00,00,\
  04,00,00,00,01,00,00,00,0a,00,00,00,00,00,00,00,03,00,00,00,01,00,01,00,01,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,02,00,00,00,\
  00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,03,00,00,00,00,\
  00,16,00,00,00

That has been tested well over 20 times. I can't tell you how long I worked on that key before I finally got it right!

#4
MaaR

MaaR

    Junior

  • Members
  • Pip
  • 63 posts
wow! that's that i've been looking for... :)

#5
un4given1

un4given1

    Elaborate Dreamer

  • Members
  • PipPipPipPipPipPipPip
  • 1,796 posts
glad I could help... I have a LOT of useful registry tweaks that I have not seen anywhere else. Give me a couple days I I will post them all. I have been working on a company wide XP rollout so I haven't had much time. Many of these I have found because my company wanted them to be part of our standard image. I even have a technique to make custom changes to visual performance effects. Disabling Active desktop and the ability to set a background or use HTML on your background, cleartype fonts, taskbar grouping, recyclebin size, allowing Remote Assistance and Offer Remote Assistance, cascading My Documents... I have a huge list.

Later!

#6
MSNwar

MSNwar

    Its Time ...

  • Members
  • PipPipPipPipPipPipPipPip
  • 2,215 posts
Moved to > Customizing Windows > Windows Tips 'n' Tweaks

Nice tweak un4given1 :)

#7
ljones2

ljones2

    Junior

  • Members
  • Pip
  • 60 posts
@un4given1 Thanks for the tweak, I'll try it out later today. :rolleyes: :)

#8
un4given1

un4given1

    Elaborate Dreamer

  • Members
  • PipPipPipPipPipPipPip
  • 1,796 posts
no problem. I will 100% guarantee that it WILL work for you. :)

#9
un4given1

un4given1

    Elaborate Dreamer

  • Members
  • PipPipPipPipPipPipPip
  • 1,796 posts
along the same lines... since you are going to have your monitor on all the time, you might want to adjust your screensaver times too...

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\Desktop]
"ScreenSaveTimeOut"="900"

Just change the "900" to any number you wish... that's seconds BTW... 900=15 mins.

#10
FthrJACK

FthrJACK

    I am a PC...

  • Patrons
  • 3,394 posts
  • OS:Server 2008 x64
add these to the other thread? :)

#11
un4given1

un4given1

    Elaborate Dreamer

  • Members
  • PipPipPipPipPipPipPip
  • 1,796 posts
yep... I did. You can close this one out.

#12
jafrance

jafrance
  • Members
  • 1 posts
Thanks for the work that went into that regfix. My need is actually the oposite of this though. I need to import a fix that will change the setting from Never to 30 min. What do I need to edit in the posted code to make this happen?

#13
maxXPsoft

maxXPsoft

    MSFN Master

  • Developers
  • 2,879 posts
  • OS:Windows 7 x64
  • Country: Country Flag
On XP and others, just go to cmd prompt and type powercfg to see if it runs on your OS

Save the following as power.cmd and run it. You can change these to timeouts you want by changing
-monitor-timeout-ac 0 to -monitor-timeout-ac 30 is 30 minutes. 0 sets it to never

powercfg -change "Always On" -monitor-timeout-ac 0
powercfg -change "Always On" -disk-timeout-ac 0
powercfg -change "Always On" -standby-timeout-ac 0
powercfg -change "Always On" -hibernate-timeout-ac 0
powercfg -hibernate off
powercfg -setactive "Always On"

EDit: changed to a simple cmd script

Edited by maxXPsoft, 01 March 2009 - 07:02 AM.





3 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users



How to remove advertisement from MSFN