crp0499
asked on
AD, new user creation, scripting with elevated permissions
I have a helpdesk user who has delegated privileges so she can create users in AD. One of the things she does is assign the users home folder to a folder on the server.
The problem is she as a user doesn't have rights to create folders on the server, so I gave her NTFS permissions to do this. The end result is that she's the owner of every home folder that she creates.
So, is there a script that I can use that will ask her some info, let her fill in some blanks and then using an elevated username/password (encrypted) allow the home folder to be created?
In other words, can I script the new user creation process and build in elevated privileges so she can create the home folders successfully?
Thanks
Cliff
The problem is she as a user doesn't have rights to create folders on the server, so I gave her NTFS permissions to do this. The end result is that she's the owner of every home folder that she creates.
So, is there a script that I can use that will ask her some info, let her fill in some blanks and then using an elevated username/password (encrypted) allow the home folder to be created?
In other words, can I script the new user creation process and build in elevated privileges so she can create the home folders successfully?
Thanks
Cliff
ASKER
um, I'm gonna need a little more there. :) script or hyperlink or something. GUI's are my friend and powershell is the anti-Christ in my book!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Use the new-item cmdlet with the -credentials parameter.