Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re: Monitoring Windows Registry Changes

by joefission (Monk)
on Aug 03, 2001 at 17:39 UTC ( #101974=note: print w/replies, xml ) Need Help??


in reply to Monitoring Windows Registry Changes

Depends on what depth you need to monitor. Do you need to know if there was a change? Do you need to know what the change was?

I'd play with Win32::TieRegistry, especially the

$key->RegNotifyChangeKeyValue( $bWatchSubtree, $iNotifyFilter, $hEvent, $bAsync );

section.

You could also turn Auditing on the registry and montitor the Event Logs, hopefully leveraging any existing Event Log Security monitoring you may have (using Win32::EventLog, of course :)

c-era has good suggestions. The only thing I can add is you could run the monitor via mstask (scheduler).

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://101974]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (8)
As of 2020-06-03 10:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?



    Results (22 votes). Check out past polls.

    Notices?