Solved

Monitoring and backup the remote machine registry in C#

Posted on 2006-06-26
1
671 Views
Last Modified: 2008-01-09
hi

     I want to develop a software, which is to monitor the installation and uninstalltion of software on the network, When the user try to install the software or uninstall the software it must capture the details regarding the, user name,date of installed, name of the software.

My idea is
          Using Win32 API RegNotifyChangeKeyValue
         Monitor the registry chages then backup the registry if any changes in the registry and find the changed value.

It is possible to monitor the remote machine registry. if possible means how to monitor the remote machine and backup the registry.

thanks and regards

mk_mur

0
Comment
Question by:mk_mur
1 Comment
 
LVL 10

Accepted Solution

by:
athapa earned 125 total points
ID: 16991764
You could create a service and install on all machines which would store the changes. If needed you connect to them remotely and get the events.

This article has info on using RegNotifyChangeKeyValue. However it does not talk about getting the values changed. It only talk about the event.
http://www.codeproject.com/csharp/registrymonitor.asp?df=100&forumid=16139&select=1550463&msg=1550463

You could take a sanpshot of the registry (not all but what you care about) and then later compare with the changes.

AT
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This article introduced a TextBox that supports transparent background.   Introduction TextBox is the most widely used control component in GUI design. Most GUI controls do not support transparent background and more or less do not have the…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

896 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