Discussion Locked

Migrating folder/shares from NT to 2000

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

My company has a file server running NT4 spk6. We have a company share called xxxx. We have a new server running Win2K server which will replace it. We would like to move the folder which has all the company files and folders from the NT box to the 2000 box. Is there a tool that will basically copy this folder from one server to another WITH the shares and rights to the new Win2K server? I've used the printmig utility in the past for migrating printers with their shares to another server and I would like to do the same except with the file/shares.

Thanks,

TJ

8 replies

by nettek

scopy.exe from the resource kit moves folders and keeps permissions. It works between any Windows NTFS partitions.

Also, any decent backup software allows you to copy folders and shares, with their permissions, to another server.

by pat.stone

We have tested a couple of different ways to copy files from a NT4 SP6a server to a Windows 2000 server and keep the shares/permissions the same after the copy. I have personnaly found two products (from the NT4 resource kit)that work well. Be advised that we have not been able to find a product that will recreate the shares for you. The following MS article talks about this. Q141589

Here is the information on the 2 resource kit products:

1. SCOPY (works great and is fast, though it WILL NOT recreate your shares).

Copies files and directories to and from NTFS partitions with security intact. SCOPY will not copy files to or from FAT, HPFS, or other non-secured file systems. SCOPY requires that you have Backup and Restore files User Rights
on both the source and destination computers.

Parameters must be given in the order specified below.

SCOPY source destination [/o] [/a] [/s]

source Specifies files to copy.
destination Where to copy files to.
/o Copies owner security information.
/a Copies auditing information. Requires that you have the Manage Auditing User Right on both the source and destination computers.
/s Copies all files in subdirectories.

PermCopy

Is acommand-line utility that copies share-level permissions (access control lists [ACLs]) from one share to another. This utility can be found in the Windows NT Server 4.0 Resource Kit. Syntax is as follows:

Permcopy \\[source computer] [share][destination computer] [share].

Hope this helps.

by jordana

Sorry, don't know any third party utils, but here's something I wrote for the local user group. Using this, along with SCOPY.EXE from the Reskit will do it for you. You might even be able to use XCOPY /O /X from win2k along with the follwing. (This has been tested successfully).
------------

So, I am upgrading our files server from Windows NT to Windows 2000. Actually, I'm rebuilding it from scratch. So, after confirming a successful backup, I will be installing a fresh copy of Win2K on it. Boom! There goes all our shares. I was not looking forward to recreating over 800 shares! So, here's how I turned that 2-3 hour job into a 2-3 minute job!

In Windows, there is a key that stores all of the shares. it's located at: HKLM\system\CurrentControlSet\services\lanmanserver\shares. Cool eh?

Step 1: where are thos pesky shares?

Go to the file server, and log on.
Start->run-> regedt32 (cuz regedit is just for searching!).
Crank open HKEY_LOCAL_MACHINE. Double click System->CurrentControlSet->Services->LanManServer->Shares.

You should now see a list of all the shares on that server in the right hand pane.

Step 2: Let's get those shares out!

With Shares highlighted go to Registry->Save Key. Save the key to a floppy if you have enough room, otherwise save it someplace safe (funny note: if you are rebuilding your file server, it's probably not a good idea to save it to your home drive! :) ).

Intermission: rebuild your server here, or move the data to thenew box, or do whatever

(use Scopy.exe to keep file acls when copying)

Step 3: Getting those shares back in

Repeat Step 1. Now with shares highlighted, select Registry -> Restore, and point to the file we saved in Step 3. That's it.

Pretty Easy, eh?
(yes, I'm Canadian! eh?)
Jordan

This discussion is closed to new replies.