Regedit command-line

  • Thread starter Thread starter Michael Waterman
  • Start date Start date
M

Michael Waterman

Hi All,

I was wondering how to use the commanline feature of regedit. I am trying
the /R function I found on the net, but for some reason I can't get it to
work. This is what I'm trying to do:

regedit /R: "C:\Documents and Settings\Administrator\NTUSER.dat"
c:\Import.reg

The /R option is for editing a different NTUSER hive. For some reason it
doens't work... Can anyone help me?

Thanks
Michael Waterman
 
Michael said:
Hi All,

I was wondering how to use the commanline feature of regedit. I am trying
the /R function I found on the net, but for some reason I can't get it to
work. This is what I'm trying to do:

regedit /R: "C:\Documents and Settings\Administrator\NTUSER.dat"
c:\Import.reg

The /R option is for editing a different NTUSER hive. For some reason it
doens't work... Can anyone help me?
Hi

You might use reg.exe instead (it comes builtin with WinXP).

Example on how to load an external hive file:

reg.exe load HKLM\TmpHive "C:\Documents and Settings\Administrator\NTUSER.DAT"


Then you can use reg.exe to query and/or manipulate the hive.

Run "reg.exe /?" in a command prompt for more help.
 
Back
Top