Questions tagged [robocopy]

Robocopy is a command line file copy utility for Windows-based operating systems.

Robocopy is a Microsoft command line file copy utility that is built into Windows Server versions 2008 R2 and newer. Examples of basic functionality include directory mirroring, copying files over a network, restartable copy and multiple exclusion/inclusion flags.

272 questions
0
votes
0 answers

Robocopy - ERROR 87 (0x00000057) Accessing Destination Directory

I'm currently using a robocopy in a loop performing the following command over a number of different directories: robocopy $sourceFolder $purgeFolder /MOV /LEV:0 /MINAGE:$OlderThan All source folder paths are at the same level in our directory…
Etterz
  • 1
  • 1
  • 1
0
votes
1 answer

How to keep a local folder’s contents synchronized with a network share? (Windows)

I would like to have a local folder on all of my domain connected computers kept in sync with a share on one of my servers. Only Domain Admins and the SYSTEM account should have Modify permissions to the local folder and the share, everyone else…
Corey
  • 1,943
  • 12
  • 38
  • 53
0
votes
1 answer

Robocopy for only deltas in a certain time frame

Is there a way to utilize Robocopy to target only files/folders that were modified within a certain time range? For example, if there is a file share with n-number of folders/files dating back several years, how would I target only the ones that…
Helene
  • 1
  • 1
0
votes
0 answers

Permissions: Robocopy vs NTFS

It seems that NTFS rules take precedence over Robocopy when copying folders from one volume to another. Is there a way around this? Example: Copying a folder from one volume to another using the Robocopy /COPYALL switch should copy across all of the…
Rich M
  • 273
  • 2
  • 15
0
votes
1 answer

How can I Robocopy between servers and just manage the deltas without destroying existing content?

I've been playing around a bit with Robocopy on my local machine, and I'd like to do it between different servers now. I've stood up a server and created a blank folder called "Test2." On my local machine, I have a folder called "Test1" containing…
Tanya
  • 1
  • 1
0
votes
0 answers

What is the cause of ERROR 1327 "Account restrictions are preventing this user from signing in..." when ROBOCOPY is copying files?

I am using ROBOCOPY to copy some files from a remote share to a local folder on a server. The file set is fairly large (about 500,000 files). The copy process starts and runs successfully for an hour or two and then ROBOCOPY starts reporting an…
0
votes
1 answer

Copy files and folders by specific days of the month

I'd like to create a batch file to copy the files and folders by specific days. For example, 15th and 30th of the month(not 15th to 30th) copy the files and folder to another location. How can I write this script with xcopy or robocopy…
fedora
  • 11
  • 5
0
votes
2 answers

How to full copy the C:\Windows folder?

I have a question about cmd - robocopy, on my server. Is it possible to use that command as a way to emergency backup all files from C:\Windows? I am going to do some Windows Server Updates, and I have to save system catalogue in a way like it is.…
Renver
  • 11
  • 4
0
votes
1 answer

Use robocopy to only copy files not folders

I am trying to write a script that copies all files in my source folder to another folder but without the folder structure, so just the files. So far I have: robocopy "" "" /s /copyall Example: I have C:\1\2\3.txt and C:\4\5\6.jpg…
0
votes
2 answers

Use Robocopy or Powershell to search folder, rename and move

I'm trying to figure out a solution for this ex. paths C:\Designs\CustomerA\PhotoshopFiles\ C:\Designs\CustomerB\PhotoshopFiles\ C:\Designs\CustomerC\PhotoshopFiles\ What I want to do is move the PhotoShopFiles folder to a different one (Customer…
0
votes
0 answers

Is there a tool that allows mirroring of a merge of two source directories onto the given target directory without intermediate copying/moving?

robocopy makes it easy to mirror a single directory onto a target directory. But what if I have two source directories with disjoint sets of files and I want the merge of them to be mirrored? I do not want any auxiliary copyings. The directories are…
mark
  • 691
  • 2
  • 14
  • 31
0
votes
1 answer

Windows 2016 File Server - NTFS Permissioning issues

We are migrating 4 shares from NetApp to Windows 2016 File Server using following Robocopy command. 'Share Perms' on both sides are 'Everyone, Full Control' and expecting Robocopy to copy over 'NTFS Security Perms'. NetApp is in Production,…
0
votes
1 answer

Copy folder from network drive via GPO/scheduled task permissions

To install a portable software package, I'm using a scheduled task that runs on user logon to copy a folder from a network share to the local computer using robocopy. If I'm not mistaken, in order to access the network share, this needs to run under…
0
votes
1 answer

RoboCopy not copying all files and folders

This is a bit of an extension of this thread.. Robocopy silently missing files I have a similar problem. I am using RoboCopy to copy files to a USB disk that will be transported to another location. The log output is as follows: Started : Thu Apr 26…
MartynK
  • 1
  • 1
  • 1
0
votes
0 answers

Invoke Powershell Script Async? (Robocopy)

Our Backup Script runs every day. At the end of the month, every file should be moved to the "Staging" location, in order to be copied "to tape"... So, I wrote a PS-Script, moving all the files. Until now, this happened "synchronous" which was…
dognose
  • 164
  • 10