Help with Robocopy
Windows Server Forum Index Windows Server
Server discussion on Windows platform.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web winserverhelp.com
Help with Robocopy

 
Post new topic   Reply to topic    Windows Server Forum Index -> Migration
Author Message
gdoran
Guest





Posted: Fri Dec 24, 2004 2:49 am    Post subject: Help with Robocopy Reply with quote

Trying to copy over shared folders from NT4.0 system to NT2003 server. Want
to maintain folder rights and permissions and file permissions. Ideally I
would like it to create the top level share folder as well. I am wondering
if the problem has something to do with Nt2003 inherited folder permissions.
My top level permissions are more lax than the lower level folders. Here is
what I am doing.

robocopy "\\mainserver\GARY fOLDER" "d:\Gary Folder\" *.* /S /COPYALL /SEC

Where mainserver is old nt4.0 server
d:\ is drive on new system.
GARY fOLDER is shared folder to be copied over to new system.
Back to top
Bob Qin [MSFT]
Guest





Posted: Fri Dec 24, 2004 1:32 pm    Post subject: RE: Help with Robocopy Reply with quote

Hello,

Thanks for your posting here.

I think your command should work. Did you get any problem? What is the
detailed error message?

Thank you,

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Back to top
Peter B
Guest





Posted: Fri Dec 24, 2004 7:42 pm    Post subject: Re: Help with Robocopy Reply with quote

also try this syntax
create the share on your target server first, and use fqn's.

robocopy \\mainserver\old_folder \\newserver\\old_folder /S /SEC

"gdoran" <gdoran@discussions.microsoft.com> wrote in message
news:71EB51D1-DCE2-44E8-B40F-12427D4EA14C@microsoft.com...
Quote:
Trying to copy over shared folders from NT4.0 system to NT2003 server.
Want
to maintain folder rights and permissions and file permissions. Ideally I
would like it to create the top level share folder as well. I am
wondering
if the problem has something to do with Nt2003 inherited folder
permissions.
My top level permissions are more lax than the lower level folders. Here
is
what I am doing.

robocopy "\\mainserver\GARY fOLDER" "d:\Gary Folder\" *.* /S /COPYALL
/SEC

Where mainserver is old nt4.0 server
d:\ is drive on new system.
GARY fOLDER is shared folder to be copied over to new system.
Back to top
gdoran
Guest





Posted: Mon Dec 27, 2004 9:09 pm    Post subject: RE: Help with Robocopy Reply with quote

Not getting a error message. Top level security permissions get copied but
don't get the 2nd level of the tree permissions to come accross, just get
inherieted from the top level.

"Bob Qin [MSFT]" wrote:

Quote:
Hello,

Thanks for your posting here.

I think your command should work. Did you get any problem? What is the
detailed error message?

Thank you,

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------


Back to top
Bob Qin [MSFT]
Guest





Posted: Tue Dec 28, 2004 1:48 pm    Post subject: RE: Help with Robocopy Reply with quote

Please try to use the administrative share for the robocopy. In the above
example, your robocopy command would look something like this:

robocopy \\mainserver\c$\Gary Folder d:\Gary Folder\ *.* /E /copyall /sec

Wish it helps.

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
Back to top
gdoran
Guest





Posted: Mon Jan 03, 2005 11:27 pm    Post subject: Re: Help with Robocopy Reply with quote

Output folder, old_folder, is being copied across to 2003 server as r/o flag
set. Symtom of problem?

"Peter B" wrote:

Quote:
also try this syntax
create the share on your target server first, and use fqn's.

robocopy \\mainserver\old_folder \\newserver\\old_folder /S /SEC

"gdoran" <gdoran@discussions.microsoft.com> wrote in message
news:71EB51D1-DCE2-44E8-B40F-12427D4EA14C@microsoft.com...
Trying to copy over shared folders from NT4.0 system to NT2003 server.
Want
to maintain folder rights and permissions and file permissions. Ideally I
would like it to create the top level share folder as well. I am
wondering
if the problem has something to do with Nt2003 inherited folder
permissions.
My top level permissions are more lax than the lower level folders. Here
is
what I am doing.

robocopy "\\mainserver\GARY fOLDER" "d:\Gary Folder\" *.* /S /COPYALL
/SEC

Where mainserver is old nt4.0 server
d:\ is drive on new system.
GARY fOLDER is shared folder to be copied over to new system.



Back to top
gdoran
Guest





