+ Post New Thread
Results 1 to 9 of 9
Windows Server 2008 R2 Thread, New Network - Student Migration in Technical; Hi guys, need a few ideas, Heres what I got: I got an old broken CC3 Network (windows 2k3 server), ...
  1. #1

    Join Date
    Apr 2011
    Location
    London
    Posts
    39
    Thank Post
    6
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    New Network - Student Migration

    Hi guys, need a few ideas, Heres what I got:

    I got an old broken CC3 Network (windows 2k3 server), and I'm moving to a new Vanilla Windows 2008 R2 server.

    1. Moving staff is straightforward, usernames in new in old and new servers are the same.
    2. The problem is a the students. I have 1000+ students who's usernames are a new format (not my idea, that's what the school wants).

    my thought is I make one excel spreadsheet export users from old network to and new new network, with the following information

    Old Network New Network
    Username FirstName Lastname Home Directory Username Firstname Lastname Home Directory

    Do a formula where firstname & Lastname Match and then move the old home directory to new home directory. To do this I need to a tool that can export from AD (Win2k3 and Win2k8), Username, First Name, Lastname (which is easy), but the IMPORTANT one is "Home directory". Any idea's?

  2. #2
    hit
    hit is offline
    hit's Avatar
    Join Date
    Mar 2008
    Location
    London
    Posts
    324
    Thank Post
    47
    Thanked 50 Times in 48 Posts
    Rep Power
    50

  3. #3

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    Is the home directory not just username on a path?

    We have done this move 3 times, once with 2 sets of user data (one from Windows and one from Novell) in the last 4 years.

    Rob

  4. #4

    Join Date
    Apr 2011
    Location
    London
    Posts
    39
    Thank Post
    6
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by twin--turbo View Post
    Is the home directory not just username on a path?

    We have done this move 3 times, once with 2 sets of user data (one from Windows and one from Novell) in the last 4 years.

    Rob
    No becuase on the old server, they are in subfolders called Year8,9,10 etc.. to cut a long story short they haven't been managed very well, so you some year 11s are in year 8, 9, 10 container etc and this is the same for all other year groups.. On the new server I have exported the users from the mis, into excel and from excel into AD so this is fine.

    This is why I will match first name and last name to find the user and their corresponding home directories, but obviously need to export the info from AD in the first place.

  5. #5

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    Something like

    dsquery user -name "*" | dsget user -samid -hmdir

    on the DC should export the path.

    Rob

  6. #6

    Join Date
    Apr 2011
    Location
    London
    Posts
    39
    Thank Post
    6
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    old network ad structure as follows
    AD name: myschool.internal
    Servername: DC3
    OU's.. Establishments
    MySchool
    Students
    Year 8
    Year 9
    etc..
    plus 1 or 2 sample user accounts in students

    I am typing the following CSVDE command:


    csvde -m -f students.csv -d "OU=Establishments,OU=Myschool,OU=Students,OU= Year 9,DC=myschool,DC=internal" -s DC3 -r "(objectCategory=person)" -l "samAccountName,firstname,lastname,homedirecto ry"

    it says command completed succesfully, no entries found. Am I typing missing something obvious?

    Twin turbo, the ds query seems really simple, but what are you outputing to, and how does it know which container to query?.. many thanks

  7. #7

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    dsquery -limit 10000 user OU=year06,OU=students,DC=school,DC=internal -name * | dsget user -samid -hmdir >> userlist.txt

    or something close....

    Should do it.

  8. Thanks to twin--turbo from:

    theforce (22nd June 2012)

  9. #8

    Join Date
    Apr 2011
    Location
    London
    Posts
    39
    Thank Post
    6
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Quote Originally Posted by twin--turbo View Post
    dsquery -limit 10000 user OU=year06,OU=students,DC=school,DC=internal -name * | dsget user -samid -hmdir >> userlist.txt

    or something close....

    Should do it.
    Thats close enough. It worked fine. thanks.

  10. #9

    twin--turbo's Avatar
    Join Date
    Jun 2012
    Location
    Carlisle
    Posts
    2,334
    Thank Post
    1
    Thanked 381 Times in 340 Posts
    Rep Power
    150
    Cool, good luck with the migration.

    Rob

SHARE:
+ Post New Thread

Similar Threads

  1. Insatlling a new network
    By nicholab in forum Network and Classroom Management
    Replies: 29
    Last Post: 25th August 2007, 04:45 PM
  2. Proposed New Network
    By rlculver in forum Wireless Networks
    Replies: 26
    Last Post: 4th April 2007, 11:22 PM
  3. New Network Monitoring services and free cash! yes!
    By fox1977 in forum Wireless Networks
    Replies: 1
    Last Post: 25th March 2007, 08:21 PM
  4. Setting up a new network
    By wesleyw in forum How do you do....it?
    Replies: 16
    Last Post: 12th March 2007, 09:57 AM
  5. New Staff & Student Induction
    By pete in forum School ICT Policies
    Replies: 4
    Last Post: 6th March 2006, 10:24 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •