Solved

Monitoring and backup the remote machine registry in C#

Posted on 2006-06-26
1
672 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

831 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