That is correct. The share permissions are actually a registry setting that
you would need to import. In fact here is the TechNet article describing how
to do this.
********************************
Rene Paquin
Library Network Administrator
Wilfrid Laurier University
Waterloo, Ontario
Phone - (519)884-0710 x3795
E-Mail - [EMAIL PROTECTED]
********************************
PSS ID Number: Q265704
Article last modified on 10-27-2000
winnt:4.0
======================================================================
----------------------------------------------------------------------------
---
The information in this article applies to:
- Microsoft Windows NT Server version 4.0
----------------------------------------------------------------------------
---
SUMMARY
=======
This article describes how to copy files from one share to another while
preserving the original NTFS file system file permissions and replacing the
share permissions on the destination share with the permissions of the
source
share.
MORE INFORMATION
================
IMPORTANT: This article contains information about editing the registry.
Before
you edit the registry, make sure you understand how to restore it if a
problem
occurs. For information about how to do this, view the "Restoring the
Registry"
Help topic in Regedit.exe or the "Restoring a Registry Key" Help topic in
Regedt32.exe.
WARNING: Using Registry Editor incorrectly can cause serious problems that
may
require you to reinstall your operating system. Microsoft cannot guarantee
that
problems resulting from the incorrect use of Registry Editor can be solved.
Use
Registry Editor at your own risk.
For information about how to edit the registry, view the "Changing Keys and
Values" Help topic in Registry Editor (Regedit.exe) or the "Add and Delete
Information in the Registry" and "Edit Registry Data" Help topics in
Regedt32.exe. Note that you should back up the registry before you edit it.
If
you are running Windows NT or Windows 2000, you should also update your
Emergency Repair Disk (ERD).
You can move files from one share to another and retain the original NTFS
file
permissions by using the Scopy.exe utility, which is included in the Windows
NT
Server 4.0 Resource Kit.
To transfer share permissions from a share on one server to a share of the
same
name on a different server, you must save the Shares registry key on the
source
server, and then restore this key on the destination server. Transferring
share
permissions from one server to another replaces the existing share
permissions,
which will be lost.
1. To copy files from one share to another, preserving the original NTFS
file
permissions, run the SCOPY command at the command line with the following
syntax:
" SCOPY source_path destination_path /O /A /S" (without the quotation
marks)
where the /O option is used to copy owner security information, the /A
option
is used to copy auditing information, and the /S option is used to copy
all
files in subdirectories.
2. Save the Shares registry key on the source server to a floppy disk:
a. Start Registry Editor on the source server.
b. Locate the following registry key:
HKEY_LOCAL_MACHINE\System\ControlSet\Services\LanmanServer\Shares\sharename
c. On the Registry menu, click Save Key.
d. Save the key to a floppy disk.
e. Quit Registry Editor.
3. On the destination server, back up the Shares registry key, and then
restore
the saved registry key from the source server to the destination server:
NOTE: Performing this procedure replaces the existing permissions on the
destination share.
a. Start Registry Editor on the destination server.
b. Locate the following registry key:
HKEY_LOCAL_MACHINE\System\ControlSet\Services\LanmanServer\Shares\sharename
c. To back up this registry key, on the Registry menu, click Save Key. In
the
Save Key dialog box, specify where you want to back up the key, and
then
click Save. Backing up the registry key allows you to restore the
original
share permissions if you choose to do so later.
d. To replace the share permissions on the destination share with those
from
the source share, restore the key you previously saved to the floppy
disk.
On the destination server, on the Registry menu, click Restore. Select
the
saved key, and then click Open.
e. Quit Registry Editor, and then restart the destination server.
Additional query words:
======================================================================
Keywords :
Technology : kbWinNTsearch kbWinNT400xsearch kbWinNTSsearch
kbWinNTS400xsearch kbWinNTS400
Version : winnt:4.0
Issue type : kbinfo
============================================================================
=
Copyright Microsoft Corporation 2000.
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of
[EMAIL PROTECTED]
Sent: Monday, December 10, 2001 12:59 PM
To: MSWinNT Discussions
Subject: RE: folders and shares permissions
thanks to all
but, if i understand this right, scopy will take care of file permissions
(ntfs), but will ignore the shares.
what do you suggest for this? export from the source's registry and import
to the destination?
TC
> Correct. I even sent scopy.exe to him, so he doesnt need to look for the
> reskit :)
>
> \\pb
>
>
> -----Original Message-----
> From: Patrick R. Sweeney [mailto:[EMAIL PROTECTED]]
> Sent: segunda-feira, 10 de Dezembro de 2001 16:04
> To: MSWinNT Discussions
> Subject: RE: folders and shares permissions
>
>
> SCOPY - I believe it is in the Reskit. SCOPY /? for more info.
> Functionality to preserve permissions when copying between machines is
built
> into XCOPY as an option in Win2K and WinXP.
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of
> [EMAIL PROTECTED]
> Sent: Monday, December 10, 2001 7:58 AM
> To: MSWinNT Discussions
> Subject: folders and shares permissions
>
>
> Can anyone help?
>
> Scenario: two similar machines (bdc), running NT4 and connected to the
same
> network (they can "see" each other). What is needed: copy the entire file
> structure from drive D: (NTFS) of machine A to drive D: (NTFS) of machine
B,
> preserving the exact file and share permissions. (Over the network,
maybe??)
> Problem: there is no tape drive on any of these two machines.
> Solution: that's what I wanted you to tell me...
>
> If you need any other info, please tell me.
>
> Thanks a lot!
>
>
> TC
>
> ------
> You are subscribed as [EMAIL PROTECTED]
> Archives: http://www.swynk.com/sitesearch/search.asp
> To unsubscribe send a blank email to [EMAIL PROTECTED]
>
>
> ------
> You are subscribed as [EMAIL PROTECTED]
> Archives: http://www.swynk.com/sitesearch/search.asp
> To unsubscribe send a blank email to [EMAIL PROTECTED]
>
> --------------------------------------------------------------------------
-
> This message may contain confidential information or privileged material,
> and is intended only for the individual(s) named.
> If you are not in the named addressee you should not disseminate,
distribute or copy this e-mail.
> Please notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
> E-mail transmission cannot be guaranteed to be secure or error-free as
> information could be intercepted, corrupted, lost, destroyed, arrive late
or
> incomplete, or contain viruses.
> The sender therefore does not accept liability for any errors or omissions
in the contents of this message which
> arise as a result of e-mail transmission. If verification is required
please
> request a hard-copy version.
>
> If you have received this message in error, please notify us by e-mail
> ([EMAIL PROTECTED]) and then delete the email and any copies of it.
> Thank you for your assistance.
>
>
>
> This mail was processed by Mail essentials for Exchange/SMTP,
> the email security & management gateway. Mail essentials adds
> content checking, email encryption, anti spam, anti virus,
> attachment compression, personalised auto responders, archiving
> and more to your Microsoft Exchange Server or SMTP mail server.
> For more information visit http://www.mailessentials.com
------
You are subscribed as [EMAIL PROTECTED]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]
------
You are subscribed as [email protected]
Archives: http://www.swynk.com/sitesearch/search.asp
To unsubscribe send a blank email to [EMAIL PROTECTED]