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

22 Mar 2015   #80
Brink

64-bit Windows 10 Pro
 
 

Quote   Quote: Originally Posted by soewhaty View Post
Can we please make it somehow so that deleting a shortcut with 'Permanent delete' deletes only the shortcut itself and NOT the actual file?
Hello soewhaty,

I'm afraid for that, you'll need to use the Recycle Bin instead.

Recycle Bin - Permanently Delete Items Automatically


My System SpecsSystem Spec
.
22 Mar 2015   #81
soewhaty

Win 7 x64
 
 

Wait a minute. I got even more confused now. I know full well that deleting a file with Shift+delete deletes the file without placing it in the recycle bin. But I thought that Shift+delete only deletes a file in a way that the file is only marked as ... let's call it 'hidden' (deleted) for the Operating System so that the Operating System itself does not display the file any longer, but the file is still there .. on the drive ... hiding, until the moment another file overwrites it [takes its place] and at that point the initial file is gone for good. I've deleted tons of files by mistake with shift+del and immediately after the mistake [without moving, copying or deleting and further data on the drive] have used 3rd party tools so as to undeleted/restore the initially shift+deleted file. It has always worked. And so .. i thought the whole point of this thread was that adding this context menu to the right-click deletes the file directly and FOREVER, without giving you the possibility to restore the file with any 3rd party tool. IS THAT CORRECT OR NOT? I though it was. That was my knowledge and understanding until I read this and got confused:

Hello soewhaty,

I'm afraid for that, you'll need to use the Recycle Bin instead.

Recycle Bin - Permanently Delete Items Automatically


Brink, when I read your comment and the link to the other forum I got confused. Is all I wrote in the first paragraph of this comment of mine correct and especially the part on what adding the right-click context menu does?
My System SpecsSystem Spec
22 Mar 2015   #82
Brink

64-bit Windows 10 Pro
 
 

This tutorial doesn't use the same method that Windows uses to bypass the Recycle Bin to permanently delete files.

Instead, Option One uses a 3rd party program to permanently delete with an option to secure erase. Secure erase is what will prevent recovery. Option Two uses a script to permanently delete a file.

The only drawback is the issue of these options is when you permanently delete a shortcut, it will delete it's target (source) file. That's why I suggested to use the Recycle Bin option I posted above for when you want to only permanently delete a shortcut and not it's target.
My System SpecsSystem Spec
22 Mar 2015   #83
soewhaty

Win 7 x64
 
 

Alright, well ... how about this strategy then - I am planning on using option 1 which includes Secure Erase, and when it comes to shortcuts I will not delete them with the right-click context menu add-on [from this forum] but instead will Shift+delete them, which as far as I see deletes ONLY the shortcut and not the source file [obviously shift-deleting a shortcut does NOT perform a secure erase of the shortcut itself, but I can live with that]. With this strategy I can Secure Erase all desired data by using the right-click menu, and in the same time make sure I only delete shortcuts and not their targets by shift-deleting them. Do you approve of that?

Could you please tell me quickly what the benefits are of deleting unneeded files with Secure Erase? Clearly, as we said, Secure Eelete deletes a file beyond recovery. But is it better performance-wise to do a secure erase of unneeded files so as to eliminate clutter on my SSD or does it not matter whether a file is deleted with Secure Erase or simply with Shift+Del?
My System SpecsSystem Spec
.

22 Mar 2015   #84
Brink

64-bit Windows 10 Pro
 
 

That strategy should work well for what you wanted.

There's no other benefit for using secure erase other than to make it less than likely to be able recover the file.

Deleting with Shift+Del will only mark the file as deleted, does not secure erase it, and doesn't put it in the Recycle Bin. If something should write over the space the marked deleted file is using (ex: new file saved there), then it will not be able to be recovered.

As far as it mattering, it just depends on if you needed the file to be secured erase or not.
My System SpecsSystem Spec
22 Mar 2015   #85
soewhaty

Win 7 x64
 
 

So ... no other benefits of doing a secure erase then. One would only Secure Erase a file so as to make sure that for example an intruder for example would never be able to recover a file and thereby disclose its content ... so it's a safety measure in a way.

I thought it was actually healthy for an hdd or ssd to do a secure erase of files instead of just shift+deleting them. Тhought Secure Erase eliminates some clutter and/or makes the drive read/write faster, but if I understand you correct that is not the case.
My System SpecsSystem Spec
22 Mar 2015   #86
Brink

64-bit Windows 10 Pro
 
 

Nope, that's not the case.

Windows version of permanently delete is to just not have the file go into the Recycle Bin. Otherwise, it's the same only mark the file as deleted on the drive so that it's space can be used to write data to again.

Secure erase will mark the file as deleted, but it also overwrites the data on the drive. Each time it overwrites the data is called a pass. The more passes the less likely the data can be recovered. This is the main reason why secure erase takes much longer than a simple delete. For example, a quick format versus a full format.

Defragging a HDD as needed will help keep it healthy though.
My System SpecsSystem Spec
04 Apr 2015   #87
Brink

64-bit Windows 10 Pro
 
 

Tutorial had been updated with a better working option. This is thanks to our valued member Pyprohly for writing the .js file.
My System SpecsSystem Spec
04 Apr 2015   #88
apb

win 7 pro x64
 
 

Please tell us what the behavior of that method is when it comes to deleting shortcuts? Or, for that matter, junctions and file symlinks?
My System SpecsSystem Spec
04 Apr 2015   #89
Brink

64-bit Windows 10 Pro
 
 

Hello apb,

It will only permanently delete the actual selected file(s). If you select to delete a shortcut, it will only delete the shortcut and not the target. Same with junction points and symbolic links.
My System SpecsSystem Spec
Reply

 Permanently Delete - Add to Context Menu




Thread Tools




Similar help and support threads
Thread Forum
Making another delete menu in the context menu?
I use 64bit windows 7. I want to make another delete menu in the context menu(right click menu). Its function should be exactly the same as preexsiting delete, but its name is 'xdelete'. So one can press X (instead of D) to delete files or folders. I found a helpful document:...
Customization
Delete context menu item
This is kind of baffling to me, but I can't find where to delete a context menu item that appeared when I installed some program on my HTPC (Windows 7 Ultimate x64). It's not there when I right-click on a file or on a folder. It's there when I right-click the desktop. ...
General Discussion
Cant delete programs from context menu
I AM AT KEY HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers WHICH SHOW THIS LIST>>>> i go into the list and delete the iteams i dont want on my contect menu and after restart they are still there. can some one help i have tryed all these reg keys and nuthing seem's to work. someone please point...
Customization
Delete specific context menu entries
Hi all, I have noticed that there is some very annoying context menu entries when you select to rename text within a filename. For example, right to left reading order and open IME. I was wondering how I could remove these as I really dont want them there. Attachement included to show ...
Customization
I want, delete background in context menu
is that posible????? Thanks
Customization
delete invalid context menu heading
Hi everyone, i am new to the forum and looking for a bit of help. when i right click on the recyle bin in windows 7, i get an option to shred with pc optimizer pro which is a programme i no longer have on my pc. Can anyone tell me how i get rid of this from the context menu? thanks in advance...
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 09:51.
Twitter Facebook Google+ Seven Forums iOS App Seven Forums Android App