Skip to content

Instantly share code, notes, and snippets.

@stefanmm
Created March 16, 2023 13:11
Show Gist options
  • Save stefanmm/21a14c4dcf7c44b2e4ce017e82e6198a to your computer and use it in GitHub Desktop.
Save stefanmm/21a14c4dcf7c44b2e4ce017e82e6198a to your computer and use it in GitHub Desktop.
Windows Registry Editor Version 5.00
; Created by: Shawn Brink
; Created on: December 28th 2018
; Tutorial: https://www.tenforums.com/tutorials/124286-add-secure-delete-context-menu-windows-10-a.html
[HKEY_CLASSES_ROOT\*\shell\SecureDelete]
@="Secure Delete"
"NoWorkingDirectory"=""
"Position"="bottom"
"Icon"="imageres.dll,-5320"
[HKEY_CLASSES_ROOT\*\shell\SecureDelete\command]
@="sdelete -p 3 \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\SecureDelete]
@="Secure Delete"
"AppliesTo"="NOT (System.ItemPathDisplay:=\"C:\\Users\" OR System.ItemPathDisplay:=\"C:\\ProgramData\" OR System.ItemPathDisplay:=\"C:\\Windows\" OR System.ItemPathDisplay:=\"C:\\Windows.old\" OR System.ItemPathDisplay:=\"C:\\Windows\\System32\" OR System.ItemPathDisplay:=\"C:\\Program Files\" OR System.ItemPathDisplay:=\"C:\\Program Files (x86)\")"
"NoWorkingDirectory"=""
"Position"="bottom"
"Icon"="imageres.dll,-5320"
[HKEY_CLASSES_ROOT\Directory\shell\SecureDelete\command]
@="sdelete -p 3 -s \"%1\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment