August 9th, 2002, 05:08 AM
Scripting inheritable file security
I have written a script to automatically configure my new users in AD. Sometimes the techs at my company put people in the system and do it incompletely. To compensate for this I created a script that sets all the necessary fields.
I have found a way to set the Terminal Server profile fields, and I can also generate the directories for the profiles, and set the ACE's, but I can't figure out how to script the permission inheritance away.
I've come across the SetSecurityInfo function, but I'm not sure how to script it. Has anyone got a script sampling that I could check out to figure out. BTW the script is a VBS script.