Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Permanently Delete - Add to Context Menu

Permanently Delete - Add to Context Menu

How to Add "Permanently Delete" to Context Menu of Files and Folders in Windows
Published by Brink
25 Jun 2011
Published by

How to Add "Permanently Delete" to Context Menu of Files and Folders in Windows


information   Information
This will allow you to add or remove Permanently Delete from the context menu of files and folders in XP, Vista, Windows 7, and Windows 8 to either delete or secure delete them to bypass the Recycle Bin.

This could also be handy if you did not want to set the Recycle Bin to permanently delete files so that you can Delete some files to the Recycle Bin, and others Permanently Delete with this context menu item.

You must be logged in as an administrator to be able to do this tutorial.

Note   Note
If you click on Permanently Delete for a blocked file that you downloaded or copied over from an external location, then you will need to click on Run in the Open File Security Warning dialog box before it will actually be deleted.

Name:  Unblocked.jpg
Views: 4275
Size:  56.3 KB

Tip   Tip
If you select more than 15 items to permanently delete, this context menu will not be displayed unless you set the context menu to show items when more than 15 items are selected.

Sometimes if you permanently delete a folder with subfolders, you may need to refresh (F5) or permanently delete the folder more than once. First time deletes the contents of all subfolders, and second time deletes the folders.

warning   Warning
When you right click on a shortcut and click on "Permanently Delete", it's the target (source file) of the shortcut that gets deleted, and not the shortcut itself. Deleting the shortcut a second time will also delete the shortcut itself.


EXAMPLE: "Permanently Delete" in the Context Menu of Files and Folders
Name:  Files.jpg
Views: 4254
Size:  39.7 KBName:  Folders.jpg
Views: 4255
Size:  42.5 KB



OPTION ONE
To add or remove "Permantently Delete" with Secure Erase

Note   Note
The first time that you click on Permanently Delete you will need to click on the EULA Agree button for SDelete. You will only need to do this once.

Name:  Step1.jpg
Views: 4277
Size:  69.8 KB

When used this will immediately permanently secure delete the file or folder that you right clicked on bypassing the Recycle Bin, and does 1 or 7 overwrite passes to help make sure the current version of the deleted file or folder is unrecoverable.

1. Do step 2 or 3 below for what you would like to do.

2. To Add "Permanently Delete" to Context Menu
A) Download SDelete, save it to your Desktop, open the downloaded SDelete.zip file, extract (drag and drop) the sdelete.exe to your desktop.
B) Unblock the extracted sdelete.exe file.
C) Copy and paste the unblocked sdelete.exe file into the C:\Windows\System32 folder, then click/tap on Continue and Yes to approve copying it there.

D) Click/tap on either Download button below to download the file below for how many overwrite passes you want with secure delete, and go to step 4 below.
NOTE: Either download option will automatically replace the other.
Add_1_Pass_Permanently_Delete_to_Context_Menu.reg
download

OR

Add_7_Pass_Permanently_Delete_to_Context_Menu.reg

download
3. To Remove "Permanently Delete" from Context Menu
NOTE: This is the default setting.
A) Click/tap on the Download button below to download the file below, and go to step 4 below.
Remove_Permanently_Delete_from_Context_Menu.reg
download
4. Save the REG file to your desktop.

5. Double click/tap on the REG file to merge it.

6. If prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

7. When done, you can delete the downloaded .reg file if you like.



OPTION TWO
To add or remove "Permantently Delete" without Secure Erase

Note   Note
Special thanks to our member etb for providing the .vbs script for this option in his post here so as not to have to use a 3rd party program to do this.

When used this will immediately permanently delete the file or folder that you right clicked on bypassing the Recycle Bin.

Normally, you could select the files and/or folders that you want to permanently delete without them going into the Recycle Bin, press the Shift+Delete keys, and click on Yes when prompted to do so. This does not secure erase them like in OPTION ONE above though.

1. Do step 2 or 3 below for what you would like to do.

2. Add "Permanently Delete" to Context Menu with/without Confirmation
A) Click on the Download button below to download the option you want, and save it to your desktop.
Permantly-Delete.zip
download

OR
Permantly-Delete_with_Confirmation.zip
download

Name:  confirmation.jpg
Views: 4183
Size:  18.5 KB
B) Open the downloaded ZIP file, and extract (drag and drop) the Permantly-Delete.reg and Permantly-Delete.vbs file to your desktop.

C) Right click on the extracted Permantly-Delete.vbs file, click on Properties, General tab, and on the Unblock button.
NOTE: If you do not have a Unblock button under the General tab, then the file is already unblocked and you can continue on to step 1D.

D) Copy and paste the unblocked Permantly-Delete.vbs file into the C:\Windows\System32 folder, then click on Continue and Yes to approve copying it there.

E) Double click on the extracted Permantly-Delete.reg file to merge it, and click on Run, Yes, Yes, and OK when prompted to approve the merge.

F) Go to step 4.
3. To Remove "Permanently Delete" from Context Menu
NOTE: This is the default setting.
A) Click on the Download button below to download the file below.
Remove_Permanently_Delete_from_Context_Menu.reg
download
B) Save the REG file to your desktop.

C) Double click/tap on the REG file to merge it.

D) If prompted, click/tap on Run, Yes (UAC), Yes, and OK to approve the merge.

E) In Windows Explorer, navigate to the C:\Windows\System32 folder, delete the Permantly-Delete.vbs file, and approve to delete.

F) Go to step 4.
4. When done, you can delete the downloaded .reg and/or .zip files if you like.
That's it,
Shawn










25 Jun 2011   #1
derekimo

Microsoft Community Contributor Award Recipient

Windows 7 Pro 64 SP1
 
 

Cool, I like that Shawn.


My System SpecsSystem Spec
25 Jun 2011   #2
Bare Foot Kid
Microsoft MVP

W 7 64-bit Ultimate
 
 

I liker this one mate, well done!
My System SpecsSystem Spec
25 Jun 2011   #3
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Thank you guys.
My System SpecsSystem Spec
.


25 Jun 2011   #4
whs
Microsoft MVP

Vista, Windows7, Mint Mate, Zorin, Windows 8
 
 

Nice tut Shawn, But I would not use it - I would probably loose half of my stuff, LOL.
My System SpecsSystem Spec
25 Jun 2011   #5
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

LOL, yeah it's not one you would want to click on by mistake.
My System SpecsSystem Spec
26 Jun 2011   #6
bagavan

Windows 8 Professional x64
 
 

nice one shawn
My System SpecsSystem Spec
26 Jun 2011   #7
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Thank you Bagavan.

Added where it does 11 ovewrite passes as well for a more secure deletion.
My System SpecsSystem Spec
27 Jun 2011   #8
Keyoung59

Windows 7 Ultimate x64-bit SP1
 
 
Thanks...

Thanks great post as always hope you come out with some more.
My System SpecsSystem Spec
27 Jun 2011   #9
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Kevin. I shall do my best to do so.
My System SpecsSystem Spec
Comment

 Permanently Delete - Add to Context Menu




Tutorial Tools



Similar help and support threads for2: Permanently Delete - Add to Context Menu
Windows 7 Tutorial Category
Solved Cant delete programs from context menu Customization
Delete, Add, Enable and Disable Context Menu Items: Utilities Software
Add Delete to Recycle Bin to Context Menu on Folder Space Customization
Delete specific context menu entries Customization
Solved Unable to delete EDIT item in context menu Customization
I want, delete background in context menu Customization
delete invalid context menu heading General Discussion

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 08:05 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33