Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In windows server 2012 I can use File Server Resource Manager to screen file types by name and block them being created, ie, block all *.mp3 files being created.

Is there any way to do the same thing for folders? ie, prevent users being able to create a folder with a specific name, such as ".svn"

Users sometimes copy the .svn folders out to the server on accident and it would be nice to be able to block this instead of resorting to deleting them after the fact.

share|improve this question
up vote 2 down vote accepted

File Screens won't do what you're looking for, unfortunately. They apply to files only. You can create a File Screen with the name .svn and it will prevent users from creating files named .svn but folders with that name can still be created.

(This was my initial thought but, to be sure, I just tested it under Windows Server 2012 R2.)

share|improve this answer
yeah, I tried multiple variants under file screen but nothing seemed to prevent folder creation. I haven't given up yet but I have a feeling I'm going to have to resort to the scheduled job to purge them. – bkr Apr 3 '14 at 23:59
well, I'm going to admit defeat on this one - it doesn't seem to be possible using File Server Resource Manager or anything else baked in on windows 2012. I'm certainly not going to write my own file system filter driver (… ) so I'm going to mark this as the answer – bkr Apr 4 '14 at 3:09
...and there's 100,000. Thanks! – Evan Anderson Apr 4 '14 at 3:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.