Adding Power Plans to Win10 ISO via registry tweak

SM03

Active Member
nuhi or anyone knows
Is there any reg file/settings available for

1. adding power plans i.e. Balanced/Power Saver/High or Ultimate Performance
2. Changing the default ICON view size (in desktop) from Medium to Small

while making a customised ISO for Windows 10 latest Oct 2019 version? Then kindly share & let me know

Thanks.
 

Clanger

Well-Known Member
You mean set a specified power plan as active during setup? Nuhi posted about desktop icon size/auto arrange quite a while back but i forget where it is.
 

Clanger

Well-Known Member
To get a list of installed power plans open a cmd window and enter
powercfg /list
or
powercfg /L
or
powercfg /List
or
Powercfg /List

In the cmd window and list you will see something like this
Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced)
Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High Performance) *
Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a (Power saver)
Power Scheme GUID: b4c71562-c50a-4de8-b337-1d0de2fdc20a (Bitsum Highest Performance)

The current active plan will have a star after its plan name, see High Performance above.

Once you know the plan/schemes id then on NTLite Post Setup page enter powercfg in the left hand pane and -setactive your guid number, example -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c in the right hand pane.
powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

If you want to create a customised power plan go here. They havnt updated for the Ultimate Performance plan though.
 
Last edited:

SM03

Active Member
To get a list of installed power plans open a cmd window and enter
powercfg /list
or
powercfg /L
or
powercfg /List
or
Powercfg /List

In the cmd window and list you will see something like this
Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced)
Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High Performance) *
Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a (Power saver)
Power Scheme GUID: b4c71562-c50a-4de8-b337-1d0de2fdc20a (Bitsum Highest Performance)

The current active plan will have a star after its plan name, see High Performance above.

Once you know the plan/schemes id then on NTLite Post Setup page enter powercfg in the left hand pane and -setactive your guid number, example -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c in the right hand pane.
powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

If you want to create a customised power plan go here. They havnt updated for the Ultimate Performance plan though.

Kasual & Clanger Thanks.
Actually, I am expecting something like the reg file that mentioned in the link that you've provided in your last msg, can I integrate such reg files into the NTLite registry section to get this done?

Also, about the desktop icon size, if you found the link pls share, can u tell me how long it has been posted here so that I can try to search in the forum?
 

SM03

