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

MajorGeeks.com - We put the eek back in Geek.

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. Macrium Reflect FREE Edition
3. Smart Defrag
4. K-Lite Mega Codec Pack
5. Visual C++ Runtime Installer (All-In-One)
6. Microsoft Visual C++ 2015-2022 Redistributable Package
7. Visual C++ Redistributable Runtimes AIO Repack
8. MusicBee
9. McAfee Removal Tool (MCPR)
10. Sergei Strelec's WinPE
More >>

top reads

Star How to Disable 1-Click Ordering on Amazon (and Avoid Surprise Charges)

Star How to Fix Shallow Paint Layer Depth in Bambu Studio

Star Fastest Payout Online Casino USA (2025) | Real Money Wins

Star Aviator Betting Game Secrets: Unlock 97% RTP & Triple Your Wins

Star Windows Recall: What It Is, Why Hackers Will Love It, and How to Stay Safe

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

Star Best Apple Pay Casinos USA 2025 – Top Apple Pay Sites

Star How To Use VLC Media Player to Trim Video Clips

Star What Is the $WinREAgent Folder and Can I Delete It?

Star Swear Your Way to Better Search Results


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

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