Providing Free and Editor Tested Software Downloads
< HOME | TUTORIALS | GEEK-CADE| WEB TOOLS | YOUTUBE | NEWSLETTER | DEALS! | FORUMS | >

MajorGeeks.com - We put the Major in Geeks!

Software Categories

All In One Tweaks
Android
Antivirus & Malware
Appearance
Back Up
Browsers
CD\DVD\Blu-Ray
Covert Ops
Drivers
Drives (SSD, HDD, USB)
Games
Graphics & Photos
Internet Tools
Linux Distros
MajorGeeks Windows Tweaks
Multimedia
Networking
Office & Productivity
System Tools

Other news

· How To and Tutorials
· Life Hacks and Reviews
· Way Off Base
· MajorGeeks Deals
· News
· Off Base
· Reviews




spread the word

· YouTube
· Facebook
· Instagram
· Twitter
· Pintrest
· RSS/XML Feeds
· News Blur
· Yahoo
· Symbaloo

about

· Top Freeware Picks
· Malware Removal
· Geektionary
· Useful Links
· About Us
· Copyright
· Privacy
· Terms of Service
· How to Uninstall

top downloads

1. GS Auto Clicker
2. Smart Defrag
3. Macrium Reflect FREE Edition
4. Sergei Strelec's WinPE
5. MusicBee
6. Visual C++ Redistributable Runtimes AIO Repack
7. Format Factory
8. Mozilla Firefox
9. FlyOobe / Flyby11
10. ImgBurn
More >>

top reads

Star 8 Windows Shortcuts That’ll Make You More Productive and Save You Time

Star Windows 10 Not Dead Yet - You Can Still Get Updates For Free

Star What is a '400 Bad Request - Request Header or Cookie Too Large' Error and How to Fix It

Star How to Fix Windows Install Error 0xC1900101

Star How to Force Enable Windows 10 Extended Security Updates If The Option Is Not Showing

Star Windows 11 25H2 is Out: What’s New and How to Get It Now.

Star Star Trek Fleet Command Promo Codes: Redeem Codes for Free Shards, Blueprints And Resources

Star Boost Your PC Speed with ReadyBoost: How a Thumb Drive Can Enhance Your System's Performance

Star 5 Hidden Windows Tools You’ve Had All Along But Never Use

Star Use the Windows 10 Media Creation Tool Before Support Ends For Windows 10 in 2025


MajorGeeks.Com » Overview» Tutorials and Video Guides » How to Securely Delete Files in Windows 10 With PowerShell and Cipher

How to Securely Delete Files in Windows 10 With PowerShell and Cipher

By Timothy Tibbetts

on 06/15/2023

🎃🧟‍♂️👻 IObit’s Spooktacular Halloween Sale! IObit Halloween Sale: 90% OFF + Mystery Treat 🍬
Experience faster surfing, smarter security, and total privacy with IObit Pro!

Most Windows users know when you delete a file that it's not truly "gone." Deleted files initially go to the recycle bin, and once removed from there, they can be recovered from your hard drive assuming the data hasn't been overwritten. Windows has a little-known utility that can securely wipe free space, including files, folders, or your entire drive. Here's how to use it.

We can accomplish this using Cipher with Windows PowerShell because while Cipher does not have a graphical user interface, it is still easy for anyone to use.

Press the Windows Key + S and begin typing PowerShell, then right-click on Windows PowerShell and Run as Administrator.

You can securely delete all free space on your hard drive by typing in cipher /w:C:.



This command will only securely wipe all free space that has deleted files. It will not touch any other files on your drive, so it's safe. It is also the easiest and fastest command to wipe all deleted files securely.

If there's one downside, Cipher is very slow. A large hard drive could take all night (or all day if you're a vampire), and even secure deleting a single folder can take a half-hour or more.

For example, let's say you wanted to securely wipe all deleted files from Documents.

In this case, we would type Cipher /w:C:UsersUsernameDocuments, where 'Username' is replaced with your username.

If you don't know the full path, open File Explorer, This PC, Local Disk (C :), and find the folder you want to wipe securely. In the screenshot below, we navigated to our Documents folder, right-clicked near the last word (Documents), and selected Copy address as text.



That gave me C:UsersTimDocuments. Now I type in Cipher /w: and paste C:UsersTimDocuments followed by pressing Enter. You can use this for Photos, Downloads, Videos, or any folder you like.



Sometimes Cipher will leave behind a folder and files called EFSTMPWP. What Is the EFSTMPWP Folder and Can You Delete It?.

That's it!

Similar:
Best Drive Cleaner? CCleaner VS Wise Disk Cleaner VS PrivaZer
How to Use Storage Sense to Delete Junk Files in Windows 10 Automatically
How to Securely Delete Files in Windows 10 With PowerShell and Cipher
Remove Windows 10, 8 and 8.1 Built-In Apps Using PowerShell
How to Check If Your Hard Drive Is SSD or HDD
How-to Manage Startup Apps in Windows 10

comments powered by Disqus




© 2000-2025 MajorGeeks.com
Powered by Contentteller® Business Edition