2 replies
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
by jamrock
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
This discussion is closed to new replies.
Trending Windows Forum posts
Sort by Trending