Automate new AD user's home folder creation and permission setup

Posted by vn. on Server Fault See other posts from Server Fault or by vn.
Published on 2012-06-21T21:22:41Z Indexed on 2012/06/23 15:18 UTC
Read the original article Hit count: 210

I know if we setup a base folder or a profile path in the Profile tab of an AD user, we can copy it and the folder creation and permission setup will be automated.

My problem is that not all my users have a roaming profile and the home folder linking is done thru GPO. When I copy from these users, the home folder isn't created automatically and I have to create it manually and change permission and ownership on that folder, located on the fileserver.

What should I do? A script may be nice but it'd have to be run everytime a new user is created and I don't think we can link a script to an AD user creation? I'd like to avoid any manual steps and keep my GPO that way. Using a W2008r2 DC on w7 client boxes.

Thanks.

© Server Fault or respective owner

Related posts about active-directory

Related posts about windows-server-2008-r2