Help - Search - Members - Calendar
Full Version: How to change Registry in the ready BartPE?
The CD Forum > Bart's PE Builder > Troubleshooting
alex52
How to change Registry in the ready BartPE?

1. What program should be used to make changing in *.hiv files?

2. How in the ready BartPE, running from HD, to set new Registry data (not changing each time SETUPREG.HIV), to apply new Registry settings during loading OS (at least, before users settings are applied)?

In BartPE TXTSETUP.SIF there are (left) sections like:

[HiveInfs.Fresh]
AddReg = hivedef.inf,AddReg
AddReg = hivesys.inf,AddReg
AddReg = hivesft.inf,AddReg
AddReg = hivecls.inf,AddReg
AddReg = hiveusd.inf,AddReg
AddReg = dmreg.inf,DM.AddReg

Tried to place in such files my settings, but they did not appeared in the running BartPE Registry (may be, they are not read in the BartPE).

How and where to place my settings to be used in the running BartPE Registry?

Best, Alex
cdob
QUOTE (alex52 @ Sep 23 2009, 07:31 PM) *
1. What program should be used to make changing in *.hiv files?
Use regedit.exe.


QUOTE
2. How in the ready BartPE, running from HD, to set new Registry data (not changing each time SETUPREG.HIV), to apply new Registry settings during loading OS (at least, before users settings are applied)?

PE dosn't read txtsetup.sif [HiveInfs.Fresh].

Contrary PE does read migrate.inf.
http://www.911cd.net/forums//index.php?showtopic=19663
alex52
Thank you for information, but, additional questions have been appeared.

In renamed *.inf file as minint\system32\migrate.inf, removed all but exept 2 top lines, and several original lines, renames keys in these lines, but nothing appeared in running BartPe Registry.

Additionally, imported setupreg.hiv to a new key in regedit.exe, but even after simple import-export this key as the new setupreg.hiv without any changing, BartPE did not start with a new setupreg.hiv.

Where to read about whiting *.inf files?

What may be my mistake in editing setupreg.hiv?

Thank you in advance.

Best, Alex
alex52
What is my mistake?

After importing setupreg.hiv in regedit.exe in a new key, exporting it as a new setupreg.hiv, even without any changins, BartPE with a new setupreg.hiv have not started.
jaclaz
QUOTE (alex52 @ Sep 25 2009, 11:09 AM) *
Where to read about whiting *.inf files?


http://www.boot-land.net/forums/index.php?showtopic=1966
http://www.wd-3.com/archive/InfFiles.htm
(even if you are NOT a bear of little brain wink.gif)

jaclaz
nuMe
This thread should be deleted, it sounds like someone is trying to hack a illegal copy of bartpe.
bengt
boot your BartPE normally, dump the registry,
make your changes, Using regedit or start and use whatever software needs to be changed, close program, dump registry again,
convert reg to inf, compare the two inf:s
add changes to custom inf, REBUILD
if done correctly, your changes will be included
Wendy
If ye need to make a random change to a hive (eg SYSTEM or DEFAULT)

1. load the hive into registry


attrib -r -a -s -h c:\bartpe\i386\system32\config\system
reg load HKLM\Bartpe c:\bartpe\i386\system32\config\system


2. edit the key under hklm\bartpe

3. unload the hive

reg unload HKLM\Bartpe

alex52
QUOTE (alex52 @ Sep 25 2009, 11:09 AM) *
Where to read about whiting *.inf files?

QUOTE (jaclaz @ Sep 25 2009, 04:18 AM) *


Thank you for information about *.inf files. To my regret, more interested for me information about [AddReg] section is absent in these references.

Where to read about [AddReg] section in *.inf files, particularly about key type coding?
bengt
Software.AddReg section
alex52
QUOTE (bengt @ Sep 30 2009, 05:42 AM) *


I'm sorry again. The last reference about *.inf files to build a new BartPE. I 've passed this step.
I'm looking how to add to Registry with ordinary *.inf files, especially what are these codings like
0x00010003, 0x00030001 0x00000012.


[AddReg]
HKLM,"SYSTEM\CurrentControlSet\Control\Windows","CSDVersion",0x10001,0x300
HKLM,"SYSTEM\CurrentControlSet\Control\PnP",,0x00000012
HKLM,"SYSTEM\CurrentControlSet\Control\BackupRestore\FilesNotToBackup","Memory Page File",0x00010000,"\Pagefile.sys"
HKLM,"SOFTWARE\Microsoft\Command Processor","DefaultColor",0x00010003,0
Ed_P
Why can't you use PEBuilder and it's plugins?
alex52
QUOTE (Ed_P @ Sep 30 2009, 10:52 AM) *
Why can't you use PEBuilder and it's plugins?


I studied BartPE years ago, build several my BartPE's (it's enough for understanding), but now I have no time for this, and download and use ready ones (mainly for USB, with last crazy infinitive Microsoft updates), running it from HD as rescue OS.

Now, I'd like to be familary with ordinary *.inf files (not only with BartPE).

What I want now, to use Temp folder on the same HD (without RamDrive), and not load and mount BartPE to RAM (to reduce RAM using).

For this, I'd like to use migrate.inf to set Registry at each boot (USB BartPE is very frequently updated).

For beginning, I simply take some ready *.inf file, rename to \minint\system32\migrate.inf , change keys names. But, my migrate.inf does not make any changing in the running BartPE Registry. I'd like to find - why?

My migrate.inf is as below:
=======
[Version]
Signature = "$Windows NT$"

[AddReg]
HKCU,"App=Events",,0x00000012
HKCU,"AppEvents\Event-Labels",,0x00000012
HKCU,"AppEvents\Event=Labels",,0x00000012
HKCU,"AppEvents\Event__Labels\.Default","",0x00000000,"%DEFAULT_BEEP%"
========

What is wrong with such migrate.inf , and why there are no changing in the running BartPE Registry?

P.S. This is also reply to:
QUOTE (nuMe @ Sep 25 2009, 08:43 AM) *
This thread should be deleted, it sounds like someone is trying to hack a illegal copy of bartpe.

to run others BartPE without hacking it.
I'm not professional programmer. After studding some problems, I post my experience in forums, and such post is more useful for newbie than manuals from professionals. One my post visited more than 40,000 times:
http://www.knoppix.net/forum/viewtopic.php...d364e92db24263c
bengt
QUOTE (nuMe @ Sep 25 2009, 03:43 PM) *
This thread should be deleted, it sounds like someone is trying to hack a illegal copy of bartpe.


QUOTE (alex52 @ Sep 30 2009, 09:27 PM) *
...but now I have no time for this, and download and use ready ones...


jepp
alex52
QUOTE (bengt @ Sep 30 2009, 02:47 PM) *
jepp

I believe you mention to Microsoft right, but I may use with my own Win key. This is additional my reason to reset Registry.
cdob
QUOTE (alex52 @ Sep 30 2009, 07:53 PM) *
I believe you mention to Microsoft right, but I may use with my own Win key.

A illegal copy is a illegal copy. A own key dosn't change this.
paraglider
If you want to update the current booted Bartpe registry at runtime a reg file is by far the easiest way.
Ed_P
We do not support illegal activities.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.