OPERATING SYSTEMSOS Windows

How to protect files or folders from being deleted accidentally?


We all have been in a situation where you deleted a file, but you did not want to. There was no prompt no restriction that could stop you from doing it. If not you, someone using your account just did for fun. So how do you protect a folder from accidental deletion? There are many ways to do it, and this post will help you with that. However, it is always a good idea to have a backup system for important files.

Protect files or folders from accidental deletion

  1. Use Prevent app
  2. Enable confirmation dialogue box
  3. Change Security Permission
  4. OneDrive Personal Vault
  5. Bitlocker

1] Prevent application

How do I protect a folder from accidental deletion?

This is our in-house Prevent tool that does two things. First, it stops operations such as copy, paste, delete actions. Second, it grays out the context menu items. You can quickly enable it when you are not around or someone else is using your account.

2] Enable the confirmation dialogue box

Delete Confirmation Dialogue Box Windows

Windows used to offer a confirmation dialogue box which prompted up every time you deleted a file.

You can enable it using the Recycle Bin settings, Group Policy Editor, and Registry settings. It will be helpful to give you a hint on what you are doing and save the files and folders at times.

3] Change Security Permission

How do I protect files or folders from being deleted accidentally in Windows 10

If there is another account on the computer that could be deleting the file on the computer, we recommend changing permission settings for the folders you want to secure. You can remove permissions to modify, read, execute, write, and more.

  • Right-click on the file you want to be safe, and select Properties
  • Go to the Security tab > Advanced and click on disable inheritance
  • Select Convert inherited permissions into explicit permissions on this object option when it shows up.
  • Click on the user to whom you want to deny them access, and then click on Edit.
  • From the Type dropdown menu, select Deny, and click OK
  • You will need to repeat the same with other user accounts.
  • Once done, click Ok to apply the changes.

4] OneDrive Personal Vault

How do I protect a folder from accidental deletion?

One of the most underrated features of OneDrive is Personal Vault. This feature allows you to move files inside them and accessible only after verification.

I would highly recommend you move all the files inside it and work through this feature. When unsued for a long time, the vault will lock itself. This makes sure nobody else has access to your files.

5] BitLocker

Bitlocker File Folder protection

If your computer supporters BitLocker, you can choose to lock a complete driver with a password. Not only that but the drive is also encrypted, making sure the files inside are safe and cannot be deleted. While you can use it for the primary drive, it is best used with external drives.  Since BitLocker works on a drive level, you cannot lock a single folder or file.

However, it works on partitions if you keep all your work data on a secondary partition and keep it locked.

These were some useful methods that can help you prevent accidental deletion of files and folders, which could be because of you or someone else.

Deny Folder Deletion Windows

Source link

Leave a Reply

Your email address will not be published. Required fields are marked *