troubleshooting Question

Robocopy on Windows Server 2012 r2 syntax

Avatar of Member_2_7964761
Member_2_7964761 asked on
Windows Server 2012
11 Comments5 Solutions4125 ViewsLast Modified:
Hello Experts,

I need to copy over an entire drive from one server to another. I wanted to use Robocopy and tried the following

robocopy \\servername\G$ \\servername\g$  

I get page file error (page in use)
so I tried
robocopy \\servername\G$ \\servername\g$  /XF pagefile.sys      but it only copied over some of the folders and data.

What is the correct syntax?

System Engineer

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 5 Answers and 11 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 5 Answers and 11 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros