A
Alec S.
Hi,
Does anyone know how to use regedit to work with external registry file
from the command line? In 9x based OSes you use the /R and /L command line
switches to specify where USER.DAT and SYSTEM.DAT are, but in NT based OSes
those files do not exist; instead you have separate files for software,
system, default, etc. as well as a separate NTUSER.DAT file for each user.
I'm in Windows XP in a command prompt, I have extracted the required
NTUSER.DAT file from a backup image of my hard drive, and I want to extract
a key from that but have no idea how to specify it as the source rather than
the active registry.
I've looked around everywhere but cannot find any info on using an
external file from the command line. I've tried doing
regedit /r:g:\software /e t.reg "HKEY_CURRENT_USER\BLAH*>|<"
But that does not work, no file is created and regedit returns an
errorcode of 0.
Any ideas? Thanks.
Does anyone know how to use regedit to work with external registry file
from the command line? In 9x based OSes you use the /R and /L command line
switches to specify where USER.DAT and SYSTEM.DAT are, but in NT based OSes
those files do not exist; instead you have separate files for software,
system, default, etc. as well as a separate NTUSER.DAT file for each user.
I'm in Windows XP in a command prompt, I have extracted the required
NTUSER.DAT file from a backup image of my hard drive, and I want to extract
a key from that but have no idea how to specify it as the source rather than
the active registry.
I've looked around everywhere but cannot find any info on using an
external file from the command line. I've tried doing
regedit /r:g:\software /e t.reg "HKEY_CURRENT_USER\BLAH*>|<"
But that does not work, no file is created and regedit returns an
errorcode of 0.
Any ideas? Thanks.