borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (create icon for desktop:)Next Topic (HTML Page) New Topic New Poll Post Reply
AndreaVB Forum : VB General : Registry/Hive editing
Poster Message
MikeJ
Level: Guest


icon Registry/Hive editing  Archived to Disk

I am trying to edit the default user NTUser.dat so that all new users will inherit the setting I am adding.  I need someone to explain to me how the hives work and how I load the default user hive for editing.  I have a working program that will write to the HKEY_USER.Default part of the registry, but it writes to my profile's NTUser.dat file instead of the Default User's NTUser.dat.  Any help or suggestions would be greatly appreciated.

MJ

31-07-2002 at 11:02 AM
| Quote Reply
RedRock
Level: Guest

icon Re: Registry/Hive editing  Archived to Disk

This pretty much get's right down to it

Microsoft Knowledge Base Article - Q146050

I glazed over the parts about loading profiles from a netword or whatever.

I did try what it said, and it does tell you how to load the hive. Trick is to use "regedt32" and not "regedit".

Anyhow, my NTUser.dat file wasn't where they said it would be (I guess the article wasn't written for Win2k). In Win2k it was at

Cocuments and SettingsDefault UserNTUser.dat

Anyhow. Enjoy.

31-07-2002 at 05:40 PM
| Quote Reply
RedRock
Level: Guest

icon Re: Registry/Hive editing  Archived to Disk

Make that
C:Documents and SettingsDefault User

31-07-2002 at 05:40 PM
| Quote Reply
AndreaVB Forum : VB General : Registry/Hive editing
Previous Topic (create icon for desktop:)Next Topic (HTML Page) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2009 Andrea Tincaniborder