[HKEY_CURRENT_USER\Control Panel\Desktop] "MenuShowDelay"="10"
[Win7PE_SE] Registry tweaks
#1
Posted 05 December 2011 - 08:31 AM
#2
Posted 05 December 2011 - 10:21 AM
RegHiveLoad,WB-Default,%RegUser% RegWrite,HKLM,0x1,"WB-DefaultControl PanelDesktop",MenuShowDelay,200 RegHiveUnLoad,WB-Default
Then it is already in the PE when it boots up.
Peter
#3
Posted 05 December 2011 - 10:24 AM
[HKEY_CURRENT_USERControl PanelDesktop]
"MenuShowDelay"="10"
RegHiveLoad,WB-Default,%RegUser%
RegWrite,HKLM,0x1,"WB-DefaultControl PanelDesktop",MenuShowDelay,200
RegHiveUnLoad,WB-Default
Wonko
#4
Posted 05 December 2011 - 10:29 AM
Peter
#5
Posted 05 December 2011 - 04:42 PM
If not apparent from the above - YES! You make the change in the registry that will end up inside the WIM being booted. (could also be done manually, but this is cleaner!)I have registry tweaks such as below, how can I get them to trigger? Unlike regular windows, I can run the tweaks, restart, and done. Would the only way be to actually load the registry hive (how?) in the mounted wim and make modifications there?
#6
Posted 05 December 2011 - 06:52 PM
(copied the code from another thread)
Hive_Load,HKCU Reg_add,0x1,%reg%SoftwareMicrosoftWindowsCurrentVersionRunOnce,Startup,"bbxiw7pe$_netcmdstartup.cmd" Hive_UnLoad,HKCU
RegHiveLoad,WB-Default,%RegUser% RegWrite,HKLM,0x1,"WB-DefaultControl PanelDesktop",MenuShowDelay,10 RegHiveUnLoad,WB-Default
#7
Posted 05 December 2011 - 06:56 PM
#8
Posted 05 December 2011 - 07:15 PM
You can use the 'RegCPE' a tool available within Win7PE SE > Utils. This can convert .reg files (your tweaks) into .script format that should normally goes under [Process] section in any winbuilder script.
Edited by pokemon1, 05 December 2011 - 07:16 PM.
#9
Posted 05 December 2011 - 07:20 PM
And in this tool you can decide whether you use something like %RegUser% or the actual file system path.
Peter
#10
Posted 05 December 2011 - 07:23 PM
Reg_add,0x3,"%reg%Control PanelDesktop",UserPreferencesMask,"be,3e,07,80,12,00,00,00"
or should it be
Reg_add,0x3,"%reg%Control PanelDesktop",UserPreferencesMask,"be#$c3e#$c07#$c80#$c12#$c00#$c00#$c00"
from:
"UserPreferencesMask"=hex:be,3e,07,80,12,00,00,00
#11
Posted 05 December 2011 - 07:33 PM
- 0x3 - Binary data - adds data in binary format. Each byte is specified by groups of two digits splitting each value with commas
RegWrite,HKLM,0x3,"WB-DefaultControl PanelDesktop",UserPreferencesMask,be,3e,07,80,12,00,00,00Currently the other alternities are understood correctly, too.
Peter
#12
Posted 05 December 2011 - 07:50 PM
Thanks great people.
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users