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 ...
24th May 2012, 02:34 PM #1
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.
24th May 2012, 02:48 PM #2
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
Thanks to themightymrp from:
FreelanceX (24th May 2012)
24th May 2012, 02:49 PM #3
Should say, its more the end of the thread that is relelvant to win7 libraries
24th May 2012, 02:49 PM #4
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.
24th May 2012, 03:36 PM #5
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?
24th May 2012, 03:41 PM #6
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
24th May 2012, 05:29 PM #7
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.
25th May 2012, 09:38 AM #8
Great stuff, hope all works out
1st June 2012, 01:24 PM #9
Thanks dude. After some testing, it all appears to work as we intended. Much obliged!
1st June 2012, 06:16 PM #10
- Rep Power
1st June 2012, 06:54 PM #11
By jasonb007 in forum MIS Systems
Last Post: 10th June 2013, 01:27 PM
By ful56_uk in forum MIS Systems
Last Post: 2nd March 2011, 10:03 PM
By hig in forum Windows Server 2000/2003
Last Post: 20th April 2009, 10:41 AM
By RabbieBurns in forum *nix
Last Post: 20th June 2008, 06:48 PM
Last Post: 25th August 2007, 03:50 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)