Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

File Migration

Status
Not open for further replies.
May 19, 2004
174
US
Ok.. Age old question probably... I have an outdated 2003 Server that I need to migrate the files off of and onto a new server. For odd reasons such a available storage space, etc.. to a DC running 2003 Server Standard. What would be the most feasible way to rip the files and permissions across and be able to avoid going computer to computer to recreate the shares/mappings. Most of the shares are the same except for a group of managers and they have one share for themselves and one share seperate for our acct. department.
 
Files and permissions can easily be done with Robocopy.

Shares are a little harder. We use Scriptlogic's Secure Copy because we had money once. It does shares and permissions with a nice GUI but is VASTLY overpriced.

Do a search in the forum though I'm sure I've seen previous suggestions for easy ways of transferring shares.

As to updating the clients one of MarkDMac's scripts will no doubt do the job. Try the forum FAQ's for W2003 and W2000.

Neill
 
Agreed robocopy is the best way for maintaining shares. I'm just wondering if NTBackup will restore shares as well as NTFS permissions it might be worth testing as this is buitin and free, you could backup to a file and then restore to the new location.

As for the drives a VB logon script will be able to solve your problem.

Code:
On Error Resume Next

Dim WSHNetwork, clDrives, i, WSHPrinters, path

Set WSHNetwork = CreateObject("WScript.Network")


'This section will remove all old drives
'----------------------------------------


'Disconnect ALL mapped drives
Set clDrives = WshNetwork.EnumNetworkDrives
For i = 0 to clDrives.Count -1 Step 2
     WSHNetwork.RemoveNetworkDrive clDrives.Item(i), True, True
Next


'This will map any shares that you specify here
'-----------------------------------------------


WSHNetwork.MapNetworkDrive "S:", "\\server\share1$"
WSHNetwork.MapNetworkDrive "W:", "\\server\share2"
WSHNetwork.MapNetworkDrive "P:", "\\server\share3"


set WSHNetwork = Nothing
set WSHSHell = Nothing
set clDrives = Nothing


wscript.quit
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top