UK tech experts · info@vividrepairs.co.uk
Vivid Repairs
Windows 11 laptop on a clean desk showing file properties security permissions dialog with deny delete option highlighted
Fix It Yourself · Troubleshooting

password protect files deletion Windows 11

Updated 4 August 202612 min read
As an Amazon Associate, we may earn from qualifying purchases. Our ranking is independent.

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.

⏳️ 13 min read ✅ 87% success rate 📅 Updated July 2026

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

This section covers the fastest methods. No extra software needed. Most users will get what they need from Solution 1 alone.
1

Deny Delete via NTFS Permissions Easy

  1. 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.
  2. 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, type Everyone and click OK.
  3. 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.
  4. 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.
  5. 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.
Folder and all contents are now protected. Any account covered by the Everyone group will get an access denied error on deletion attempts.
Administrator accounts can sometimes override Deny permissions if they have an explicit Allow entry elsewhere. For full protection on a shared machine, combine this with separate standard user accounts (Solution 2 below).
2

Separate User Accounts with Read-Only Access Easy

  1. 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.
  2. 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.
  3. Verify
    Log in as the standard user and try deleting a file from the protected folder. It should fail with a permissions error.
The other user can open and read files but cannot delete, move, or modify them.

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.

3

Enable BitLocker Drive Encryption Medium

  1. 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.
  2. 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.
  3. 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.
  4. 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.
Once encrypted, the drive cannot be accessed, modified, or deleted from without the correct PIN or recovery key. Even removing the drive and plugging it into another PC won't help without the key.

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.

4

Use EFS (Encrypting File System) on Specific Folders Medium

  1. Right-click the folder
    Choose Properties, then under the General tab click Advanced.
  2. 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.
  3. 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.
The folder and its contents are now encrypted to your user account. Other users on the same machine cannot open, copy, or delete the files, even if they have admin rights, unless they have your EFS certificate.

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.

5

Password-Protect Individual Office and PDF Files Easy

  1. 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.
  2. 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.
The file content is protected. Even if someone deletes it accidentally, the data inside was encrypted and not readable by them anyway.

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.

6

Lock Folders with icacls in Command Prompt Advanced

  1. Open Command Prompt as administrator
    Press the Windows key, type cmd, right-click Command Prompt and choose Run as administrator.
  2. 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.
  3. Propagate to all subfolders and files
    Run:
    icacls "C:\ProtectedFolder" /inheritance:d /T
    The /T flag applies the change recursively to everything inside. The /inheritance:d flag disables inheritance so the deny rule doesn't get overridden by a parent folder's permissions later.
  4. Verify the change
    Run icacls "C:\ProtectedFolder" without any flags to print the current ACL. You should see a line like Everyone:(DENY)(D) in the output. Try deleting a test file inside the folder to confirm it fails.
  5. To reverse it later
    Run: icacls "C:\ProtectedFolder" /remove:d Everyone /T to remove the deny rule when you no longer need it.
All files and subfolders are now protected from deletion by any account in the Everyone group. Changing this ACL requires admin rights and deliberate action.

The full syntax reference for icacls is on Microsoft's icacls documentation page. It's worth bookmarking if you manage permissions regularly.

If you're managing a machine that other people use and you want to go further, consider creating a non-admin account for your own daily use too. Store protected data in locations where your standard account has read access but not delete. Only elevate to admin when you actually need to install something or change system settings. This architecture means even if your account gets compromised, the damage is limited.
7

Use Password-Protected Encrypted Archives (7-Zip) Medium

  1. 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.
  2. 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.
  3. 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.
Files are stored in an AES-256 encrypted container. Deletion of the archive is still possible, so combine this with NTFS deny permissions on the archive file itself for full protection.

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.

Preventing 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:

  1. Apply NTFS Deny Delete to any folder containing files you can't afford to lose.
  2. Enable BitLocker or Device Encryption on any machine that leaves the building.
  3. 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.
  4. Use EFS for anything in your user profile that other accounts on the same machine shouldn't be able to touch.
  5. 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.

Frequently Asked Questions

No. Windows 11 does not include a native feature that prompts for a password on file deletion. The closest built-in options are NTFS permissions to deny delete, BitLocker encryption, and EFS file encryption.

Use NTFS permissions to deny Delete on the folder. Right-click the folder, go to Properties > Security > Advanced, add Everyone with Deny Delete permission, and apply to all child objects. This takes under 10 minutes and requires no extra software.

Windows 11 has no native folder password feature. Instead use BitLocker for drive-level encryption, EFS for file-level encryption tied to your user account, or NTFS deny permissions to block deletion entirely.

BitLocker encrypts entire drives and requires credentials to access the drive at boot or mount time. EFS encrypts individual files or folders and only allows the encrypting user to open them. BitLocker is stronger for whole-drive protection; EFS is better for per-user file protection on a shared machine.

Yes. Create a standard user account for the other person, store your files in your own user profile folder, and set NTFS permissions so their account has Read-only access with no Delete permission. They will be blocked from deleting anything in that folder.