In the post you said that you have found a way to query all the users that have a home directory. I'm having trouble with that step. The query keeps returning with no users and I know that I have 492 users that have home directories. Can you help me out?
I'm user the query:
(&(objectClass=User)(home-directory=H:\\server\home\*)) were each user has a \\server\home\username directory.
Thanks!
Steven
> On Friday, July 27, 2007 1:56 PM Ehre wrote:
> Hello-
>
> I am trying to easily change all of the home directories for users which
> HAVE a home directory. I have found a way to do that using a LDAP query and
> admodify.net. However the problem is that when i specify the path for the
> user directory for the selected users in admodify.net and use
> \\server\users\%username%, when I go back into the individual user accounts
> to see if it worked thier user directory will be set to
> \\server\users\username instead of thier actual username!
>
> Is the %username% or other variables not work with admodify.net? If so what
> could I use to make this work as I would like and have it fill in each users
> username?
>
> Thanks in advance!
>> On Tuesday, August 07, 2007 5:11 PM Tim Ward wrote:
>>> On Tuesday, August 07, 2007 5:12 PM Tim Ward wrote:
>>> You are using the wrong variable. Look at the help file in ADModify or the variable section of the following TechNet article on ADModify:
http://technet.microsoft.com/en-us/library/aa996216.aspx
>>>
>>>
>>>
>>> In ADModify use \\server\users\%'sAMAccountName' and it should work.