Active Member
I think the link i gave does have registry info, its from a page i saved long ago. As for the icon thingy i donthave a clue where it is or what its name is, could be anything up to 12 months ago, mebbe more. :(

Ahh, link arritickle, Option 1 - numbers 1 to 4, ready made reg files, add reg to Registry section. Here is the same arritickle for w10, Option 3.
Okay I will try that reg settings to attach in NTLite in my next custom ISO but the link that u shared is for win7, & I'm on Win10, so any specific article on Win10 of the same?
 

SM03

Active Member
Desktop icon size, 2 topics you took part in(and started :p) October and November 2018. here and here

There is even an auto arrange tweak in there. maszd wanted this if i remember correctly.

Yes, I started those to OP for desktop icon change settings but still didn't find out a working way to do that, even there, you & nuhi & Kasual provided some reg file tweaks which obviously, didn't work, hence asked again here. And I am not interested in auto arranging icon, only want to set the icon size from medium to small, don't why you're referring to that.
 

Clanger

Well-Known Member
I get my GP tweaks from GPE and harvested with RegFromApp, nearly all the system settings will go to HKLM\Software\Policies, current user will be HKCU.
 

Saaglem

Active Member
Actually.......I use Win Aero tweaker to tweak the icons, with that I use regshot to give me the reg changes, add them to a reg file called icons and add it to NTLite registry option, with that said I use shellfolderfix to fix icon positions and area and to manage the way explorer open up file and folders. Shelfolderfix keeps the icons in place and opens multiple folders in different places and different sizes....like XP use to do, plus it is free and is still maintained. I am still using the same method from windows 8.1 even now with windows 10-1809. I included my Icons reg as well. NOTE that my resolution is 3840x2160x4k....which can be bad if you run this on a low resolution monitor.

Try this from Brink, https://www.tenforums.com/tutorials/62393-change-size-desktop-icons-windows-10-a.html

Regarding the power plan option.....I have found the registry files to be a bad solution. Use it the way Clanger suggested with powercfg.....it does not fail.

GPO tweaks......tweak one machine the way you want it then simply use LGPO.exe from Microsoft, included here, to extract or export the GPO files, use the same method to import them into windows again.....done. The rar file included is what mine looks like. I extracted it so you can see what it looks like and the commands are in the folder in text format. PLEASE NOTE, THIS IS MY MACHINE SETTINGS AND MIGHT NOT BE WHAT YOU WANT SO DON'T INSTALL THIS ON YOUR MACHINE....I mean you can if you want to. lol....nothing will happen....you will only have the same settings in GPO on your machine.

Hope it helps
 

Attachments

  • gpol.rar
    173.6 KB
  • icons.reg
    27.7 KB
Last edited:

Clanger

Well-Known Member
I use RegFromApp to harvest from WAT, tried one of those other reg tools but so much happens in a registry i found it hard to find the changes.
 

Saaglem

Active Member
Hey Clanger. Awesome little tool, both 32 and 64 bit. I like it that you can directly save into reg file. BUT, it misses some reg files and cant detect some changes.....thus I use Regshot. But regshot have it's own issues.....with it's all crap fined it is sometimes difficult to rummage through the files to get what you want. I will play a little bit more ....I like Regfromapp. A lot I don't know....I'll learn.
 

Clanger

Well-Known Member
Fiddle around with RFA's options, show only modified values or summat. I agree it misses somethings but 9 out of 10 times it catches everything, except the lurgy :D Sifting through hundreds or more damn reg entries with those other tools is, it gives me brain farts. I like easy stuff.

If you wanna harvest GPE tweaks, get RFA 64 to look at mmc.exe. :cool:
 
Last edited:

SM03

Active Member
Actually.......I use Win Aero tweaker to tweak the icons, with that I use regshot to give me the reg changes, add them to a reg file called icons and add it to NTLite registry option, with that said I use shellfolderfix to fix icon positions and area and to manage the way explorer open up file and folders. Shelfolderfix keeps the icons in place and opens multiple folders in different places and different sizes....like XP use to do, plus it is free and is still maintained. I am still using the same method from windows 8.1 even now with windows 10-1809. I included my Icons reg as well. NOTE that my resolution is 3840x2160x4k....which can be bad if you run this on a low resolution monitor.

Try this from Brink, https://www.tenforums.com/tutorials/62393-change-size-desktop-icons-windows-10-a.html

Regarding the power plan option.....I have found the registry files to be a bad solution. Use it the way Clanger suggested with powercfg.....it does not fail.

GPO tweaks......tweak one machine the way you want it then simply use LGPO.exe from Microsoft, included here, to extract or export the GPO files, use the same method to import them into windows again.....done. The rar file included is what mine looks like. I extracted it so you can see what it looks like and the commands are in the folder in text format. PLEASE NOTE, THIS IS MY MACHINE SETTINGS AND MIGHT NOT BE WHAT YOU WANT SO DON'T INSTALL THIS ON YOUR MACHINE....I mean you can if you want to. lol....nothing will happen....you will only have the same settings in GPO on your machine.

Hope it helps

Clanger & Saaglem

Thanks for all the replies & help, I will try to attach Saaglem 's reg file for the icon matter in my next win10 customisation via ntlite & check, meanwhile, your gpol.rar isn't downloading, can you check that? not catching any dl link, pls recheck & re-upload.

Also, I do not understand where & how to attach those gpol.rar file in NTLite? can you help me explain a bit for better understanding? What I need is old styled Windows default power plans needs to be there i.e. balanced, power saver & high performance, nowadays in modern Win10 version, for laptop, by default there is no power plan, every time I format, I need to create them manually so asking for any tweaks.
 

Saaglem

Active Member
Desktop Icon minimize

Use the batch file from Tenforums....attached here. Much better since it enables it immediately, mine you have to restart first.

=========================================================================================
Group policy

You can also download LGPO here, https://www.microsoft.com/en-us/download/details.aspx?id=55319

gpol.rar downloads fine for me.

First you copy the LGPO.exe file to your windows system32 directory. Then create the Pol folder on the c drive, the program doesn't do it and will give an error. Then just run the backup.bat file. It will backup your GPO to a folder called Pol on the C drive. The command for this looks like this;

Copy between the lines and create a new bat file.

This is to backup your group policy
---------------------------------------------------------------------
C:\Windows\System32\LGPO.exe /b c:\Pol

TIMEOUT /T 5 > nul

EXIT
----------------------------------------------------------------------

This is to restore the policy to another machine
----------------------------------------------------------------------
C:\Windows\System32\LGPO.exe /g c:\pol

TIMEOUT /T 5 > nul

EXIT
----------------------------------------------------------------------

-You can make Pol anything as long as you create the folder first
-Recover from the folder you created

====================================================================================
Power plan

I will include my power plan, It is set to High Performance, but there is some tweaks in it.........and others are controlled via GPO. When you import my GPO settings with the pow file then you have almost all the tweaks for it.

To create your own power plan use this method;

Goto Dos or a command prompt with admin privileges

powercfg /list

It will look like this.......except this is my pow file

Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced)
Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High performance)
Power Scheme GUID: a16ba5d3-7a8e-4c56-bf0d-9eb1546c6790 (Saaglem) *
Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a (Power saver)

