Can Regedit edit the local C drive registry?
#1
Posted 31 March 2008 - 12:08 AM
I created the iso with v12 beta. It contains a regedit tool. However, I can never make it to edit the registry to my local C drive. It seems it only edit the registry for X drive. Did I do something wrong?
Thanks.
#2
Posted 31 March 2008 - 12:45 AM
Regards,
Galapo.
#3
Posted 31 March 2008 - 01:35 AM
You need to either mount the offline registry hive directly or use runscanner: http://galapo.boot-l...nscanner.Script
Regards,
Galapo.
Hi Galapo,
Thank you for your kind reply. Can you please give me a little more details on how to mount the offline registry hive?
Best regards,
Hoody
#4
Posted 31 March 2008 - 01:44 AM
If using regedit, click 'File > Load Hive...' and browse to the registry hive you want to edit.
Regards,
Galapo.
#5
Posted 31 March 2008 - 03:36 AM
With runscanner you'll get a start menu item.
If using regedit, click 'File > Load Hive...' and browse to the registry hive you want to edit.
Regards,
Galapo.
I don't know why my File > Load Hive is greyed out. I can not click it. Can you give me some hints?
I will try your runscanner later.
Also, do you know does VistaPE contains ImageX?
Thanks.
Hoody
#6
Posted 31 March 2008 - 03:57 AM
Have you clicked on 'HKEY_LOCAL_MACHINE' prior to attempting to load the registry hive?I don't know why my File > Load Hive is greyed out. I can not click it. Can you give me some hints?
#7
Posted 31 March 2008 - 04:38 AM
Have you clicked on 'HKEY_LOCAL_MACHINE' prior to attempting to load the registry hive?
I get it. Thank. I googled the location of XP hives. It appears they are located under \windows\system32\config. It is kinds of pain to load them one by one. I wish VistaPE has something like ERD command RegEdit, which is the same as native XP regedit. I have not tried your script yet. Hopefully it is better that this Regedit. :-)
BTW, do you know if VistaPE installed ImageX? Thanks.
#8
Posted 31 March 2008 - 04:53 AM
I have not tried your script yet. Hopefully it is better that this Regedit. :-)
With runscanner you just have to click on the start menu item and the program loads the hives automatically and fires up regedit to use as you normally would, only you're viewing the offline registry and not the PE registry.
no, sorry -- I don't use Vista.BTW, do you know if VistaPE installed ImageX? Thanks.
#9
Posted 31 March 2008 - 12:11 PM
No, VistaPE does not install ImageX. You need the Windows Automated Installation Kit (WAIK) for that.BTW, do you know if VistaPE installed ImageX? Thanks.
#10
Posted 01 April 2008 - 04:40 AM
No, VistaPE does not install ImageX. You need the Windows Automated Installation Kit (WAIK) for that.
Thanks.
#11
Posted 01 April 2008 - 04:55 AM
You need to either mount the offline registry hive directly or use runscanner: http://galapo.boot-l...nscanner.Script
Regards,
Galapo.
Hi Galapo,
I tried runscanner. It failed. I attached the screenshot for your reference.
Cheers,
Hoody
#12
Posted 01 April 2008 - 04:57 AM
You'll get that sort of error if regedit is not present or if the registry is already mounted.
Thanks,
Galapo.
#13
Posted 01 April 2008 - 12:06 PM
What command line parameters are you using for runscanner? To launch regedit you need to specify these command line parameters:
/t 0 /ac /sd /m+ /y %SystemRoot%\System32\regedit.exe
assuming regedit is in %SystemRoot%\System32\regedit.exe
#14
Posted 01 April 2008 - 11:27 PM
/q /t 0 regedit.exe
/cp /q /t 0 regedit.exe
/cp /n /t 0 regedit.exe
Recently, I had '#$pSystemRoot#$p\system32\regedit.exe', so maybe the change to simply 'regedit.exe' has broken the script under VistaPE? I made the change to have the script compatible with WimPack script.
Regards,
Galapo.
#15
Posted 01 April 2008 - 11:46 PM
#17
Posted 02 April 2008 - 01:38 AM
I think I've seen that script ... it copies a whole ton of files with no discernable reason. Try this:The interface of the script allows for three options:
/q /t 0 regedit.exe
/cp /q /t 0 regedit.exe
/cp /n /t 0 regedit.exe
RunScanner.7z 68.28KB 378 downloads
#18
Posted 02 April 2008 - 02:25 AM
There's always a reason:I think I've seen that script ... it copies a whole ton of files with no discernable reason. Try this:
RunScanner.7z 68.28KB 378 downloads
1. The files are specified in paraglider's BartPE plugin so I assume they are required.
2. The option to locate them in the program's folder is given as that is my personal general preference for system files which are non-essential for boot. That way, the system image loaded into ram is kept as small as possible. This script is firstly for myself and only then for others, which is why there is my own used option of locating system files in the program's folder. Alternatively, the option is provided to have the system files located in the system folder.
Regards,
Galapo.
#19
Posted 02 April 2008 - 03:15 AM
#20
Posted 02 April 2008 - 07:29 PM
With Galapo's version, I found that there were many failed-to-copy-file errors (using Vista Ultimate RTM as source). I suppose that's because those files exist in XP/2003 but not in Vista.
#21
Posted 03 April 2008 - 12:06 AM
#22
Posted 03 April 2008 - 12:13 AM
Regards,
Galapo.
#23
Posted 03 April 2008 - 05:47 AM
I think I then might get rid of the 'require_file' list. Yesterday I updated the script with some better parameters.
Regards,
Galapo.
Hi Galapo,
Thanks for the updated code. It works except one issue. I can not find currentcontrolset under lcoal_machine\system. I attached the screenshot for XP and VistaPE. EDR Commander does not have this problem. Its Regsitry editor is the same as XP.
Could you please take a look at this issue? I need to modify some registry under CurrentControlSet.
Thanks again.
Hoody
Attached Files
#24
Posted 03 April 2008 - 06:15 AM
Of course you can't! 'currentcontrolset' is only applicable to a live system, the key being a copy of 'ControlSet00x'. You need to modify whichever 'ControlSet00x' is relevant to your system state.I can not find currentcontrolset under lcoal_machine\system.
Regards,
Galapo.
#25
Posted 03 April 2008 - 11:44 AM
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users