My IT dept give me 2 servers (Windows server 2012 R2), the first one have 4TB data, the 2nd one have an empty 5TB partition.
I have admin privilege on both servers.
I have to move all data from server-1 to server-2.
While moving (may take some days - idk) my team member still access to server-1 to edit/create new files.
I can't use DFS.
When I simply open Windows Explorer and do <c-c> <c-v>
the server kicked me out and kill copy process after 15 minutes (I did try prevent this but anything works).
When I use Toucan to sync file, it got kicked out like Windows Explorer.
So, for you pro system admin, when you have to do my task with my privilege, what will you do?
![](../../users/profiles/89878.webp)
- 101
- 1
- 9
-
Copy the files to a hard drive, send it to the destination, copy it to the other server. Or use Resilio Sync. – Tim Aug 04 '18 at 10:00
-
1Might try freefilesync. It's easier to use than figuring out a robocopy command and if it fails will let you rescan. – Harrison Gibbs Aug 04 '18 at 13:50
-
1Do you have access to another machine on the same network, one that won't log you out? You could do the copy from there. Or you could use `psexec` (available from the MS web site) with `-s` and `-d` to start a command line running in system context on one of the machines, that will keep running even after you've logged out, and use robocopy. Awkward though. The *correct* solution is to get that absurd group policy changed. – Harry Johnston Aug 04 '18 at 23:01
-
@tim both servers is VM, so I can't do your suggest. – Luke Aug 06 '18 at 13:24
-
@HarryJohnston : I've try with `psexec` but got this error, could you give me a hint? C:\Users\longnx\Downloads\PSTools>PsExec64.exe \\10.133.28.55 ipconfig PsExec v2.2 - Execute processes remotely Copyright (C) 2001-2016 Mark Russinovich Sysinternals - www.sysinternals.com Couldn't access 10.133.28.55: The network path was not found. Make sure that the default admin$ share is enabled on 10.133.28.55. – Luke Aug 06 '18 at 13:31
-
1@Luke both of my suggestions work fine on a virtual server. Map the disk to your local PC, plug in a hard drive, copy files to it, send to destination, reverse the process. Resilio Sync would work fine too. – Tim Aug 06 '18 at 19:16
1 Answers
I would suggest ROBOCOPY, more information here:
Use /z so if the transfer is interrupted it can be resumed.
With some other good references:
Then to fix the issue of 15 minutes log out, one suggestion would be to run this as a scheduled task. That way it runs as a background process and doesn't require an interactive user session to keep running. This page has a nice tutorial about setting that up and as per the article you can have it record its progress and status to a log file so you can see how it is progressing - as well as checking the scheduled task status. See:
As per the article, robocopy is a command line tool and perhaps not as intuative as gui sync tools out there. However it does one thing and does it well and it is from Microsoft, so doesn't require you to install any third party tools which may not be approved by your information security team.
Hope that helps.
![](../../users/profiles/442886.webp)
- 1,654
- 4
- 11
-
1How will this prevent the server from logging the OP out after fifteen minutes? – Harry Johnston Aug 04 '18 at 22:57
-