can you prevent a file from being deleted?
After using a computer for a while, you probably have some files that you cannot bear to lose. In case you or someone else delete such files unintentionally, you can make the files undeletable in Windows 10/8/7.
For important files that you don’t want anyone to delete them, you can restrict their access. Without accessing permission, no one can delete or access the files.
In addition, you can zip up a file, make a copy of it on a removable storage device, or move the files to System32 folder or other locations that people do not usually go.
Deny access permissions
As you probably know, you can edit user permission to a shared folder within the same network. Actually, you can also change user permissions to the non-shared files saved on your internal hard drive or external drive.
You can follow the steps below to restrict user permission
1. Right-click on the file or folder that you want it undeletable, and select “Properties”.
2. Click on the “Security” tab, and click “Edit” to change permissions.
3. In a new window, click “Add”, and type “Everyone” in the field as the screenshot below.
4. Back to the Permissions window, change Full control permission to Deny and click “Apply”.
5. Click “Yes” on the prompt confirmation window.
After that, you have created an undeletable folder. If you try to delete this folder, you will receive an error “Folder Access Denied”. As long as you the owner of this folder or file does not change the permission, no one can delete it.
If the files are too valuable to you, then the above process is not enough. As you can see, changing the permissions settings can bypass the trick. In addition, this cannot prevent ransomware virus to access or delete the file.
It is not easy to restore deleted files and there is no guarantee that all files can be restored. Therefore, to better protect your files, you can back them up in a separate location, secured with a password if needed.
Backup important files regularly
It is a good practice to always have your valuable data backed up since many unexpected factors can cause data loss. Besides accidental file deletion, there are many factors that can cause data loss, such as hard drive failure, ransomware virus affection, system crash, etc. Since these things are unexpected, the best way to protect your data is to perform backups regularly.
You can use free backup software AOMEI Backupper Standard to backup your entire hard drive or some important folders, and then keep creating incremental backups or differential backups as frequently as you like.
AOMEI Backupper comes with very simple and effective interface and leaves little room for user error. It only needs 5 steps to create scheduled disk backup task. Select Disk Backup under the Backup tab, select source disk to be backed up, select a location to receive the image backup, specify backup frequency, and Start the backup.
Besides running backups at a specific time daily, weekly, or monthly, you can also run scheduled backups upon a certain event.
Incremental backup or differential backup only backups newly added or changed items, which save much time and disk space.
With AOMEI Backupper schedule backup, your files are always protected. If you upgrade to AOMEI Backupper Professional, you can enable Disk Space Management to automatically remove old backups to release backup disk space. You do not need to ever worry about the problem backup disk full.
If you just want to prevent files from being deleted by accident, the deny user permission is enough and convenient. You, as the owner of the file, can also grant access to other users.
There is some software that can delete locked or undeletable files. If you are worried about someone may force delete the undeletable files, then you should consider backing up the files to another location. What’s worse, some virus can encrypt your files and delete them without your knowledge. If you take all that situations into consideration, there is no way to make files undeletable truly.
Therefore, in order to protect your valuable files, backup your files in advance. If possible, create more than one backup copies and save them in different locations.