In an effort to automate LAN account creation I have designed a Perl script that will take specific information that is input by a user and create a "personal drive" on a network storage device and the automatically set the permissions on the folder so that the user can access it. Unfortunately, I am running into issue with not correctly adding the new ACE back to the existing security descriptor. I have found that it is unnecessary to create an array of the existing ACEs as they are all inherited and will be repopulated if a new array of the single new ACE is added. If anyone has any experience with using WMI to set folder permissions in Perl ANY and ALL advice is welcome as I have reached a dead end with every solution I try. Here is the following applicable code for what I am attempting to accomplish:

I don't know the answer or even have a suggestion. Maybe davorg (athough he seems to not know the windows stuff too much) or Probulletin (I'm not sure if he does or not), the only two other members that answer questions reliably here, will be able to help. But I see you have this on devshed too so you will more likely get an answer/suggestion there as devshed has more active members on that perl forum. You can also try at perlmonks.com -------------------------------------------------