Protect files and folders from being deleted
Just to make sure we’re on the same page, I’m going to give these instructions from the beginning (also to help future visitors). To get to the true heart of the permissions, you have to click though a bunch of steps. My only guess is that this is to scare away the faint of heart, lol.
- Right-click the folder you want to protect (I’m using c:\users\chris\pictures) and choose Properties.
- On the Security tab, click Advanced. The ‘Advanced Security Settings for Pictures’ dialog options.
- Click the Change Permissions… button.
- Click the Add… button, and type “everyone” (no quotes) into the box, then click OK. A ‘Permission Entry’ dialog appears.
- Scroll to the bottom. Place a checkmark in the ‘Deny’ column for “Delete”. Do not add any other checkmarks.
- Turn on (checkmark) the option at the bottom called ‘Apply these permissions to objects and/or containers within this container only’, then click OK. You should be back at a screen that looks something like this.
- Turn on (checkmark) the option at the bottom called ‘Replace all child object permissions with inheritable permissions from this object’, then click OK.
- Windows will set the deny permission on every file and subfolder under this folder, unless you have set up one to not inherit permissions from its parent (you probably haven’t done that).