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: Robocopy - Access denied Error 5 Real Directory

18 Jul 2012   #1
MPAzevedo

Windows 7 Pro 64bit
 
 
Robocopy - Access denied Error 5 Real Directory

Hello folks,

I know similar questions have been asked but I "might" have a unique one. What I have been trying to do is to copy the "C:\Users", "C:\Program Files", & "C:\Program Files (x86)" to another clean hard drive "D:\".

I'm doing this to make more room for the OS in the C: drive while date will be in the D: drive. Now I have successfully robocopy Program Files & Program Files (x86). I also have copied most of the Users directory but for this stubborn Real\update directory. This is I think the real player program. I get this Access Denied and "Error 5" error. I am in elevated command prompt. I achieved this via the Repair your computer prompt on the Windows install DVD.

I also have rmdir for Program Files & Program Files and have made a mklink for both of them so windows knows where they will be. But I have not did a full boot because I don't think windows will access my Users directory because they have been moved over to the new drive. What I can only do will have to be via the command prompt.

I can't make a mklink for Users because I get an error saying something about duplicate areas? What I was trying to do is go to this Real\update directory but even trying to access that directory via cd commands will not work, giving me a access denied. Again I am in elevated command prompt "Administrator:X:\windows\system32\cmd.exe How can I get to that directory. I just want to delete it now since I have all the files I need. I just want to create a junction point for Users directory linked to the D: drive.

I used the following command: mklink "D:\Users" C:\Users" /J
Grant it the D and C are turned around but in Windows Recovery Console it mixes up the drive letters but I know what is the source drive and destination drive. I verified this via the Volume Drive Titles.

Any help would be most grateful. I don't have any screen shots due to I am at work and I probably don't know how to do it and it would not work due to I have not fully booted up for fear that windows might have errors.
Thanks


My System SpecsSystem Spec
.
18 Jul 2012   #2
townsbg

Mac OS X 10.10.5
 
 

You probably just can't move your program files due to the possibility of config files and registry entries that are looking for your programs on the c drive since that's where they where installed. They should be reinstalled if you want to move them. Also if you move the profiles folder (under c:\user) it will break your profiles and you will need to change the location in the registry. I suggest that you put everything back and just move your personal files, music, pics, & videos on another drive. That should free up a lot of space.
My System SpecsSystem Spec
18 Jul 2012   #3
MPAzevedo

Windows 7 Pro 64bit
 
 

Quote   Quote: Originally Posted by townsbg View Post
You probably just can't move your program files due to the possibility of config files and registry entries that are looking for your programs on the c drive since that's where they where installed. They should be reinstalled if you want to move them. Also if you move the profiles folder (under c:\user) it will break your profiles and you will need to change the location in the registry. I suggest that you put everything back and just move your personal files, music, pics, & videos on another drive. That should free up a lot of space.
I understand what your saying but if you use Junction points you can "trick" windows into seeing where those files are located. I got this info from the following website.
How To Move Your Apps and User Files to a Secondary Drive - Tested
My System SpecsSystem Spec
.

18 Jul 2012   #4
townsbg

Mac OS X 10.10.5
 
 

Ok I didn't know about that. Check the permissions on the source folder and make sure that you have full permissions.
My System SpecsSystem Spec
18 Jul 2012   #5
MPAzevedo

Windows 7 Pro 64bit
 
 

Quote   Quote: Originally Posted by townsbg View Post
Ok I didn't know about that. Check the permissions on the source folder and make sure that you have full permissions.
Hmm, ok how would I go about that? I thought being in elevated command prompt was all that was needed. I thought administrator mode was all that was needed to access the full scope of the computer.
My System SpecsSystem Spec
18 Jul 2012   #6
townsbg

Mac OS X 10.10.5
 
 

Permissions - Allow or Deny Users and Groups

I haven't tried robocopy so I really don't have any idea but I do know that even with admin privileges both vista and 7 have denied me access to files/folders or to even move files/folders that I have created. You might try scanning the hard drive because there could be a problem with the files or you could uninstall real player (if you are sure that's what that folder is for) and delete the folder. Afterwards reinstall real player.
My System SpecsSystem Spec
18 Jul 2012   #7
MPAzevedo

Windows 7 Pro 64bit
 
 

After searching out the access denied problem I found out there is a bug with robocopy and the NTFS copying. There was a quick fix but since I can't load windows because the users folder was in a different drive. I thought if I installed right over it might fix it. No dice. So I formatted the drive and starting fresh. I have the data backed up. Figure it was time for a "Summer" cleaning.

Thanks anyways for your help.
My System SpecsSystem Spec
19 Jul 2012   #8
townsbg

Mac OS X 10.10.5
 
 

No problem.
My System SpecsSystem Spec
Reply

 Robocopy - Access denied Error 5 Real Directory




Thread Tools





Similar help and support threads
Thread Forum
Robocopy and Group Policy generates 1 real & 1 Ghost file.
I have a script (Kindly originated by Golden in this thread http://www.sevenforums.com/backup-restore/317082-using-task-scheduler-fails-run-robocopy. ) Script robocopy I:\DATA M:\Backup_DATA /e /np /log:backup_log.txt which is run at shutdown. In my M:\ drive I have two identically named...
Backup and Restore
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
windows 7, GNS3 0.8.2; Error "can't create directory; access denied"
I get error "can't create directory C:\Program Files\GNS3\PROJECTS\test123" : access denied. this is when i click on "new blank project" so GNS3 tries to create new folder "test123" in the path mentioned in 1st line here. how to get it resolved so that GNS3 can create directory when I click on new...
Software
Directory & User Permissions, access denied
i was working on permissions, ownership, and auditing. i was wondering, a lot of files deny access regardless of whether i assume ownership, or so for my group. are those denials logged somewhere so I can delve into the purpose of those files and reason they are locked? too many to list from...
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
New Directory is Access Denied to Network
Created a directory d:\Videos. Shared it with Everyone with full read/write/change permissions. Despite being totally open to the (home) network, I cannot access it. I suspect this will always be the case with a new directory. How can I remove the padlock? I must have been able to do it...
Network & Sharing

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 19:34.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App