Link to home
Start Free TrialLog in
Avatar of Jamesm007
Jamesm007

asked on

Creting new shares in Server 08

I am migrating users about 1500 of them in different OU and folders to a new VM 2008 R2 box.

I have setup the user share as \\servername\%username%$

I used the script below to do this through CMD for me.

for /d %f in (*) do net share %f$=%~ff /grant:{MY_DOMAIN_NAME}\%f,full /cache:none


This works great, the user is able to log in and the share is there and all working well, except....

as administrator if I try and map the user I get access denied. I can go to the share and add administrators and I can then access.

Admin has permission on the folder etc etc just the share only has the username.

Im after an easy way I can add admins to the share for 1500 users
thanks
ASKER CERTIFIED SOLUTION
Avatar of hbbw063
hbbw063

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
Avatar of Krzysztof Pytko
Avatar of Jamesm007
Jamesm007

ASKER

this was the simplest tool for what I required.
thanks!