How do I turn off the hibernation, screen/display sleeping option? Really annoys me on a laptop...

kreemerz

Member
One of the very annoying features in Windows OS versions is the the setting that seems to be default for power save mode. This laptop is plugged in most of the time, I wish there was a way in Ntlite that the screen/display sleep mode can be turned off or disabled all together. Don't wont it to come on when the laptop is plugged in.

I can go into the settings and change it. But would rather have NTlite allow me to do this..
 
NTLite doesn't have any explicit settings for power management. Most users script a set of powercfg commands, or import a pre-defined power plan. While NTLite could perform this task, it's a lot of work knowing which power config features changed in each version of Windows.

I hereby summon Hellbovine, to explain how frustrating this gets.
 
NTLite doesn't have any explicit settings for power management. Most users script a set of powercfg commands, or import a pre-defined power plan. While NTLite could perform this task, it's a lot of work knowing which power config features changed in each version of Windows.

I hereby summon Hellbovine, to explain how frustrating this gets.
Well, I'm not sure if having someone explain how frustrating it can get is useful to me. I'm seeking to achieve the opposite of that. Lol.
you say there are pre-defined scripts. That sounds more like what I'm trying to obtain,
 
The simplest way is to first customize the power profile on an existing system. Then export it as a power plan:
powercfg -export my_plan.pow

Import that same plan inside Post-Setup:
powercfg -import [path]\my_plan.pow
powercfg -setactive [GUID]

You can copy the power plan to sources\$OEM$\$1\MyPath on the ISO folder. This maps to C:\MyPath and Setup will copy the file there so you have a fixed path for the powercfg import. The problem is usually there's too many individual power options, so an explicit list of single powercfg commands or reg keys ends up being too long .

A power plan grabs everything, but you lose visibility on what's inside (unless you use something like PowerSettingsExplorer or similar tool).

Update: Fixed typo in path.
 
Last edited:
One of the very annoying features in Windows OS versions is the the setting that seems to be default for power save mode. This laptop is plugged in most of the time, I wish there was a way in Ntlite that the screen/display sleep mode can be turned off or disabled all together. Don't wont it to come on when the laptop is plugged in.

I can go into the settings and change it. But would rather have NTlite allow me to do this..
You can set in Post-Setup page these commands:
powercfg /setactive SCHEME_MIN
powercfg -setacvalueindex SCHEME_CURRENT SUB_VIDEO VIDEOIDLE 86400
powercfg -setactive SCHEME_CURRENT

You can convert it to reg file and add to launch on first logon for every user account in the machine.

Here is more info:
 
The simplest way is to first customize the power profile on an existing system. Then export it as a power plan:
powercfg -export mypower.pow

Import that same plan inside Post-Setup:
powercfg -import mypower.pow

You can copy the power plan to sources\$OEM$\$1\MyPath on the ISO folder. This maps to C:\MyPath and Setup will copy the file there so you have a fixed path for the powercfg import. The problem is usually there's too many individual power options, so an explicit list of single powercfg commands or reg keys ends up being too long .

A power plan grabs everything, but you lose visibility on what's inside (unless you use something like PowerSettingsExplorer or similar tool).

Update: Fixed typo in path.
So I exported the my power file to a USB drive, for now.
So can I add it to the ISO at this point? or drag into NTlite?
 
There's tons of ways to tackle this, like the other guys suggested.

Another method if you want to easily integrate things into an image is to take a look at my optimized image guide, and download the Tweaks folder, then right-click and "edit" on the power plan registry file. Inside you can see fully commented keys that will do exactly what you are looking for. You can integrate these keys to not only have the high performance power plan be active by default on a clean install of Windows, but also disable hibernation, as well as turn off the monitor timeout which is exactly what you are looking for, among many other useful tweaks.

The frustrating thing Garlin is referring to, is that Microsoft decided to treat laptops much differently than desktops, and it very forcibly tries to override your settings and make laptops use modern standby, hibernation, and sleep even if you try to disable it all. Once you start playing around with the power plan tweaks you'll see what I mean.

I would just copy/paste the keys here for you, but I'm not on my desktop right now and don't have access.
 
Last edited:
Back
Top