Jump to content

Recommended Posts

Posted

Hi I am currently looking at migrating our staff and students to our new fileservers, this would be easy but the previous IT manager at my new school has set the home drive structure as \\Students\year of start\%username%\My Documents\ instead of \\Students\year of start\%username%\.

 

I have two questions:-

1. How has he done this as when I try and add the homedrive location in AD it doesn't allow me to?

2. Is there a way of using robocopy to migrate students homedrives from \%username%\My Documents\ to \%username%\?

 

Jon

Posted

 @echo off
FOR /d %%i in ("*") DO (
echo 1 - We found %%i 
Robocopy Z:\StudentHomeDrives2\14\%%i Y:\StudentHomeDrives2\14\%%i\Documents /MOVE /S /R:2 /W:1 /XD Documents 
)

 

Obviously will need to change your paths etc, but that's how we did it :) (Would be reverse for you I guess though as we did it to MyDocuments as that's needed to fix other issues

 

Steve

Posted

If you don't use a subfolder or make modifications to desktop.ini it'll rename the user folders to Documents

 

So if you have \\myFile\Jim it'll rename it to \\MyFile\Documents for every single folder

 

e.g. Richard Willis – SharePoint Learning Kit Coordinator, SalamanderSoft Owner » How To Stop Home Folders Being Renamed Documents in the Network Share

e.g. Windows 7 Folder Redirection rename the Home folder in "My Documents" - Microsoft Reduce Customer Effort Center - Site Home - TechNet Blogs

e.g. http://www.edugeek.net/forums/windows-server-2008/53755-home-folders-renames-my-documents.html

 

Lots of way to fix it but using sub-folders is the simplest :)

e.g.

 

Steve

Posted

Backup and restore is the best and safest method of moving to new file server. I dont think robocopy has any file verification built in to prevent possible corruption (i know copying by cmd doesnt)

I just wait for my out of ours dpm backup to take place, then restore with permissions to new location. Then select all users in ad and change home path to \\newserver\students\%username%\ and this is all automatically filled in.

 

I have now put all home directorys on a dfs share so all i need to do in future is add and remove a dfs location. No changing home drive locations

  • Thanks 1
Posted

use Robocopy every year to copy our year 9 students from our KS3 to KS4 server and never had ant issues with file corruption. Just then-repoint AD to the new location with %username% , grant full control and job done.

 

I was going to go DFS, but yet to as wondered if any way to not have it show sysvol folders when browsing to the root DFS location.

Posted
Hi I am currently looking at migrating our staff and students to our new fileservers, this would be easy but the previous IT manager at my new school has set the home drive structure as \\Students\year of start\%username%\My Documents\ instead of \\Students\year of start\%username%\.

 

I have two questions:-

1. How has he done this as when I try and add the homedrive location in AD it doesn't allow me to?

2. Is there a way of using robocopy to migrate students homedrives from \%username%\My Documents\ to \%username%\?

 

Jon

 

Why doesn't it allow you to add it in AD?

 

Are you sure the sub folder is called My Documents as Windows 7 would rename it to this based on the desktop.ini file.

Posted

I was going to go DFS, but yet to as wondered if any way to not have it show sysvol folders when browsing to the root DFS location.

 

Not worth worring about really. Theres nothing special in there. Inless your setting local admin passwords via gpo

Posted
Why doesn't it allow you to add it in AD?

 

Are you sure the sub folder is called My Documents as Windows 7 would rename it to this based on the desktop.ini file.

 

No issues i worked out why ad couldn't do it, all sorted now.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...