Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

I have a Windows 2003 web server with a tree of folders that contains around 100GB of small images. I need to update the permissions on this folder to add a new user with access. I tried to do this by right clicking on the folder and adding the new user but the process never completed. I left it running for around an hour but it started to heavily impact the peformance of the server. Is there any other way to change these folder permissions without affecting server performance?

Many Thanks Nick

share|improve this question

migrated from May 19 '10 at 22:02

This question came from our site for professional and enthusiast programmers.

You can try to use inheriting instead of explicitly specifying security settings for each file.

Right Click on the folder -> Properties -> Security -> Advanced. Make sure that "Allow inheritable permissions...." is checked. Add User and specify her permissions.

Other way is to set permissions programmatically. Here is a code sample in C# that shows how to set ACL. Programmatic way is more flexible: you can wait periodically before setting security permissions. Hence server perf will not suffer.

share|improve this answer

You're pretty much stuck in this. Changing permissions at the top of a large directory tree of files (we have one such structure with over 3 million files) just plain takes a LONG time on NTFS. Inheritable means you only have to change the right in the one spot, but the system still has to touch every file and directory that inherits from that rights change to make the change effective. Hitting cancel or otherwise terminating this process will give you inconsistent rights in that tree.

For large structures this can take hours, and performance can take a big hit. For our big structure, we only change permissions at the top during off-peak hours just because of this.

share|improve this answer

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.