How jackiezheng/watermarkservice works
ExplorerWatermarkService is a Windows service that reapplies a reversible in-memory watermark patch whenever Explorer restarts. Its main workflow monitors Explorer, enters a guarded execution path, prepares and validates the target RVA, runs the original patching executable, and verifies the result when needed. Other documented capabilities include installation, status checks, and manual execution. Several scripts are not sampled, so their connections are shown only where the README documents them.
Main entry points: run-watermark-guarded.ps1 Execution guard · prewarm-rva.py RVA prewarmer · monitor.ps1 Restart monitor · clear-watermark.cmd Command entry
Components 18
Monitoring and Control
- Restart monitor
bin/monitor.ps1 - Runtime config
bin/config.json - Command entry
bin/clear-watermark.cmd - Execution guard
bin/run-watermark-guarded.ps1
RVA Preparation
- RVA prewarmer
bin/prewarm-rva.py - Profile cache
- Microsoft symbol server
- WinbIndex
- Symbol probe fallback
bin/check-symbols.ps1
Injection and Verification
- Watermark patcher
tools/ClearWinWatermark.exe - Memory verifier
bin/verify-inject.py
Service Operations
- Status check
bin/status.ps1 - Manual run
bin/RunManual.ps1 - Service installer
install.bat - Service uninstaller
uninstall.bat - NSSM service manager
tools/nssm.exe
Other components
- Explorer process
- Desktop watermark
Connections 18
- Restart monitor → Explorer process: monitors restarts
README.md - Restart monitor → Runtime config: reads settings
README.md - Restart monitor → Command entry: invokes target
README.md - Command entry → Execution guard: forwards execution
README.md - Execution guard → RVA prewarmer: checks and prepares
README.md - RVA prewarmer → Profile cache: seeds from cache
README.md - RVA prewarmer → Microsoft symbol server: fetches PDB
README.md - RVA prewarmer → WinbIndex: finds reference builds
README.md - Execution guard → Symbol probe fallback: uses if Python unavailable
README.md - Execution guard → Watermark patcher: runs patcher
README.md - Execution guard → Memory verifier: checks failed run
README.md - Memory verifier → Explorer process: reads process memory
README.md - Watermark patcher → Explorer process: patches process memory
README.md - Explorer process → Desktop watermark: stops drawing
README.md - Manual run → Execution guard: runs guarded path
README.md - Status check → RVA prewarmer: checks cache
README.md - Service installer → NSSM service manager: registers service
README.md - Service uninstaller → NSSM service manager: removes service
README.md