Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Copying directory with Robocopy skipped too many directory and files

03 Apr 2019   #11
johnhoh

Win7 pro x64
 
 

to repair bad sectors first do this from an elevated command prompt:

chkdsk C: /f /r /x

then a couple more ideas for the access denied issue are:

one idea

xcopy /C/H/R/S/Y c:\ d:\
/C = Continues copying even if errors occur
/H = Copies hidden and system files also
/R = Overwrites read-only files
/S = Copies directories and subdirectories
/Y = Overwrites existing files without asking

second idea
Robocopy's Access Denied message can happen when a file has an NTFS stream that tags the file as having been downloaded from the Internet or copied from a share. To delete the stream tag use the Streams utility command

streams -s -d c:\

Streams - Windows Sysinternals | Microsoft Docs

all of the above assumes source drive is C: and target drive is D:


My System SpecsSystem Spec
.
05 Apr 2019   #12
peter7277

Windows 7 Ultimate x64
 
 

Thanks for the help. I managed to migrate my data from the bad drive to a new drive and it seems all data is intact so far.
My System SpecsSystem Spec
05 Apr 2019   #13
johnhoh

Win7 pro x64
 
 

Quote   Quote: Originally Posted by peter7277 View Post
Thanks for the help. I managed to migrate my data from the bad drive to a new drive and it seems all data is intact so far.
what enabled it to work for you?
My System SpecsSystem Spec
.

06 Apr 2019   #14
peter7277

Windows 7 Ultimate x64
 
 

I just used robocopy to copy all files and directories. Maybe the hard disk wasn't damaged that much.
My System SpecsSystem Spec
Reply

 Copying directory with Robocopy skipped too many directory and files




Thread Tools




Similar help and support threads
Thread Forum
Directory Date modified is not updating after copying files into it
Hello, I'm working on windows enterprise 7 computer at work. Today I copied files from one network directory to a different network directory. When I looked at the date modified field in windows explorer it showed an older date then the files in the directory. On one of the directories I...
General Discussion
Files won't delete in directory - can't rename the directory either
So i have 3 files i cannot delete after uninstalling a game. I also cannot rename the folder they are in without windows explorer not responding and i have to restart explorer. I did take ownership method but that froze up to. I went into safe mode, and tried it that way - also didn't delete, it...
General Discussion
Robocopy /MOV command copying but not deleting from source directory
Hi All, I have one folder A and have another folder B in the same drive E: I need to move all the content from folder A which are more than 2 years old to folder B. Hence when I ran the robocopy it just copied and I lost all disk space in drive E. My question is even though I used /MOV...
General Discussion
Robocopy? Copy Directory Structure 1 level
I want copy a list of folders (a few hundred) to a new location. I tried using robocopy but can only get it to either copy the selected folder or all folders with subfolders. What I want is to only copy one level of folders and not the subfolders within. Example: C: Drive (the source) ...
General Discussion
Replace files in multiple directory, from a single directory
I have a 10 files that have all been categorised into about 40 folders. These files have been damaged. I have a backup of all these files, but they are not categorised and sit in a single directory. Does anyone know of an easy technique to batch replace the damaged files with the originals? ...
General Discussion


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 20:08.
Twitter Facebook