Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Saturday, May 4, 2013 2:49 PM
We are moving home directory shares from \mjh-dc1 to \mpjh-dc0 and i'm curious of an LDAP query or some better way to bulk find and change the home directory path in ADUC so these shares will work after we move the data drives. here's my current share format:
for user jon.rowe, the share is \mjh-dc0\users$\jon.rowe
how can I do an aduc advanced search for any user with share starting as \mjh-dc0\users$\theirusername ?
I would then like to bulk change that to \mpjh-dc0\users$\theirusername
Any help on this would be greatly appreciated, I have to do this on 4 different servers, and i'd like to do it over the weekend while our users are out of the way.
you guys/gals are great, thank you
All replies (5)
Monday, May 13, 2013 5:48 PM âś…Answered
got it figured out, I did a query for (objectClass=User)(homeDirectory=*mjh-dc0*), worked like a charm.
thanks.
Monday, May 6, 2013 4:11 AM
Hi,
From the description, [\mjh-dc0\users$\](file://\mjh-dc0\users$) should be a specific folder for home folders, so why not simply migrate all subfolders to the new location \mpjh-dc0\users$?
You could do this with robocopy or backup-restore, with keeping NTFS permissions.
For Share permission, you could output the following key from the old server, modify it if location is changed and input to new server:
HKLM\SYSTEM\CurrentControlSet\Services\LanmanServer\Shares
TechNet Subscriber Support in forum |If you have any feedback on our support, please contact [email protected].
Monday, May 6, 2013 1:17 PM
Shaon,
That's the plan, I will be importing the lanmanserver shares key to bring over all the shares, and [\mpjh-dc0\users$\](file://\mpjh-dc0\users$) will then become the new share...i just need a bulk way of changing any user account in ADUC that now points to \mjh-dc1\users\username% to \mpjh-dc0\users$\username%
i probably didn't make that clear enough..
suggestions?
thanks !
Tuesday, May 7, 2013 6:15 PM
Any other suggestions for today? I really appreciate any and all input.
Thank you!!
Wednesday, May 8, 2013 4:09 PM
Does anyone have any suggestions on how to query all users that have a home directory on [\mjh-dc0\users$\](file://\mjh-dc0\users$) and then change it to \mpjh-dc0\users$, regardless of OU?
I don't want to have to go into each individual user account. Thoughts?
I really appreciate your help, thanks!