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

mk_murAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
C#

From novice to tech pro — start learning today.