[Windows 10] Completely delete files or folders at once ~ Add “Permanently delete” item to Right-click Context menu

By | November 17, 2017

Usually, when deleting a file or folder on Windows File Explorer, the item is not deleted completely, but it moves to the recycle bin by default.

▼ To delete this completely, you must right-click and click 1Empty Recycle Bin item on the Context menu.

[Windows10]Permanently delete

▼  Or, if you want to permanently delete a file in the Recycle Bin, press Delete key.

[Windows10]Permanently delete



▼ Here, without using the cumbersome method above, right-click the files and folders you want to delete as shown below, and you can easily delete it by clicking 1Permanently delete.

[Windows10]Permanently delete

Running the Registry Editor

▼ Press Windows + R keys to open “Run” as follows. Enter 1regedit in the text field, click 2OK button.

[Windows10]Permanently delete files

▼ The User Account Control (UAC) window appears, asking whether you want to allow running the Registry Editor. Click 1Yes button.

[Windows10]Permanently delete files

▼ ”Registry Editor” window opens. Move to the path below.

HKEY_CLASSES_ROOT\AllFilesystemObjects\shell

[Windows10]Permanently delete

Create a new key:Windows.PermanentDelete

▼ First , right-click on 1shell key, and then click 2New > Key to create a new key.

[Windows10]Permanently delete

▼ Rename “New Key #1” to 1Windows.PermanentDelete.

[Windows10]Permanently delete

Creating a new value《1》

Next, create a new value for “Windows.PermanentDelete“.

▼ To create a new value, right-click in the empty space in the right pane of “Windows.PermanentDelete” key and click 1New > String Value.

[Windows10]Permanently delete

▼ Change the name of “New Value #1” to 1CommandStateSync.

[Windows10]Permanently delete

▼ Next, double-click 1CommandStateSync value, and leave the text field of 2Value data” blank. Click 3OK button.

[Windows10]Permanently delete

Creating a new value《2》

▼  Create ExplorerCommandHandler with the new value as above and edit as follows.

[Windows10]Permanently delete

Double-click 1ExplorerCommandHandler value.

Enter 2{E9571AB2-AD92-4ec6-8924-4E5AD33790F5} in the text box of “Value data“, and click 3OK button.



Creating a new value《3》

▼ Continue to create “Icon” with the new value in the same way, and edit as follows.

[Windows10] Permanently delete

Double-click 1Icon value.

After entering 2shell32.dll,-240 in the text box of “Value data“, click 3OK button.

Creating a new value《4》

▼ create a new value “Position” in the same way as above. Rename “New value #1” to “Position” and enter the value below.

[Windows10] Permanently delete

Double-click 1Position value.

Enter 2Bottom in the text box of “Value data“, click 3OK button.

▼ Result, we created four values ​​as shown below.

[Windows10] Permanently delete

Before checking results

In order to check the results, you need to reflect the registry values ​​set up above. Usually, you must restart the PC, or log-out to reflect results, but it is so cumbersome. You can easily reflect it by restarting Windows File Explorer in Task Manager.

Running Task Manager

▼ After starting 1Windows File Explorer, press Shortcut Keys Windows + X keys to open 2Task Manager“.

【Windows10】Permanently delete

▼  Next, right-click on 1Windows File Explorer” on the “Processes” tab, and click 2Restart“. PC will be refreshed momentarily.

【Windows10】Permanently delete

Check your results

▼ In Windows File Explorer, right-click on the file you want to delete. Notice that 1Permanently delete” item has been added.

[Windows10]Permanently delete

▼ When clicking it, you an see the message “Are you sure want to permanently delete this file?” on the “Delete File” window as follows.

A file is deleted when you click 1Yes button.

[Windows10] Permanently delete

▼ When you check Recycle Binafter deleting a file, you will notice that the file deleted above has been deleted completely.

[Windows10] Permanently delete

Leave a Reply

Your email address will not be published.