Export from the NTUSER.DAT using C#

I'm looking for a way to export/import the following registry keys and values using C#
Is there a sample code to do that?
is it possible to export from that while it is locked by the OS?


LVL 3
OrenRozenAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Pratima PharandeConnect With a Mentor Commented:
see if this helps you

http://www.csharphelp.com/2007/01/registry-ins-and-outs-using-c/

I don'yt think is it possible to export from that while it is locked by the OS
0
 
OrenRozenAuthor Commented:
Thanks pratima_mcs:
The link you gave me allow to load and unload the hive file to the registry.
Is there a way to read information from the hive file without loading it?


0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
OrenRozenAuthor Commented:
This is the same link provided by @chandrasekar1 in his comment
This link is only pointing to the usage of the Registry and RegistryKey classes. No mention on NTUSER.DAT.
0
 
Pratima PharandeCommented:
I don't think there is any other way
you need to load the hive and access it

http://stackoverflow.com/questions/2433947/c-api-to-parse-ntuser-dat-registry-file
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.