?
Solved

Export from the NTUSER.DAT using C#

Posted on 2011-09-18
6
Medium Priority
?
1,058 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 2000 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
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
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

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
This document covers how to connect to SQL Server and browse its contents.  It is meant for those new to Visual Studio and/or working with Microsoft SQL Server.  It is not a guide to building SQL Server database connections in your code.  This is mo…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

762 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