Most advice on how to password protect files from deletion in Windows 11 either points you at third-party software that costs money, or suggests steps that don't actually block anything. Here's the reality: Windows 11 has no built-in pop-up that asks for a password when you hit Delete. Never has. But there are proper, built-in mechanisms that achieve the same outcome, and they work reliably once you understand which tool fits which situation.
TL;DR
To password protect files from deletion in Windows 11, use NTFS Deny Delete permissions for quick protection, BitLocker or EFS encryption for access-level security, or icacls in Command Prompt for bulk folder lockdown. None of these show a password prompt on deletion, but all of them make deletion impossible without admin rights or the correct credentials.
Key Takeaways
- Windows 11 has no native password-on-delete feature. NTFS permissions are the closest built-in equivalent.
- Deny Delete via the Security tab blocks deletion for all accounts that don't explicitly override it.
- BitLocker encrypts the whole drive. EFS encrypts per-user. Both stop unauthorised access, which indirectly prevents deletion.
- Running as a standard user (not admin) is one of the most effective protections you can set up in under five minutes.
- If files are already gone, dedicated data recovery software is your only realistic option before the storage sectors get overwritten.
At a Glance
- Difficulty: Easy to Medium
- Time Required: 10 to 30 mins
- Success Rate: 87% of users
Why Windows 11 Has No Password Prompt for File Deletion
This trips up a lot of people. They assume there must be a setting buried somewhere in Windows 11 that adds a password confirmation before files get deleted. There isn't. Microsoft's security model is built around user accounts and permissions, not per-action password prompts. The idea is that if you're logged in as yourself, Windows trusts you to delete your own files. That's fine on a single-user machine. On a shared PC, or if you're worried about accidental deletion, it's a bit rubbish.
The root of the problem is usually one of a few things. Either everyone on the machine is using the same administrator account (which gives full delete rights to everything), or the folder in question hasn't had its NTFS permissions tightened up, or there's simply no separation between users at all. Default NTFS permissions on most folders allow any account with Modify rights to delete files freely. That's the default. So if you haven't changed anything, deletion is wide open.
There's also a common misunderstanding about what the Recycle Bin actually does. Normal deletion sends files there. They're recoverable. But Shift+Delete skips the bin entirely and wipes the file from the directory immediately. At that point, recovery depends on whether the storage sectors have been overwritten yet, and that's where dedicated data recovery software becomes relevant. If you're dealing with files that are already gone rather than trying to prevent future deletion, that's a different problem entirely, and it's worth reading about how to hot clone a Windows drive before you do anything else, since cloning the drive first protects against further overwrites during recovery attempts.
So the solutions below don't add a password pop-up. What they do is make deletion impossible for unauthorised accounts, or make the files inaccessible to anyone without the right credentials. That's actually stronger than a password prompt, which can be bypassed by someone who already has admin rights anyway.
Password Protect Files from Deletion in Windows 11: Quick Fix
Deny Delete via NTFS Permissions Easy
- Open folder properties
Right-click the folder you want to protect and choose Properties. Go to the Security tab and click Advanced at the bottom. - Add a new permission entry
Click Add at the top left of the Advanced Security Settings window. In the new panel, click Select a principal, typeEveryoneand click OK. - Set Deny Delete
In the Type dropdown, change it to Deny. Scroll down the permissions list until you see Delete and tick it. Also tick Delete subfolders and files if it appears. Make sure Applies to is set to This folder, subfolders and files. - Apply and propagate
Click OK to close the entry. Back in the Advanced window, tick Replace all child object permission entries with inheritable permission entries from this object. Click OK and confirm the warning. This pushes the deny rule down to every file already inside the folder. - Test it
Try deleting a file inside the folder. You should see an access denied error. If it still deletes, check that the account you're testing with isn't an administrator who has an explicit Allow that overrides the Deny. Admins can override deny rules if they have an explicit Allow entry.
Separate User Accounts with Read-Only Access Easy
- Create a standard account
Go to Settings > Accounts > Family and other users. Click Add account and follow the prompts. When it's created, click the account name and set the type to Standard User, not Administrator. - Restrict folder permissions
On your protected folder, go to Properties > Security > Edit. Find the standard user's account (or the Users group) and set permissions to Read and execute only. Remove Modify and Write ticks. Click Apply. - Verify
Log in as the standard user and try deleting a file from the protected folder. It should fail with a permissions error.
And while you're thinking about account security, it's worth knowing that running your own daily account as a standard user (and only elevating to admin when genuinely needed) is one of the best general security habits you can build. It limits accidental damage and makes a lot of malware attacks less effective too. If you've had issues with system components going missing after permission changes, the guide on Windows troubleshooting missing covers what to check.
Intermediate Password Protect Files Deletion Windows 11 Solutions
These take a bit longer to set up but give you proper encryption-level protection, not just permission tweaks. If you're on a laptop that leaves the house, or you're storing anything genuinely sensitive, this is the tier you want.
Enable BitLocker Drive Encryption Medium
- Check availability
Open Settings > Privacy and security. If you see a Device encryption toggle, use that. If not, open Control Panel > System and Security > BitLocker Drive Encryption. BitLocker requires Windows 11 Pro, Enterprise, or Education. Home users get Device Encryption instead, which is a simplified version. - Turn on BitLocker
Click Turn on BitLocker next to the drive you want to protect. Choose how to unlock it (password, PIN, or TPM auto-unlock). A password or PIN is the option that actually gates access behind something you know. - Save the recovery key
Windows will ask where to save the recovery key. Save it to your Microsoft account, a USB drive, or print it. Do not skip this. If you forget your PIN and lose the recovery key, the data is gone. Properly gone. - Complete encryption
Choose to encrypt the used space only (faster on new drives) or the whole drive (better for drives with existing data). Click Start encrypting. On a 500GB drive this can take 20 to 40 minutes.
Microsoft's official documentation on BitLocker Drive Encryption covers the full feature set including network unlock and Group Policy options if you're managing multiple machines.
Use EFS (Encrypting File System) on Specific Folders Medium
- Right-click the folder
Choose Properties, then under the General tab click Advanced. - Enable encryption
Tick Encrypt contents to secure data and click OK. Back in Properties, click Apply. When prompted, choose Apply changes to this folder, subfolders and files. - Back up your EFS certificate
Windows will show a notification asking you to back up your encryption key. Click it and follow the wizard. Save the certificate to a USB drive or external location. If you lose this and your Windows account gets corrupted, the files become permanently inaccessible.
EFS is documented in detail on Microsoft's file encryption reference. One thing to know: EFS doesn't work on drives formatted as FAT32 or exFAT. It only works on NTFS volumes. If you're trying to protect files on a USB stick formatted as FAT32, EFS won't appear as an option. Format the drive as NTFS first, or use a password-protected archive instead.
Password-Protect Individual Office and PDF Files Easy
- For Word/Excel files
Open the file, click File > Info > Protect Document > Encrypt with Password. Enter a strong password and confirm it. Save the file. The file can still be deleted from File Explorer, but its contents are unreadable without the password. - For PDF files (Adobe Acrobat)
Open the PDF, click All Tools > Protect a PDF > Encrypt with Password. Tick Require a password to open the document, set a password, click OK, confirm, and save.
Advanced Password Protect Files Deletion Windows 11 Fixes
These are for people who want proper technical control, or who need to lock down multiple folders at once without clicking through the GUI for each one. Command line is faster once you know it.
Lock Folders with icacls in Command Prompt Advanced
- Open Command Prompt as administrator
Press the Windows key, typecmd, right-click Command Prompt and choose Run as administrator. - Apply Deny Delete to a folder
Run this command, replacing the path with your own:icacls "C:\ProtectedFolder" /deny Everyone:(D)
The(D)flag specifically denies the Delete permission. You'll see a success message if it worked. - Propagate to all subfolders and files
Run:icacls "C:\ProtectedFolder" /inheritance:d /T
The/Tflag applies the change recursively to everything inside. The/inheritance:dflag disables inheritance so the deny rule doesn't get overridden by a parent folder's permissions later. - Verify the change
Runicacls "C:\ProtectedFolder"without any flags to print the current ACL. You should see a line likeEveryone:(DENY)(D)in the output. Try deleting a test file inside the folder to confirm it fails. - To reverse it later
Run:icacls "C:\ProtectedFolder" /remove:d Everyone /Tto remove the deny rule when you no longer need it.
The full syntax reference for icacls is on Microsoft's icacls documentation page. It's worth bookmarking if you manage permissions regularly.
Use Password-Protected Encrypted Archives (7-Zip) Medium
- Install 7-Zip
Download from 7-zip.org. It's free, open source, and widely trusted. Right-click your folder, choose 7-Zip > Add to archive. - Set encryption
In the archive dialog, set the archive format to 7z, set the encryption method to AES-256, and enter a strong password in the Encryption section. Tick Encrypt file names for extra protection. - Delete originals after verification
Once the archive is created and you've verified you can open it with the password, delete the original folder. The encrypted archive is the only copy. Anyone without the password cannot open, read, or meaningfully interact with the contents.
This approach is particularly useful if you're thinking about moving files between machines or backing up to external storage. If you're planning a full system migration, the process of doing a Windows OS transfer to new hardware is worth reading alongside this, since permissions and EFS certificates need to be handled carefully during any migration to avoid locking yourself out of your own encrypted files.
Setting up NTFS deny permissions, EFS encryption, or BitLocker on a shared Windows 11 machine is something we sort out remotely every day. If the permissions aren't behaving as expected, or you've accidentally locked yourself out of a folder, we can connect and fix it without you needing to touch the command line.
Get remote helpPreventing File Deletion Issues in Windows 11
Prevention is genuinely easier than recovery here. Once files are gone with Shift+Delete, you're relying on data recovery software and hoping the sectors haven't been overwritten yet. So get the protections in place before something goes wrong.
The single most effective thing you can do is stop running as an administrator for daily tasks. Create a standard account, use that for everything, and only switch to admin when you're installing software or changing system settings. This one change makes accidental deletion of protected files much harder, because standard accounts can't override NTFS deny rules or change permissions without elevation.
After that, the priority order looks like this:
- Apply NTFS Deny Delete to any folder containing files you can't afford to lose.
- Enable BitLocker or Device Encryption on any machine that leaves the building.
- Back up regularly. External drive or cloud storage, doesn't matter which, as long as it's somewhere that a deletion on the main machine doesn't also wipe the backup. A lot of people think OneDrive sync counts as a backup. It doesn't. If you delete a file on the PC, OneDrive syncs the deletion.
- Use EFS for anything in your user profile that other accounts on the same machine shouldn't be able to touch.
- Never store critical files in shared or public folders. Keep them in your own user profile directory where permissions are scoped to your account by default.
And train anyone else who uses the machine to avoid Shift+Delete. It's a habit that bites people regularly. Normal Delete sends things to the Recycle Bin, which is recoverable. Shift+Delete is permanent. That's the difference between a minor inconvenience and a genuine data loss event.
If you're on a laptop and you're concerned about the broader security picture beyond just file deletion, it's also worth checking whether your VPN configuration is tight. A misconfigured VPN can expose more than people realise. The article on VPN port forwarding on Windows covers the specifics of locking that down properly.
Password Protect Files Deletion Windows 11: Summary
Windows 11 doesn't have a password-on-delete prompt, and it's unlikely to get one. The operating system's permission model is the mechanism Microsoft intends you to use. So to properly password protect files from deletion in Windows 11, you need to combine NTFS deny permissions (to block the act of deletion) with either BitLocker or EFS encryption (to block access entirely). For most home users, the NTFS deny method in Solution 1 plus a separate standard user account covers 90% of scenarios. For anything more sensitive, add BitLocker and back up your recovery key somewhere safe.
If files are already deleted and you need them back, stop writing to that drive immediately, consider cloning it first, and then use data recovery software. The sooner you act, the better the chances. Every write operation after deletion reduces the likelihood of a clean recovery.


