Can I be aleted when the registry is changed?

  • Thread starter Thread starter Hank Arnold
  • Start date Start date
H

Hank Arnold

I have a situation where a user can inadvertently change a registry key. A
program we use has a cache directory that it uses. The directory can't be
shared. The location of that directory is in the registry key. Each user
automatically has a drive & location defined that matched the registry
entry. Occasionally, though, for some reason, that drive is not assigned and
the program prompts them for a replacement. It's usually the C:\ drive and
that's bad since once that is changed, only one person can run the program
at a time.

I have a .reg file that I set up to run every 5 minutes and it will import
the necessary changes. I would, though, like to be able to get an alert sent
to me if that specific registry entry is changed.

Any ideas?

Thanks,
Hank Arnold
 
Something like this may work.

http://www.microsoft.com/technet/community/scriptcenter/registry/scrreg13.mspx

http://www.freevbcode.com/ShowCode.asp?ID=2229

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect


:
|I have a situation where a user can inadvertently change a registry key. A
| program we use has a cache directory that it uses. The directory can't be
| shared. The location of that directory is in the registry key. Each user
| automatically has a drive & location defined that matched the registry
| entry. Occasionally, though, for some reason, that drive is not assigned
and
| the program prompts them for a replacement. It's usually the C:\ drive and
| that's bad since once that is changed, only one person can run the program
| at a time.
|
| I have a .reg file that I set up to run every 5 minutes and it will import
| the necessary changes. I would, though, like to be able to get an alert
sent
| to me if that specific registry entry is changed.
|
| Any ideas?
|
| Thanks,
| Hank Arnold
|
|
 
Back
Top