General discussion

Locked

Folder ownership

By Jeff Anderson ·
How to Give users creator owner rights to home drives after the folder has been created. I would like to do this as bulk not one at a time. Any ideas. When we moved their home drives to another server the creator owner rights changed to administrator. Our folder redirect/offline files is giving us fits because of this.

This conversation is currently closed to new comments.

2 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by James A Bailey In reply to Folder ownership

Here's a couple of leads. I enjoy scripting, and learned a little from this. Check out this MS page on WMI SetSecurityDescriptor Method. I was able to change the folder permissions. In the sample script change the wmiAce.AccessMask = 131072 number to 2032127 for full control for the owner. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/setsecuritydescriptor_method_in_class_win32_logicalfilesecuritysetting.asp

Also check out this for setting the owner of the file.
http://www.jsiinc.com/SUBL/tip5600/rh5644.htm

Collapse -

by jamrock In reply to Folder ownership

When moving files use Robocopy this utility will also bring over the users perminision.
This utility is on the W2K Resource kit.
Assuming the directory structure is \\Server1\Users\Paul
Set Administrator (etc) permission on \\Server1\User

Back to Windows Forum
2 total posts (Page 1 of 1)  

Related Discussions

Related Forums