Solved

Export from the NTUSER.DAT using C#

Posted on 2011-09-18
6
999 Views
Last Modified: 2013-12-17
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?


0
Comment
Question by:OrenRozen
  • 3
  • 2
6 Comments
 
LVL 39

Accepted Solution

by:
Pratima Pharande earned 500 total points
ID: 36558405
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
 
LVL 3

Expert Comment

by:chandrasekar1
ID: 36558477
0
 
LVL 3

Author Comment

by:OrenRozen
ID: 36558617
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 39

Expert Comment

by:Pratima Pharande
ID: 36558938
0
 
LVL 3

Author Comment

by:OrenRozen
ID: 36558955
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
 
LVL 39

Expert Comment

by:Pratima Pharande
ID: 36558967
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

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now