Solved

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

Posted on 2004-10-15
8
216 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
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

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cloud Backup -- search by date range ? 1 76
Linux Filesystems reporting faster growth than actual file growth... 7 57
backup computers on Workgroup 10 61
Nimble Storage 3 68
This article is an update and follow-up of my previous article:   Storage 101: common concepts in the IT enterprise storage This time, I expand on more frequently used storage concepts.
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video teaches viewers how to encrypt an external drive that requires a password to read and edit the drive. All tasks are done in Disk Utility. Plug in the external drive you wish to encrypt: Make sure all previous data on the drive has been …
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…

776 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