Celeb Glow
general | March 03, 2026

xcopy fails with insufficient memory error

I am trying to create a backup of my c drive to another drive using a windows bootable USB stick and in troubleshooting mode.

See here as to why I am doing this

I can't install other software (I don't think). I ran the command:

c:\*.* d:\cBackup\ /e /f /h /k /j /c

and got

Insufficient memory 305157 Files copied

I notice that there is no Windows folder in the destination.

Does that mean that it copied everything that it could, and had some paths that were too long? Or that it failed the first time it had a path that was too long?

What other options do I have for making this backup?

3

1 Answer

In the end I used robocopy

Note that, robocopy has some odd defaults. If it can't copy a file, it will retry in 30s, up to 1,000,000 times...

So I set those options to 1 sec and 5 times.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy