Saturday, December 15, 2012

Deny Deleting a folder on Windows

Problem:
Setting the Deny Delete NTFS permission on a folder in Windows still allows me to delete it.


The Story:
Today I had a tricky issue. For some reason when I delete a movie from uTorrent it also deletes the parent directory which is the Movies folder. The data is not lost because it's a mounted NTFS Volume, but it's annoying to recreate the folder and remount it in Disk Management. So I thought it would be great to deny delete on that folder while allowing all operations below the parent. Setting Deny Delete to Everyone still let me to delete the folder, so I kept googling with no results.



Solution
Set the following permissions on the folder that shouldn't be deleted (in my case the Movies folder); leave all other permissions untouched:

  • Deny Delete
  • Deny Delete subfolders and files
  • Apply to: This folder only


3 comments:

  1. The blog post is wonderful. The post about the deleting folder is helps to me for getting wonderful requirements. The best essay service is offered to the students for making their career development. The alternative writing papers and scholarship essay writing papers are possible at online.

    ReplyDelete
  2. PC antivirus is crucial for saving the eventual fate of your programming projects, put away documents and execution of your framework. Why to give any danger a chance to harm your vital information. https://how-to-remove.org/malware/browser-hijacker-removal/chjicha-club-removal/

    ReplyDelete
  3. To enjoy the game that we need to play and have fun with the game fireboy and watergirl and have lots of fun in the direct free online fireboy and water girl game and have lots of free ideas.

    ReplyDelete