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

MajorGeeks.com - What about a nice warm cup of 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


Opera One
Everything
you need.
Already
there.
AI assistant
Aria, built right in
Free VPN
No account needed
Ad blocker
Faster, cleaner web
Tab Islands
Grouped browsing
Useful sidebars
Make it yours
No Clunky Extensions Needed.



MajorGeeks Approved.



Download free

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. K-Lite Mega Codec Pack
5. MusicBee
6. Microsoft Visual C++ 2015-2022 Redistributable Package
7. K-Lite Codec Pack Full
8. Sergei Strelec's WinPE
9. Visual C++ Redistributable Runtimes AIO Repack
10. McAfee Removal Tool (MCPR)
More >>

top reads

Star How Much Storage Space Are Your Installed Apps Using in Windows 11?

Star How To Reset and Fix the Settings App in Windows 11

Star How To Remove the Windows 11 Updated Start Menu

Star How To Download a Windows 11 ISO

Star How To Disable Drag Tray

Star How To Boot Into WinRE (Windows Recovery Environment)

Star How To Find the Installation Date of Apps

Star Recently Opened Files - How To Hide or Show Them In Jump Lists, File Explorer, and Start Menu

Star How To Change the Name of a Local or Microsoft Account

Star How To Remove OneDrive From the Navigation Pane in File Explorer


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

Hop into IObit’s Easter Sale and save up to 90% on top utilities, plus score 3 FREE months before the deal disappears! πŸ°πŸŒ·πŸ†

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-2026 MajorGeeks.com
Powered by Contentteller® Business Edition