Posted: Tue Jan 04, 2005 3:59 am    Post subject: RE: Help with Robocopy Reply with quote

Tried using C$, didn't seem to make any difference. Been doing some
experiments. Made a four level folder. The only permissions that it is
getting is the very lowest folder.

"Bob Qin [MSFT]" wrote:

Quote:
Please try to use the administrative share for the robocopy. In the above
example, your robocopy command would look something like this:

robocopy \\mainserver\c$\Gary Folder d:\Gary Folder\ *.* /E /copyall /sec

Wish it helps.

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------


Back to top
gdoran
Guest





Posted: Tue Jan 04, 2005 4:01 am    Post subject: RE: Help with Robocopy Reply with quote

Tried using the C$, no difference. Did a little more experimental work, made
a four levels of folders. Only the very lowest level folder permissions are
working.

"Bob Qin [MSFT]" wrote:

Quote:
Please try to use the administrative share for the robocopy. In the above
example, your robocopy command would look something like this:

robocopy \\mainserver\c$\Gary Folder d:\Gary Folder\ *.* /E /copyall /sec

Wish it helps.

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------


Back to top
gdoran
Guest





Posted: Tue Jan 04, 2005 4:09 am    Post subject: Re: Help with Robocopy Reply with quote

Created old_folder on new system, setup same share permissions and folder
security permissions same as old. Did not make any difference. On a 4 level
of folders, only the very lowest folder got the correct permissions.

"Peter B" wrote:

Quote:
also try this syntax
create the share on your target server first, and use fqn's.

robocopy \\mainserver\old_folder \\newserver\\old_folder /S /SEC

"gdoran" <gdoran@discussions.microsoft.com> wrote in message
news:71EB51D1-DCE2-44E8-B40F-12427D4EA14C@microsoft.com...
Trying to copy over shared folders from NT4.0 system to NT2003 server.
Want
to maintain folder rights and permissions and file permissions. Ideally I
would like it to create the top level share folder as well. I am
wondering
if the problem has something to do with Nt2003 inherited folder
permissions.
My top level permissions are more lax than the lower level folders. Here
is
what I am doing.

robocopy "\\mainserver\GARY fOLDER" "d:\Gary Folder\" *.* /S /COPYALL
/SEC

Where mainserver is old nt4.0 server
d:\ is drive on new system.
GARY fOLDER is shared folder to be copied over to new system.



Back to top
gdoran
Guest





Posted: Tue Jan 04, 2005 4:57 am    Post subject: RE: Help with Robocopy Reply with quote

Could we be running into some problems with nt4.0 pdc local groups instead of
all individual usrers?

"Bob Qin [MSFT]" wrote:

Quote:
Please try to use the administrative share for the robocopy. In the above
example, your robocopy command would look something like this:

robocopy \\mainserver\c$\Gary Folder d:\Gary Folder\ *.* /E /copyall /sec

Wish it helps.

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------


Back to top
gdoran
Guest





Posted: Tue Jan 04, 2005 5:03 am    Post subject: RE: Help with Robocopy Reply with quote

Could going from a 4.0 PDC to a 2003 member server make the difference?

"Bob Qin [MSFT]" wrote:

Quote:
Please try to use the administrative share for the robocopy. In the above
example, your robocopy command would look something like this:

robocopy \\mainserver\c$\Gary Folder d:\Gary Folder\ *.* /E /copyall /sec

Wish it helps.

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------


Back to top
Bob Qin [MSFT]
Guest





Posted: Tue Jan 04, 2005 2:49 pm    Post subject: RE: Help with Robocopy Reply with quote

What is your meaning of lowest folder? Would you please show me the
structure?

for exmple:

c:\folder\folder2\folder3\folder4

Which one has problem in permissoins? all the permissions are lost or just
some certain users or groups?

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: =?Utf-8?B?Z2RvcmFu?= <gdoran@discussions.microsoft.com>
Subject: RE: Help with Robocopy
Date: Mon, 3 Jan 2005 13:59:04 -0800
Newsgroups: microsoft.public.windows.server.migration

Tried using C$, didn't seem to make any difference. Been doing some
experiments. Made a four level folder. The only permissions that it
is
getting is the very lowest folder.

"Bob Qin [MSFT]" wrote:

Quote:
Please try to use the administrative share for the robocopy. In
the above
example, your robocopy command would look something like this:

robocopy \\mainserver\c$\Gary Folder d:\Gary Folder\ *.* /E
/copyall /sec

