General discussion

  • Creator
    Topic
  • #2316804

    Imported Users

    Locked

    by jsnetman ·

    I have imported 1500+ users from an NT domain to a windows 2000 domain (including user home directory and data). The problem is that the home directory of each user is pointing to the old domain. Is there a way using a batch command or script that I can bulk modify the users on the new domain to point to the right location i.e.

    \\oldserver\userhomedirectory
    \\newserver\userhomedirectory

All Comments

  • Author
    Replies
    • #2739217

      Reply To: Imported Users

      by adrianc ·

      In reply to Imported Users

      search on the internet for WSH scripts. these will allow you to modify active directory settings and will do all 1500 in a few seconds.

    • #2739084

      Reply To: Imported Users

      by joseph moore ·

      In reply to Imported Users

      You can do this in a BAT file also. The NET USER command, when run on a Domain Controller, can change the Home directory setting for user accounts.

      The syntax is as follows:

      NET USER USERNAME /HOMEDIR:\\NEWSERVER\USERHOMEDIR

      So, write a BAT file like this:
      NET USER USER1 /HOMEDIR:\\NEWSERVER\USER1HOMEDIR
      NET USER USER2 /HOMEDIR:\\NEWSERVER\USER2HOMEDIR
      NET USER USER3 /HOMEDIR:\\NEWSERVER\USER3HOMEDIR
      NET USER USER4 /HOMEDIR:\\NEWSERVER\USER4HOMEDIR

      etc.

      All you need is a full list of your users and the new home folder pathing.

      hope this helps

Viewing 1 reply thread