There are certain files on your PC that you cannot afford to lose. However, because of errors occurring, some of these important files may be accidentally deleted. In addition, people who have access to your PC can remove your important data.
To prevent this from happening, you need to back up your files. Read on to learn the best way to protect your Windows 10 files so they don't get deleted.
Why should you consider protecting your files?
When it comes to the security of your data, it is always wise to consider several security measures. You may have already taken steps to protect your PC from unauthorized access. But you also need to back up your individual files and folders.
In case you accidentally delete your files, there are several ways you can recover your lost data. However, data recovery can often be quite complicated, especially with permanently deleted files.
As you use your PC, new data will overwrite permanently deleted files. This makes your chances of recovering permanently deleted files very slim. This is why it is best to be safe by protecting your files from deletion.
Here's how you can protect your files in Windows 10.
1. Configure the permission settings
One of the best ways to secure your files is to configure the permission settings. This allows you to allow or deny other users access to files.
This is how you can configure these settings.
Right click on the file or folder you want to protect and select the one characteristics Possibility.
If a dialog box appears, select the option security Tab and press To edit Change permissions.
The Permissions The window will open. Choose Add Button in this window.
This will open another window called "Choose users or groups. "Enter in this window Anyone by doing Enter the object names to be selected Box. Press OK keep going. This brings you back to the Permissions Window.
By doing Permissions Window, select the Anyone Username. From here go to the Permissions for everyone Section. Check the Deny Field next to the Full control Possibility. Beat Apply > OK.
Your file or folder will now be backed up. As long as you do not change the permission settings, nobody can delete the file or folder.
2. Hide your files
You can also protect your files by simply hiding them. Here's how to do it.
Find the file or folder you want to hide and right click on it.
Choose characteristics Option and navigate to General Tab.
Check the Hidden Box, then press Apply > OK.
To make sure your hidden files are not showing up in Windows File Explorer, here's what you need to do.
to open Windows File Explorer.
Choose view Tab near the top left corner of the window.
Uncheck the box Hidden items Box.
If you do this, the only way to access your files is to unhide them. This will ensure that you or other users do not accidentally delete these files.
3. Back up your files using the command prompt
You can also use the command prompt to back up your files. This method actually offers more protection than the other methods. Not only does this prevent other users from deleting your files, but it also prevents them from viewing those files.
Here's how you can start backing up your files from Command Prompt.
Press the Windows key + R. and type CMD.
click Ctrl + Shift + Enter to open an elevated command prompt.
To lock a file or folder, enter the following command at the command prompt:
cacls File_or_Folder_Path / P all: n
Replace that File_or_Folder_Path Command with a relevant file or folder path. This is how you can get your file or folder path.
Go to the file or folder you want to back up and right click on it.
to open characteristics and navigate to security Tab.
Copy the file path shown as Object name.
Paste the file path in the appropriate section of the command.
Here is an example of what the command will look like:
cacls C: Users Admin Desktop New_Wallpapers / P all: n
There should be no spaces between the names of your files or folders for this command to work. You can separate long filenames with hyphens or underscores.
When you have entered the correct command at the command prompt, press Enter. When you get a command that says "Are you sure (Y / N)?", Art Y. and hit Enter. Your file or folder should now be locked.
If you want to unlock the file or folder, type the following command in Command Prompt and press Enter::
cacls File_or_Folder_Path / P all: f
Replace the File_or_Folder_Path Command with a relevant file or folder path.
4. Password protect your files using a third-party software program
If you'd rather use a third-party tool, you can try IObit Protected Folder. This program is intuitive and easy to use. What's special about it is that it also protects your data from spyware, viruses, and other types of malware.
Here's how to get started with IObit Protected Folder.
Download and install the IObit Protected Folder.
Open the program and create a password.
Drag and drop your files into the IObit Protected Folder user interface. Alternatively, you can add your files simply by clicking Add Button in the program.
When you have finished adding files to the program, select Lock & Exit to back up these files.
As an added security measure, your protected files or folders will be removed from Windows 10 File Explorer. If you want to back up the files but still want them to appear in File Explorer, here's what you need to do.
Choose status Options at the bottom left of the IObit Protected Folder user interface.
Turn them off Hide (for Explorer or other programs) Button.
Press Apply, then choose OK to save these changes.
If you want to unlock your file or folder, you can select the specific file or folder and then press the button Unlock Button.
With IObit Protected Folder you can use the tool 20 times for free. If the program meets your needs, you can upgrade to a premium version for $ 20.
Easily back up your files and folders
By applying any of the methods we highlighted, you can easily protect your files and folders in Windows 10. In addition, there are other methods you can use to password protect your files and folders.
How to password protect a folder in Windows
Do you need to keep a Windows folder private? Here are a few methods that you can use to password protect your files on a Windows 10 PC.
About the author
(17 articles published)
Modisha is a tech content writer & blogger who is passionate about new technologies and innovations. He enjoys researching and writing insightful content for technology companies. He spends most of his time listening to music and also enjoys playing video games, traveling, and watching action comedy films.
By Modisha Tladi
Subscribe to our newsletter
Sign up for our newsletter to receive tech tips, reviews, free e-books, and exclusive offers!
One more step …!
Please confirm your email address in the email we just sent you.