Jump to content

how to read offline windows xp registry using bartpe


Recommended Posts

hey, guys

I've just created a full-unattened windows xp setup through Bartpe. But I am stuck on one problem. Before i format partition c into ntfs file system, I want to read ip addresses ,subnet mask and dns configurations from remote registry of the windows xp system resides on partition c and get thoses keys saved in partition d in ".reg" file format for later use. I just want it be done automaticlly. So, are there any solutions for me to use to read those keys through scripts , C programs or any other means that can be done automaticlly? I plan to use BartPE to be the enviroment for the solution to work. Thanks in advance!

Edited by ryuunami
Link to comment
Share on other sites


Yes you should be able to load the "system" hive located in "C:\windows\system32\config" and then read the values or export settings you need with reg.exe (command line include with xp).

Link to comment
Share on other sites

@allen2

can you show me a detailed tutorial as for how to load the hive with reg and export the setttings. I am new to it.

another thing that I am worried about is the permisstion to load the remote hive files.

I would run reg.exe within BartPE which is not the system resides on partition C.

Are there any limitations of reg.exe to read registry keys of remote system, that is system on partition c in my circumstances?

Thanks!

Link to comment
Share on other sites

all the TCP/IP parameters are registry values that are located under one of two different subkeys of

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services

Tcpip\Parameters

Tcpip\Parameters\Interfaces\ID for Adapter

http://support.microsoft.com/kb/314053

Of course, an offline hive won't have a CurrentControlSet, so you'll likely be using 001.

Here is an example of how to use reg.exe with an offline hive:

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...