On a regular Hard Drive a secure delete of a file is possible by overwriting it, does simply overwriting the registry key is enough to secure delete the key ?If not how I can proceed to secure delete my registry key ?
Secure delete a registry key
security;windows;windows registry
It is very difficult to securely delete something from the registry:  the registry hives are synchronized with persistent filesthese hives may be subject to logging, so that overwriting a value is not necessary sufficientif the hive files are on an SSD, then it will anywaybe very difficult to remove every trace from the old value in addition the hive file is organized in bins and cells, which are managed somewhat like a free-store (e.g. if you write a new value with a larger data content, it could be written in another location, and the old value is still in its old place.  In the forensic wiki, there is an article about the registry structure . You'll find in the bibliography an article about recovering past values which demonstrates that it is extremely difficult to securely delete such registry keys. So don't store there sensitive data.  Or if you have to, encrypt the value.  