Completely forgot about that.

Looks like it does - I'll be testing it tomorrow...

Kurt

On Thu, Oct 18, 2012 at 6:03 PM, Rankin, James R <[email protected]> wrote:
> Does net user have a switch for setting the home drive?
>
> ---Blackberried
>
> -----Original Message-----
> From: Kurt Buff <[email protected]>
> Date: Thu, 18 Oct 2012 18:00:04
> To: NT System Admin Issues<[email protected]>
> Reply-To: "NT System Admin Issues" 
> <[email protected]>Subject: This one is stumping me...
>
> All,
>
> I'm splitting out the large home share on our file server, and
> spreading the user directories across three different LUNs (don't ask,
> it's a long story...)
>
> So, I've got the files copying now, but I need to reset all of the
> user profiles to reflect the new shares to which they'll be directed.
>
> I've got a list with the DN for each user, and the new share name, it
> in the format of:
>
> "cn=Chatty 
> Kathy,ou=users,ou=companyname-us,dc=company,dc=com"<tab>\\fileserver\home1\ckathy
>
> and admod isn't liking it.
>
> This incantation spits up error messages:
>
>      for /f "tokens=1,2 " %i in (change1.txt) do admod -b $i
> "homedrive::H:" "homedirectory::%j"
>
> That looks like this:
>
>      DN Count: 1
>      Using server: dc4.company.com:389
>      Directory: Windows Longhorn
>
>      Modifying specified objects...
>         DN: $i...: [dc4.company.com] Error 0x22 (34) - Invalid DN Syntax
>
>      ERROR: Too many errors encountered, terminating...
>
>      The command did not complete successfully
>
> And so on...
>
> Does anyone have a better way of doing this that they could share with
> me? I really don't want to modify each account manually, since I've
> got about 220 of them.
>
> Thanks,
>
> Kurt
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here: 
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to [email protected]
> with the body: unsubscribe ntsysadmin
>
> ~ Finally, powerful endpoint security that ISN'T a resource hog! ~
> ~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~
>
> ---
> To manage subscriptions click here: 
> http://lyris.sunbelt-software.com/read/my_forums/
> or send an email to [email protected]
> with the body: unsubscribe ntsysadmin

~ Finally, powerful endpoint security that ISN'T a resource hog! ~
~ <http://www.sunbeltsoftware.com/Business/VIPRE-Enterprise/>  ~

---
To manage subscriptions click here: 
http://lyris.sunbelt-software.com/read/my_forums/
or send an email to [email protected]
with the body: unsubscribe ntsysadmin

Reply via email to