* this would indicate the power plan that is enabled

Once you have created you power plan then just export it,

powercfg -export "c:\Saaglem.pow" a16ba5d3-7a8e-4c56-bf0d-9eb1546c6790

or

powercfg -export "c:\High performance.pow" 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

Then in future just import it with a batch file, point the batch file towards the pow file

powercfg -import "c:\Saaglem.pow" a16ba5d3-7a8e-4c56-bf0d-9eb1546c6790

or

powercfg -import "c:\High performance.pow" 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

You can also just copy the files inside the folder with the crazy numbers to the C:\Windows\System32\GroupPolicy\

and then set it active

powercfg /setactive a16ba5d3-7a8e-4c56-bf0d-9eb1546c6790

or

powercfg /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

Done
 

Attachments

  • SaaglemPOW.rar
    2.7 KB
  • icons.rar
    369 bytes
Last edited:

banko84

Member
To get a list of installed power plans open a cmd window and enter
powercfg /list
or
powercfg /L
or
powercfg /List
or
Powercfg /List

In the cmd window and list you will see something like this
Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced)
Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High Performance) *
Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a (Power saver)
Power Scheme GUID: b4c71562-c50a-4de8-b337-1d0de2fdc20a (Bitsum Highest Performance)

The current active plan will have a star after its plan name, see High Performance above.

Once you know the plan/schemes id then on NTLite Post Setup page enter powercfg in the left hand pane and -setactive your guid number, example -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c in the right hand pane.
powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c

If you want to create a customised power plan go here. They havnt updated for the Ultimate Performance plan though.

Hi Clanger . The link "power plan go here" seems interesting. How would one go about integrate that *.bat file in NTLITE that you get from there?
 

Saaglem

Active Member
You cannot put the pow file in a bat file. It is a windows generated file.
You put it in the root with the other files when you compile with NTLite, "OS ON DRIVE"\sources\$OEM$\$$\Setup\Files

and then you add it to the cmd file in OS ON DRIVE\sources\$OEM$\$$\Setup\Scripts\SetupComplete.cmd

Mine looks like this.

powercfg -import "%WINDIR%\Setup\Files\Saaglem.pow" a16ba5d3-7a8e-4c56-bf0d-9eb1546c6790
powercfg /setactive a16ba5d3-7a8e-4c56-bf0d-9eb1546c6790

Or you can add it in NTLite in the post setup section
 

banko84

Member
You cannot put the pow file in a bat file. It is a windows generated file.
You put it in the root with the other files when you compile with NTLite, "OS ON DRIVE"\sources\$OEM$\$$\Setup\Files

and then you add it to the cmd file in OS ON DRIVE\sources\$OEM$\$$\Setup\Scripts\SetupComplete.cmd

Mine looks like this.

powercfg -import "%WINDIR%\Setup\Files\Saaglem.pow" a16ba5d3-7a8e-4c56-bf0d-9eb1546c6790
powercfg /setactive a16ba5d3-7a8e-4c56-bf0d-9eb1546c6790

Or you can add it in NTLite in the post setup section

Thank you for this answer.
How would it look like when I would want to add it to Post-Setup?
 

Saaglem

Active Member
I don't know......always been doing it via the command file. Try it exactly the way it is posted here. Then create image and check the cmd file and see if it put it the way it shows here
 
Top