Make an undeletable file in Windows
Many a times I've been asked how can one create an undeletable file or folder in Windows which other users in Windows cannot delete? Creating a file or folder which other users on the system cannot delete is a simple task if you understand the file and folder permissions.
To create an undeletable file all we have to do, is make a file only accessible to us. By making the file only accessible to us, no other user will be able to open it, rename it, or delete it. There are two ways to do this. Both of them are discussed below.
To create an undeletable file all we have to do, is make a file only accessible to us. By making the file only accessible to us, no other user will be able to open it, rename it, or delete it. There are two ways to do this. Both of them are discussed below.
Note: You'll need to have NTFS file format on your hard drive for this to work, since FAT and FAT32 file systems doesn't have the required functionality.
Method 1: Encrypt the required folder (works only for folders)
To make any file only accessible to us, simple encrypt the folder. To do so, follow the steps:
- Right click on the folder and go to its properties.
- Click on Advanced, and check "Encrypt content to secure data".
- Apply the settings.
- When asked to confirm attribute changes for folders, select "Apply changes to this folder, subfolders, and files" and click ok.
- The folder's font color will change to Green to indicate the changes have been made.
- Now, no one can use (open, rename, delete etc.) files in that folder except you.
Method 2: Disable access to required files or folder (works for both files and folders)
In this method, we simply set that the needed files or folder should only be usable (open, rename, delete etc.) by us and not by anyone else even the system. To do so, follow the steps:
- First, turn off Simple File Sharing. To do so, Go to My Computer->Tools->Folder Options.
- Select the "View" tab. Scroll down and uncheck "Use simple file sharing" and click Ok.
- Now, Right click on the needed file or folder and go to its properties.
- Select the "Security" tab.
- Now, remove all the users from the list except you by selecting them from the list and clicking "Remove". (see figure below)
- Apply the settings.
- Turn on Simple File Sharing.
1 Response to "Make an undeletable file in Windows"
Post a Comment