Integrate .Reg files

luckscent

Member
1 - Where do I include Reg files in NTLite to run on installation? These reg are for adding options in power settings.
I have already disabled hibernation through NTLite, but I want it to appear as sleep *disabled by default on the power plan
2 - How do I set default to never suspend on installation?
 
Last edited:
HKLM reg files can be integrated under Registry. HKCU files should be added in Post-Setup (After logon).

I wouldn't bother with Power Plan changes using reg files, it's too much work. Make a customized power plan on a live system, and export it using powercfg. Re-load and activate the same plan from Post-Setup.

Use the forum search to find previous discussions on how to do this. If your PC only supports Modern Standby in BIOS, then by design you don't get sleep modes S1-S3.
 
From the registry section in NTL you can always point to a folder where you've your regs and they'll be included in your install..
 
HKLM reg files can be integrated under Registry. HKCU files should be added in Post-Setup (After logon).

I wouldn't bother with Power Plan changes using reg files, it's too much work. Make a customized power plan on a live system, and export it using powercfg. Re-load and activate the same plan from Post-Setup.

Use the forum search to find previous discussions on how to do this. If your PC only supports Modern Standby in BIOS, then by design you don't get sleep modes S1-S3.
What I found here was this:
powercfg -import customer.pow
powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

I used these commands and it was successfull exported to the System 32 folder ok;

powercfg -export customer.pow 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

1 - What command do I use to import from D:\?
2 - Is the -setactive necessary after importing?
 
1. powercfg -import "%SYSTEMROOT%\Setup\customer.pow" (check the path NTLite created for Add File -> customer.pow).
2. Yes, because you can import several plans but not pick any of them to be active.
 
Do I need to select a path?
the Reg is as follows:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\be337238-0d82-4146-a960-4f3749d470c7]
"Attributes"=dword:00000002

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\PowerSettings\54533251-82be-4824-96c1-47b60b740d00\75b0ae3f-bce0-45a7-8c89-c9611c25e100]
"Attributes"=dword:00000002
 

Attachments

  • reg ramif.jpg
    reg ramif.jpg
    17.9 KB
Back
Top