Solved

How to update file locations after switching storage location, network wide.

Posted on 2004-10-15
8
219 Views
Last Modified: 2013-11-15
We are getting some NAS, presently our docs & departmental data is held on a few particular servers

i.e \\server001\departments\marketing\

our user docs are mapped ( as q:\) and pointed to a location on the \\server001\docs\username directory
will we have to go into each user name and change the mapped drive location of all their files or can this be done in a batch way?

the users have a mixture of roaming and static profiles.

Any suggestions / Comments would be most welcome

0
Comment
Question by:gigeorge
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 2

Expert Comment

by:FatherErvin
ID: 12318203
Is your group running Active dir?
0
 
LVL 20

Expert Comment

by:DVation191
ID: 12319860
You could write a reg file that contains the appropriate data, then use a logon script to execute it and make the change of the My Documents folder to the new location.

The path to the My Documents folder is stored in the following registry key, where path is the complete path to your storage location:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders
Value Name: Personal
Value Type: REG_SZ
Value Data: path
0
 

Author Comment

by:gigeorge
ID: 12319901
active dir yes !
0
 
LVL 17

Expert Comment

by:Jared Luker
ID: 12320712
Are you mapping their user drives through the login script, or putting the path into their account in AD?
0
 
LVL 12

Accepted Solution

by:
Mazaraat earned 250 total points
ID: 12321843
2 ways to do it either use Group Policies, or a logon script.

Group Policy:
OPen the policy you want to edit(or create a new one)
Expand User Configuration->Windows Settings->Folder Redirection
Here you can change the path to the My Documents

Link on how-to:
http://www.windowsdevcenter.com/pub/a/windows/2004/08/24/folder_redirect.html
*********

Logon script you would add something like this:

'--------------------8<--------------------
' Change new path here
strMyDocPath = "U:\"
Set WshShell = CreateObject("WScript.Shell")
WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\" _
   & "Explorer\Shell Folders\Personal", strMyDocPath, "REG_SZ"
WshShell.RegWrite "HKCU\Software\Microsoft\Windows\CurrentVersion\" _
   & "Explorer\User Shell Folders\Personal", strMyDocPath, "REG_SZ"
'--------------------8<---------------------


0

Featured Post

Comparison of Amazon Drive, Google Drive, OneDrive

What is Best for Backup: Amazon Drive, Google Drive or MS OneDrive? In this free whitepaper we look at their performance, pricing, and platform availability to help you decide which cloud drive is right for your situation. Download and read the results of our testing for free!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When we purchase storage, we typically are advertised storage of 500GB, 1TB, 2TB and so on. However, when you actually install it into your computer, your 500GB HDD will actually show up as 465GB. Why? It has to do with the way people and computers…
The question appears often enough, how do I transfer my data from my old server to the new server while preserving file shares, share permissions, and NTFS permisions.  Here are my tips for handling such a transfer.
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question