Table of Contents
Method 1: Modify security permission
Option 1: Prohibit deletion without files access rights reserved
Option 2: Protect files from deletion with files access rights reserved
Method 2: Hide the files to avoid deletion
Warm Tip
Home System Tutorial Windows Series How to Protect Files from Being Deleted in Windows 10

How to Protect Files from Being Deleted in Windows 10

Aug 02, 2024 am 02:55 AM

It is troublesome that an important file or folder is deleted unintentionally by oneself or others. In fact, there are several ways that could help you protect files from being deleted. If you are eager to know how to protect files from being deleted, take the methods below.

  • Method 1: Modify security permission
  • Method 2: Hide the files to avoid deletion

Method 1: Modify security permission

You are allowed to modify users and their corresponding rights by altering security permissions. Here is the guide:


  • Option 1: Prohibit deletion without files access rights reserved
  • Option 2: Protect files from deletion with files access rights reserved

Option 1: Prohibit deletion without files access rights reserved

Step 1: Right-click the file that you want to protect from being deleted in your computer and select the option Properties in the context menu.

Step 2: When the dialog box pops up, select the Security tab. Next, click on the specific user that you want to remove the permission to delete the file. Then click the Edit button.

How to Protect Files from Being Deleted in Windows 10

Step 3: In the Permissions dialog box, make sure you select the specific user. Then select all the option under the Deny column. Click the button Apply and OK to change the settings. In this way, this user won't be able to access the file.

How to Protect Files from Being Deleted in Windows 10

Step 4: When the warning dialog box pops up, just click yes to confirm the deny permissions entry.

How to Protect Files from Being Deleted in Windows 10

Attention: if you want to allow that user to access the file, you should go back to the Permissions dialog box and remove all the deny options as shown below.

How to Protect Files from Being Deleted in Windows 10

Option 2: Protect files from deletion with files access rights reserved

Step 1: Open Properties dialog box as the method above and then click on the Security tab. In the Security tab, click the Advanced button.

How to Protect Files from Being Deleted in Windows 10

Step 2: After opening the Advanced Security Settings dialog, you have to click on the Disable inheritance button. Then select the prompt Convert inherited permissions into explicit permissions on this object. Thus, you are allowed to edit the file permissions.

How to Protect Files from Being Deleted in Windows 10

How to Protect Files from Being Deleted in Windows 10

Step 3: Select the user by which you want to protect the file from being deleted. Then click on the Edit button.

How to Protect Files from Being Deleted in Windows 10

Step 4: To reach all the advanced permissions, don’t forget to click on Show advanced permissions. Then, click Deny in the Type drop-down box. Under the Deny menu, select 4 radio buttons: Delete, Read permissions, Change permissions, Take ownership. Click on the OK button to exit this dialog box.

How to Protect Files from Being Deleted in Windows 10

Step 5: Click the Apply button to confirm this setting. Without administrator permissions, the user won’t be able to delete the selected file but still access it.

How to Protect Files from Being Deleted in Windows 10

How to Protect Files from Being Deleted in Windows 10

Method 2: Hide the files to avoid deletion

This simple method also enables you to protect files from being deleted. Here are the steps:

Step 1: Hide the file.

Locate the file and right-click it to open the Properties dialog box. In the General tab, click on the radio button Hidden. Then click the Apply button and the OK button.

How to Protect Files from Being Deleted in Windows 10

Step 2: Disable to view hidden files.

Enter the File Explorer window and select the View tab. Then in the Options tab, select Change folder and search options. In the Folder Options dialog, click on the View tab. Make sure the option Don’t show hidden files, folders, or drives is selected. Click on the button Apply and OK. Then the selected file won’t show in the File Explorer window.

How to Protect Files from Being Deleted in Windows 10

How to Protect Files from Being Deleted in Windows 10

Warm Tip

Able to protect the files from being deleted, you could choose two methods as the article points out at no costs. Nevertheless, it is still suggested that you should back up important data or create a system restore point for a rainy day.

The above is the detailed content of How to Protect Files from Being Deleted in Windows 10. For more information, please follow other related articles on the PHP Chinese website!

Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Article

R.E.P.O. Energy Crystals Explained and What They Do (Yellow Crystal)
2 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Repo: How To Revive Teammates
4 weeks ago By 尊渡假赌尊渡假赌尊渡假赌
Hello Kitty Island Adventure: How To Get Giant Seeds
3 weeks ago By 尊渡假赌尊渡假赌尊渡假赌

Hot Article Tags

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

The Framework Desktop Might Be The Coolest Tiny PC I've Seen The Framework Desktop Might Be The Coolest Tiny PC I've Seen Mar 01, 2025 am 03:04 AM

The Framework Desktop Might Be The Coolest Tiny PC I've Seen

PowerToys Is the Ultimate Work From Home Companion App PowerToys Is the Ultimate Work From Home Companion App Mar 03, 2025 am 10:07 AM

PowerToys Is the Ultimate Work From Home Companion App

How to Find the Product Key for Windows 10 How to Find the Product Key for Windows 10 Mar 04, 2025 am 01:46 AM

How to Find the Product Key for Windows 10

How to Install Windows 11 23H2 on Unsupported PC How to Install Windows 11 23H2 on Unsupported PC Mar 03, 2025 pm 12:55 PM

How to Install Windows 11 23H2 on Unsupported PC

Top 3 Windows 11 Gaming Features That Outshine Windows 10 Top 3 Windows 11 Gaming Features That Outshine Windows 10 Mar 16, 2025 am 12:17 AM

Top 3 Windows 11 Gaming Features That Outshine Windows 10

The Best Ergonomic Keyboards of 2025 The Best Ergonomic Keyboards of 2025 Mar 03, 2025 am 10:02 AM

The Best Ergonomic Keyboards of 2025

ASUS Zenbook S 14 (2024) Review: Iterative Refinement of a Premium Ultraportable ASUS Zenbook S 14 (2024) Review: Iterative Refinement of a Premium Ultraportable Mar 01, 2025 am 06:01 AM

ASUS Zenbook S 14 (2024) Review: Iterative Refinement of a Premium Ultraportable

How to Change the Font and Layout of PowerShell Window How to Change the Font and Layout of PowerShell Window Mar 03, 2025 pm 01:03 PM

How to Change the Font and Layout of PowerShell Window

See all articles