Windows API reference
RegDeleteValueW
Deletes a value from a registry key, sometimes to remove evidence.
- Library
- Advapi32.dll
- Category
- Registry
- Suspicion
- medium
- MITRE ATT&CK
- T1112 Modify Registry
Detection summary
RegDeleteValueW maps to Sysmon Event 12 and Microsoft-Windows-Kernel-Registry; these events record the OS effect, not the API call.
- Sysmon: Sysmon Event 12
- ETW: Microsoft-Windows-Kernel-Registry
- Notes: Sysmon Events 12 and 13 record registry key and value changes; ordinary key opens and queries do not. Microsoft-Windows-Kernel-Registry records registry operations at high volume when enabled.
Sources and documentation
- Microsoft Learn documentation (direct documentation)
Not yet human-reviewed. Page metadata generated .
Legitimate use
Every Windows application and installer.
Related APIs
- RegSetValueExW — Advapi32.dll