Link to home
Start Free TrialLog in
Avatar of museudf
museudf

asked on

Copy AD user and auto create home directory

Hi experts

Could you please help me with this.

Running a full windows 2003 AD network.

I have created a new account with custom settings (newuser1) such as home drive, login scripts, profile locations etc. When I go to copy the user it simply does just that. What I would like is a way to automaticaly create newuser2, newuser3 and so on but when it copies home drives to use %username% as each user will have its own share for login scripts and profile locations.

Hope this makes sense, if you need more information please do ask.

Many thanks

Owais
Avatar of Toni Uranjek
Toni Uranjek
Flag of Slovenia image

Hi!

Did you enter profile and home folder path with %username% variable? For example: \\server\share\%username% ?
Did you create appropriate shares?

Toni
Avatar of merowinger
Avatar of museudf
museudf

ASKER

Hi all

Thanks for the quick reply. I have tried using \\server1\%username% but it is unable to find the folder. I was hoping that AD would create the folder for me. Please let me know Toni.

Many thanks for your help so far.

F
You have to create shared folder yourself. One for profiles one for homefolders. Share each folder with Everyone Full Control. Only the will subfolders be created. If needed, you can change share permissions to tighten up security to (for example) Authenticated user Full Controll Allow.
Avatar of museudf

ASKER

So if I create a top level share called "home dir" and then use \\servername\home dir\%username" AD will create a new folder within home dir with the same name as the user
ASKER CERTIFIED SOLUTION
Avatar of Toni Uranjek
Toni Uranjek
Flag of Slovenia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial