Loading NTUSER.DAT with command line switches

E

Ethan Kiczek

Currently, I make modifications to the Default User profile by running
REGEDT32, and under HKEY_USERS, I load C:\D&S\Default User\NTUSER.DAT as
a Hive named "NTUSER". I then make my changes, and then unload that Hive.

Is there any way to do this with REGEDT32 or REGEDIT command line switches?

Thanks,

Ethan
 
D

Dave Patrick

The easiest method is to create a profile the way you like it, then while
logged on as another user (with administrative rights) Control
Panel|System|User Profiles, select the profile you adjusted, Copy To, Browse
to
%systemdrive%\Documents and Settings\Default User
Change "Permitted to use:" to "Everyone" OK

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| Currently, I make modifications to the Default User profile by running
| REGEDT32, and under HKEY_USERS, I load C:\D&S\Default User\NTUSER.DAT as
| a Hive named "NTUSER". I then make my changes, and then unload that Hive.
|
| Is there any way to do this with REGEDT32 or REGEDIT command line
switches?
|
| Thanks,
|
| Ethan
|
 
M

Mark V

In said:
The easiest method is to create a profile the way you like it,
then while logged on as another user (with administrative rights)
Control Panel|System|User Profiles, select the profile you
adjusted, Copy To, Browse to
%systemdrive%\Documents and Settings\Default User
Change "Permitted to use:" to "Everyone" OK

Dave, My read is he's not going to be satisfied with that. <G>

I _believe_ the OP's answer is "no" with regedit or regedt32. Third-
party registry tools is a qualified "maybe" as I seem to recall this as
a feature of something, somewhere. <BG>

OP, No promises, but I will look to see if I can find whatever it is
that is stuck in a corner of my brain. It will not be Tuesday though.
 
D

Dave Patrick

OK, yep I see now that we already went though this two weeks ago.

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
| Dave, My read is he's not going to be satisfied with that. <G>
|
| I _believe_ the OP's answer is "no" with regedit or regedt32. Third-
| party registry tools is a qualified "maybe" as I seem to recall this as
| a feature of something, somewhere. <BG>
|
| OP, No promises, but I will look to see if I can find whatever it is
| that is stuck in a corner of my brain. It will not be Tuesday though.
|
 
E

Ethan Kiczek

Thanks Mark and Dave for understanding about my avoidance of profile
"Copy To"! <G> Yeah, if you find that app with that feature, I'd really
appreciate it.

Thanks again,

Ethan
 
M

Mark V

In said:
Dave and Mark, you inspired me to search harder, and I think the
answer is to install W2K Support Tools:

http://www.jsifaq.com/SUBL/TIP5700/rh5700.htm#g

and use:

REG LOAD <Name of hive to load into> <Name of registry file>

and

REG UNLOAD <Name of hive to unload>

Thanks for your help again!

That is one of the ones I was trying to recall!
Does it work? (having never yet tried)
 
A

Andrew Paiti

In short no..
Regedit and regedt32 do not offer the functionality from the command line to
load a registry hive.
Well not that Im aware of - If they do please let me know when you have the
details...
Anyway

You will need to use "reg.exe" from the w2kserver resource kit.
With this you can...

reg.exe load HKU\Ntuser c:\documents and settings\\Defauly User\ NTUSER.dat
reg.exe unload HKU\Ntuser

Cheers,
Andrew
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top