Loading NTUSER.DAT with command line switches

  • Thread starter Thread starter Ethan Kiczek
  • Start date Start date
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
 
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
|
 
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.
 
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.
|
 
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
 
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
 
Back
Top