Jump to content

Recuva command line to securely delete any files it finds?


rjo98

Recommended Posts

Is there a switch/option to use with recuva from a command line that will just have it do a scan for files then securely delete whatever ones it finds? or even if it just caused the program to run and delete all files it finds according to whatever the settings are set to in the program already, that would work too.

Link to comment
Share on other sites

  • Moderators

The only command line switch Recuva has is the one shown here ...

 

http://www.piriform.com/docs/recuva/advanced-usage/command-line-parameters

 

... but have you thought of simply carrying out a "Wipe Free Space" with CCleaner, using a one pass secure delete?

 

http://www.piriform.com/docs/ccleaner/using-ccleaner/wiping-free-disk-space

Link to comment
Share on other sites

  • 2 weeks later...
  • Moderators

You could run Wipe Free Space on it's own via command line, but it would need to be done via a pretty easy workaround, and as far as I'm aware this wouldn't be doing anything to contravene CCleaner's Terms and Conditions.

 

If you already have CCleaner installed, then you would need to make a second install to a differently named folder, for example "CCleaner2". You could actually just download and locate the portable version into an alternative folder.

 

You could then open CCleaner from that new folder and then right click the "Windows" heading and "uncheck all" ...

 

 

 

Do the same with the "Applications" section ...

 

 

 

Now select just the "Wipe Free Space" box in "Windows\Advanced" ...

 

 

 

and then choose the drive and deletion method in "Options\Settings".

 

That's it. Now just set up your command line parameter to run CCleaner.exe located in the "CCleaner2" folder, and all that will run is Wipe Free Space.

 

Command-line parameters for CCleaner operation

There are three parameters you can use when running CCleaner, as follows. You can use them in batch files, scripting, shortcuts, or the Task Scheduler to automate CCleaner operation. For example, you could set CCleaner to run automatically every day at 3:00am.

 

http://www.piriform....line-parameters

 

If you try using CCleaners "Tools\Drive Wiper" to do this it won't work as that feature is ran independently of the normal cleaning functions.

 

I would also add, that WFS isn't something recommended to be ran on a regular basis, although that's the users choice of course.

 

Hope that helps.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.