{"id":19175,"date":"2022-11-14T06:55:05","date_gmt":"2022-11-14T06:55:05","guid":{"rendered":"https:\/\/www.top-password.com\/blog\/?p=19175"},"modified":"2022-11-14T06:55:05","modified_gmt":"2022-11-14T06:55:05","slug":"add-context-menu-to-permanently-delete-files-in-windows","status":"publish","type":"post","link":"https:\/\/www.top-password.com\/blog\/add-context-menu-to-permanently-delete-files-in-windows\/","title":{"rendered":"Add a Context Menu to Permanently Delete Files in Windows 11 \/ 10"},"content":{"rendered":"<p>When you right-click a file and select <strong>Delete<\/strong>, or press the <strong>Delete<\/strong> key on the keyboard, Windows will move the file to the Recycle Bin by default. To permanently delete that file, you have to empty the Recycle Bin. In this tutorial we&#8217;ll show you how to add &#8220;<strong>Permanently delete<\/strong>&#8221; to context menu in Windows 11 \/ 10, which can help you permanently delete files without sending them to Recycle Bin.<\/p>\n<p><strong>How to Add a Context Menu to Permanently Delete Files in Windows 11 \/ 10<\/strong><\/p>\n<ol>\n<li><a href=\"https:\/\/www.top-password.com\/blog\/6-ways-to-open-registry-editor-in-windows-10\/\">Open Registry Editor<\/a> and navigate to the location: <code>HKEY_CLASSES_ROOT\\AllFilesystemObjects\\shell<\/code>. In the left sidebar, right-click the <strong>shell<\/strong> key and select <strong>New<\/strong> -&gt; <strong>Key<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/new-key-1.png\" alt=\"\" width=\"550\" height=\"327\" class=\"alignnone size-full wp-image-19180\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/new-key-1.png 550w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/new-key-1-300x178.png 300w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/>\n<\/li>\n<li>Name the new key <strong>Windows.PermanentDelete<\/strong> and select it. In the right pane, right-click the blank area and choose <strong>New<\/strong> -&gt; <strong>String Value<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/windows-permanent-delete.png\" alt=\"\" width=\"597\" height=\"297\" class=\"alignnone size-full wp-image-19181\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/windows-permanent-delete.png 597w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/windows-permanent-delete-300x149.png 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/>\n<\/li>\n<li>Name the new DWORD <strong>ExplorerCommandHandler<\/strong>, and then double-click it and set its value data to <strong>{E9571AB2-AD92-4ec6-8924-4E5AD33790F5}<\/strong>.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/explorer-command-handler.png\" alt=\"\" width=\"597\" height=\"336\" class=\"alignnone size-full wp-image-19182\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/explorer-command-handler.png 597w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/explorer-command-handler-300x169.png 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/>\n<\/li>\n<li>Use the same method to create another three different string values: <strong>Icon<\/strong>, <strong>Position<\/strong> and <strong>CommandStateSync<\/strong>. Set the value data of <strong>Icon<\/strong> to <strong>shell32.dll,-240<\/strong>. The value data of <strong>Position<\/strong> could be <strong>Top<\/strong> or <strong>Bottom<\/strong>, while leaving the value data of <strong>CommandStateSync<\/strong> to be empty.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/command-state-sync.png\" alt=\"\" width=\"597\" height=\"220\" class=\"alignnone size-full wp-image-19183\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/command-state-sync.png 597w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/command-state-sync-300x111.png 300w\" sizes=\"auto, (max-width: 597px) 100vw, 597px\" \/>\n<\/li>\n<li>Close Registry Editor. When you right-click any folder or file, you&#8217;ll see the &#8220;<strong>Permanently delete<\/strong>&#8221; option appear in the top or bottom of the context menu.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/permanently-delete-context-menu.png\" alt=\"\" width=\"383\" height=\"400\" class=\"alignnone size-full wp-image-19184\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/permanently-delete-context-menu.png 383w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/permanently-delete-context-menu-287x300.png 287w\" sizes=\"auto, (max-width: 383px) 100vw, 383px\" \/>\n<\/li>\n<li>When you click the &#8220;<strong>Permanently delete<\/strong>&#8221; option, a pop-up dialog will ask you to confirm before permanently deleting your chosen folder or file.\n<p><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/confirm-to-permanently-delete-files.png\" alt=\"\" width=\"482\" height=\"242\" class=\"alignnone size-full wp-image-19185\" srcset=\"https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/confirm-to-permanently-delete-files.png 482w, https:\/\/www.top-password.com\/blog\/wp-content\/uploads\/2022\/11\/confirm-to-permanently-delete-files-300x151.png 300w\" sizes=\"auto, (max-width: 482px) 100vw, 482px\" \/>\n<\/li>\n<\/ol>\n<p>That&#8217;s it!<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>When you right-click a file and select Delete, or press the Delete key on the keyboard, Windows will move the file to the Recycle Bin by default. To permanently delete that file, you have to empty the Recycle Bin. In this tutorial we&#8217;ll show you how to add &#8220;Permanently delete&#8221; to context menu in Windows [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1,10,1894,4713],"tags":[5052,5053,5054],"class_list":["post-19175","post","type-post","status-publish","format-standard","hentry","category-others","category-tips-tricks","category-windows-10","category-windows-11","tag-add-permanently-delete-context-menu-windows-10","tag-add-permanently-delete-context-menu-windows-11","tag-permanently-delete-files-in-windows"],"_links":{"self":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/19175","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/comments?post=19175"}],"version-history":[{"count":9,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/19175\/revisions"}],"predecessor-version":[{"id":19190,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/posts\/19175\/revisions\/19190"}],"wp:attachment":[{"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/media?parent=19175"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/categories?post=19175"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.top-password.com\/blog\/wp-json\/wp\/v2\/tags?post=19175"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}