Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 690
  • Last Modified:

Monitoring and backup the remote machine registry in C#

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
mk_mur
Asked:
mk_mur
1 Solution
 
athapaCEO / CTOCommented:
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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now