Re: Edit Default User NTUSER.DAT
From: Johan (anonymous_at_discussions.microsoft.com)
Date: 03/02/04
- Next message: Gary: "Internet Explorer & Popup ads"
- Previous message: Aleksandar Dz.: "Creating IPSec tunnels using certificates"
- In reply to: Olof Lagerkvist: "Re: Edit Default User NTUSER.DAT"
- Next in thread: Olof Lagerkvist: "Re: Edit Default User NTUSER.DAT"
- Reply: Olof Lagerkvist: "Re: Edit Default User NTUSER.DAT"
- Reply: Johan: "Re: Edit Default User NTUSER.DAT"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 2 Mar 2004 07:20:52 -0800
Olof, this is exactly what I was looking for. I was so
close to getting there before.
It's still not quite working though.
I can load the ntuser.dat file into the hive ok
I then reg import my .reg file
I then reg query the key and it's all good
I then unload the hive again
But when I log off and login as a new user it hasn't
transferred into the new profile. What's gone wrong?
Cheers
>-----Original Message-----
>Johan wrote:
>
>> For very good reasons I want to be able to edit the
>> Defualt User NTUSER.dat file in a script or command
line.
>>
>> How can this be done, I've looked at SO MANY ways but
>> can't find a solution.
>
>The normal way is to use regedt32.exe application
and "load hive" menu
>option to load the file into a registry key and then edit
that key in
>usual way, then unload the hive again.
>
>But if you want to do it from a script or command line,
you need the
>reg.exe command line utility. The reg.exe is included in
Windows XP/2003
>and it is available as a resource kit utility for
NT/2000. (Download the
>resource kit support tools for NT 4 to get it.)
>
>First execute
>reg load HKU\DefaultUser "C:\Documents and
Settings\Default User\ntuser.dat"
>then make a normal .reg file and import it using "reg
import" or
>"regedit /s" and then execute
>reg unload HKU\DefaultUser
>
>--
>Olof Lagerkvist
>ICQ: 724451
>Web page: http://here.is/olof
- Next message: Gary: "Internet Explorer & Popup ads"
- Previous message: Aleksandar Dz.: "Creating IPSec tunnels using certificates"
- In reply to: Olof Lagerkvist: "Re: Edit Default User NTUSER.DAT"
- Next in thread: Olof Lagerkvist: "Re: Edit Default User NTUSER.DAT"
- Reply: Olof Lagerkvist: "Re: Edit Default User NTUSER.DAT"
- Reply: Johan: "Re: Edit Default User NTUSER.DAT"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|