Wish it helps.

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your
newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------


Back to top
gdoran
Guest





Posted: Tue Jan 04, 2005 11:57 pm    Post subject: RE: Help with Robocopy Reply with quote

Input directories
c:\folder = Administrator=full, gdoran=full
folder2 = Administrators Group=full, gdoran=full,dc=read/execture
folder3 = Administrator=full, Administrators Group=full but greyed,
dc=read/execute, gdoran=full
folder4 = Administrators Group = full, gdoran=full
folder5= Administrator = full, gdoran=full(greyed), dc=read/execute

Output Directories
folder 1-4 = Administrator=full (grey), gdoran=full(grey)
folder5=Administrator=full(grey), gdoran=full(grey), dc=read/execute

"Bob Qin [MSFT]" wrote:

Quote:
What is your meaning of lowest folder? Would you please show me the
structure?

for exmple:

c:\folder\folder2\folder3\folder4

Which one has problem in permissoins? all the permissions are lost or just
some certain users or groups?

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: =?Utf-8?B?Z2RvcmFu?= <gdoran@discussions.microsoft.com
Subject: RE: Help with Robocopy
Date: Mon, 3 Jan 2005 13:59:04 -0800
Newsgroups: microsoft.public.windows.server.migration

Tried using C$, didn't seem to make any difference. Been doing some
experiments. Made a four level folder. The only permissions that it
is
getting is the very lowest folder.

"Bob Qin [MSFT]" wrote:

Please try to use the administrative share for the robocopy. In
the above
example, your robocopy command would look something like this:

robocopy \\mainserver\c$\Gary Folder d:\Gary Folder\ *.* /E
/copyall /sec

Wish it helps.

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your
newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------





Back to top
Bob Qin [MSFT]
Guest





Posted: Thu Jan 06, 2005 6:02 pm    Post subject: RE: Help with Robocopy Reply with quote

You can try to use the /SECFIX switch to refresh security information for
existing subdirectories without copying file data. /SECFIX copies
permissions for newly copied files and refreshes security information for
existing destination files and directories.

Please refer to the following article:

323275 How to Use Robocopy to Copy Security Information Without Copying Any
http://support.microsoft.com/?id=323275

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
From: =?Utf-8?B?Z2RvcmFu?= <gdoran@discussions.microsoft.com>
Subject: RE: Help with Robocopy
Date: Tue, 4 Jan 2005 09:57:04 -0800
Newsgroups: microsoft.public.windows.server.migration

Input directories
c:\folder = Administrator=full, gdoran=full
folder2 = Administrators Group=full, gdoran=full,dc=read/execture
folder3 = Administrator=full, Administrators Group=full but greyed,
dc=read/execute, gdoran=full
folder4 = Administrators Group = full, gdoran=full
folder5= Administrator = full, gdoran=full(greyed), dc=read/execute

Output Directories
folder 1-4 = Administrator=full (grey), gdoran=full(grey)
folder5=Administrator=full(grey), gdoran=full(grey), dc=read/execute

"Bob Qin [MSFT]" wrote:

Quote:
What is your meaning of lowest folder? Would you please show me the
structure?

for exmple:

c:\folder\folder2\folder3\folder4

Which one has problem in permissoins? all the permissions are lost
or just
some certain users or groups?

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your
newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.

--------------------
From: =?Utf-8?B?Z2RvcmFu?= <gdoran@discussions.microsoft.com
Subject: RE: Help with Robocopy
Date: Mon, 3 Jan 2005 13:59:04 -0800
Newsgroups: microsoft.public.windows.server.migration

Tried using C$, didn't seem to make any difference. Been
doing some
experiments. Made a four level folder. The only permissions
that it
is
getting is the very lowest folder.

"Bob Qin [MSFT]" wrote:

Please try to use the administrative share for the
robocopy. In
the above
example, your robocopy command would look something like
this:

robocopy \\mainserver\c$\Gary Folder d:\Gary Folder\ *.*
/E
/copyall /sec

Wish it helps.

Regards,
Bob Qin
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security

====================================================
When responding to posts, please "Reply to Group" via your
newsreader so
that others may learn and benefit from your issue.
====================================================
This posting is provided "AS IS" with no warranties, and
confers no
rights.

--------------------





Back to top
 
Post new topic   Reply to topic    Windows Server Forum Index -> Migration All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




New Topics Powered by phpBB