Solved

Export from the NTUSER.DAT using C#

Posted on 2011-09-18
6
1,035 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

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
Tutorials alone can't teach real engineering

So we built better training tools.

-Hands-on Labs
-Instructor Mentoring
-Scenario-Based Tests
-Dedicated Cloud Servers

All at your fingertips. What are you waiting for?

 
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

Is Your DevOps Pipeline Leaking?

Is your CI/CD pipeline a hodge-podge of randomly connected tools? You’ve likely got a tool to fix one problem & then a different tool to fix another, resulting in a cluster of tools with overlapping functionality. Learn how to optimize your pipeline with Gartner's recommendations

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

726 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