RegistryGuard
RegistryGuard is a C++ utility for monitoring Windows registry entries. It periodically checks specified registry values and triggers a callback if a monitored value deviates from its allowed values. This tool can be helpful for maintaining configurations or tracking unauthorized changes in registry settings.Features
Configurable Monitoring: Define registry entries and allowed values to monitor.
Callback Functionality: Customizable callback when a value changes from its allowed set.
Thread-based Monitoring: Runs in a background thread with adjustable intervals.
Installation
Include
RegistryGuard.hpp and RegistryGuard.cpp in your project, ensuring access to Windows API and Logger.hpp for logging.Usage Example
Explanation
Define Entry: Use
CreateRegistryEntry to configure an entry with a key, subkey, value name, data type, and allowed values.Set Up Callback: The
OnRegistryChange function will be called if the registry value differs from the allowed list.Monitor Entries: Call
Start() to begin monitoring and Stop() to end it.License
This project is licensed under the MIT License. See the LICENSE file for details.
0 likes · 5 views · Sep 2, 2026
Developed RegistryGuard, a C++ tool to monitor Windows registry entries.