+ Post New Thread
Results 1 to 11 of 11
Windows 7 Thread, Changing library paths after moving documents to new server in Technical; Hi, recently we moved all of our pupils home directories to a new server to spread the load. We have ...
  1. #1
    FreelanceX's Avatar
    Join Date
    Oct 2009
    Location
    C:\
    Posts
    24
    Thank Post
    1
    Thanked 2 Times in 1 Post
    Rep Power
    10

    Changing library paths after moving documents to new server

    Hi, recently we moved all of our pupils home directories to a new server to spread the load. We have changed all the path redirects etc so they can log on fine and see all their documents as before.

    But the library paths (Music, Pictures etc) still point to the old server. So they can still save there if they click on Libraries instead of My Computer and then their home drive.

    I have found the reg keys which control the paths to the libraries, which are easy enough to change, but I do not know how I would go about implementing this change to every one on the network? How could I write the new entries to their NTUSER.DAT?

    Obviously each path looks like this:

    "My Video"="\\\\server1\\student\\teststudent\\My Videos"

    We need it to look like this:

    "My Video"="\\\\server2\\student\\teststudent\\My Videos"

    We only need to change one part of the values of the keys, but we do not know how to go about this? I dont know of a way to make a reg key to only change part of a value and I am not sure it is even possible?

    So would a script be needed? If so, does anyone know what would be needed (my scripting is subpar) and when would it best be run (I was thinking as a one-time logon script?)?

    If I can get this to work, it will solve a lot of issues for us and means we could eventually get round to turning off server1...

    By the way, if I am going about this all wrong and there is an easier way, please, do tell!

    Thanks in advance.

  2. #2
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,221
    Thank Post
    216
    Thanked 227 Times in 196 Posts
    Rep Power
    73
    Try reading through this thread:

    Windows 7 Roaming profile problem

    There is a tool you can use to change the paths. The path is not stored in the registry, rather an XML file

  3. Thanks to themightymrp from:

    FreelanceX (24th May 2012)

  4. #3
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,221
    Thank Post
    216
    Thanked 227 Times in 196 Posts
    Rep Power
    73
    Should say, its more the end of the thread that is relelvant to win7 libraries

  5. #4
    cromertech's Avatar
    Join Date
    Dec 2007
    Location
    Cromer by the coast
    Posts
    731
    Thank Post
    177
    Thanked 109 Times in 97 Posts
    Rep Power
    54
    Can you not use the follow documents setting on the redirect GPO. If the documents library path is correct this should allow the others to update accordingly. I disable the libraries completely as I couldn't stop them from being local.

  6. #5
    FreelanceX's Avatar
    Join Date
    Oct 2009
    Location
    C:\
    Posts
    24
    Thank Post
    1
    Thanked 2 Times in 1 Post
    Rep Power
    10
    Thanks for the link to that thread. I will have a look through now...

    So the reg keys in NTUSER.DAT... What effect do they have?

  7. #6
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,221
    Thank Post
    216
    Thanked 227 Times in 196 Posts
    Rep Power
    73
    I'll be honest I'm not entirely sure on the difference between the reg keys for my documents and the library XML files. I don't know how one affects the other? I just came across that tool when I wanted to deploy specific libraries and locations to machines

  8. #7
    FreelanceX's Avatar
    Join Date
    Oct 2009
    Location
    C:\
    Posts
    24
    Thank Post
    1
    Thanked 2 Times in 1 Post
    Rep Power
    10
    After following the guide you linked me to, I set them to all point to H:\ and from a network location, I can get multiple people to see their own directories so, for that, thanks a ton.

    Still unsure what will happen with NTUSER though. Will have to test it and see what happens. Hopefully the paths will be ignored once the actual XMLs are replaced.

    If it works as intended, this could solve an issue we have had for months.

  9. #8
    themightymrp's Avatar
    Join Date
    Dec 2009
    Location
    Leeds, West Yorkshire
    Posts
    1,221
    Thank Post
    216
    Thanked 227 Times in 196 Posts
    Rep Power
    73
    Great stuff, hope all works out

  10. #9
    FreelanceX's Avatar
    Join Date
    Oct 2009
    Location
    C:\
    Posts
    24
    Thank Post
    1
    Thanked 2 Times in 1 Post
    Rep Power
    10
    Thanks dude. After some testing, it all appears to work as we intended. Much obliged!

  11. #10

    Join Date
    Jun 2012
    Posts
    3
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0
    Thank you for your help.

  12. #11
    round2it's Avatar
    Join Date
    May 2009
    Location
    UK
    Posts
    1,016
    Thank Post
    199
    Thanked 148 Times in 105 Posts
    Rep Power
    38

SHARE:
+ Post New Thread

Similar Threads

  1. [SIMS] Moving SIMS to new server
    By jasonb007 in forum MIS Systems
    Replies: 35
    Last Post: 10th June 2013, 12:27 PM
  2. [SIMS] move sims to new server
    By ful56_uk in forum MIS Systems
    Replies: 11
    Last Post: 2nd March 2011, 09:03 PM
  3. Changing the path of my documents to a users home drive
    By hig in forum Windows Server 2000/2003
    Replies: 7
    Last Post: 20th April 2009, 09:41 AM
  4. move mysql to new server
    By RabbieBurns in forum *nix
    Replies: 6
    Last Post: 20th June 2008, 05:48 PM
  5. Move DC to new IPv4 Range
    By Gatt in forum Windows
    Replies: 12
    Last Post: 25th August 2007, 02:50 PM

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
  •