Robocopy will not run

Posted on 2014-08-13
Last Modified: 2014-08-14
I am trying to use robocopy to copy a few files from one network share to another network share.  robocopy \\nas\files \\nas2\files  /mir  /sec.  When I try to run this command it just sits at \\nas\files and doesn't transfer anything.  I checked permissions and everything looks to be ok.
Question by:dcitdir
    LVL 89

    Expert Comment

    by:John Hurst
    Open cmd.exe with Run as Administrator and see if the command works now.

    Author Comment

    Tried that and it does the same thing.  I tested on another share that has the same permissions and the command works.
    LVL 10

    Accepted Solution

    Did your test that WORKED use the same destination?  If not, I would double check the "READ ONLY" setting on the destination.
    As a sanity check: what happens if you MANUALLY copy a couple of files from the same source & destination, using say... windows explorer?
    Is it possible the source files, or source file system is corrupted?  Running CHKDSK on the source should at least eliminate possible file system corruption.  Can the files be opened and looked at to confirm they are not corrupt?

    You mentioned SHARE permission, can you confirm you ALSO have NTFS permissions on the folder and files in question? (two separate sets of permissions to be checked)

    Author Comment

    The test was to the same destination folder.  I manually copied a few files and they copied without any issue. I have been running this regularly for the past few months and it just stopped working.  I decided to try rename the folder on the destination and try run and it worked.  Perhaps something corrupt in that folder.
    LVL 10

    Expert Comment

    >> been running this regularly for the past few months
    How many files were in the destination before you renamed it?  If it contained 1000's of files, this COULD cause a delay.  

    Did you change the destination in your command, or rename the actually destination folder (so a new one is created when the command runs)?

    Corruption:  I would recommend a backup followed by a CHKDSK operation.  If the NAS is not a windows box, perhaps it has some tool in it's interface to do this?

    Glad you got it working!

    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    One of the features I've come to appreciate about Windows 7 and Windows Server 2008 R2 is the ability to pin applications to the task bar. As useful a feature as I've found this, it does have some quirks.  For example, have you ever tried pinning an…
    OfficeMate Freezes on login or does not load after login credentials are input.
    This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
    With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now