
set home directory permissions for all users in a domain
I found a script to set share permissions for all users in
a domain, but can't seem to get the ntfs permissions to
work. What I am trying to do is this:
Environment:W2k pro machine running a VBScript to set ntfs
user permissions on each users home directory on a W2k
file server in a NT 4.0 domain.
I would like to enumerate through the domain, setting the
following ntfs permissions on each users directory. The
permissions would be: Domain Admins-Full and %username%-
Full.
I am new to scripting and have tried to piece together
examples, but I just can't get it to work. My base example
I have been trying to adapt is from Q234746"How to create
user shares for all users in a domain" I got this to work,
but I would like to basically do the same thing except set
the ntfs permissions. Any help would be appreciated. I've
been working on this for a week or so with little success.