Access Denied Permissions Gone due to XCOPY

rcanino

New member
Member
VIP
Local time
8:47 AM
Messages
123
Location
Wash Heights, NYC
I used xcopy in an admin cmd prompt, just as a test to learn how to use it. I asked it to copy a small directory from one HDD to another.

It did but now the entire partition on the destination drive is locked - "Access Denied."

I didn't add anything crazy to the xcopy switches though I did tell it to copy the system files (though like i said I created this directory just as a test - doubt there were any system or hidden files - I can see my hidden files and there were none).

One mistake I've come across in my research on this might be that I didn't check the permissions on the destination drive before I used xcopy.

Now ... - even using Diskpart - even in the Recovery Console Cmd Prompt - the Volume is listed but "access is denied." Safe mode cmd prompt, System Restore - all no help.

Oh btw, I know the files are still there. Right after I ran xcopy I looked inside explorer. The tree on the left was expanded and I was able to click my folders inside the drive, but the top level R:\ drive would not open. Once I rebooted explorer closed the tree and now it won't expand. But I'm 99% sure the files/folders are still there inside R:\.

Also tried takeown /f R:\ /r /d n - same thing, "Access is denied." Also icacls R:\ /restore AclFile - same story.

I can't imagine how I corrupted the permissions to such a deep level but that's where I'm at. ANY HELP at all would be extremely appreciated...

I'd really like to figure this out so I don't make the same mistake again - and maybe the solution will help someone else.

Thanks for any thoughts you can share with me, I appreciate it!

UPDATE: running chkdsk now on R:\ /x /b - not sure if it'll complete but at least CHKDSK runs! It also correctly identified the label for R:\, which is "Caches." First time I've seen the label show up anywhere since running xcopy.

CHKDSK completed, no errors or bad sectors found.

Interesting and frustrating:

I can run ICACLS R:\Handbrake /inheritance:d
"Successfully processed 1 files; Failed processing 0 files

But if I run the same command on the top-level R:\ directory it returns "Access is denied"

got to be an answer!

UPDATE #2: Chkdsk runs fine however when I try to run Defrag it reports "The given volume is currently locked. A format may be in progress, or the disk checking tool is running. (0x89000027)"

UPDATE #3: set the hidden admin account to active and tried the icacls operations, tried simply cd \d R:\ - none of it worked, all still the same "Access is denied."

wow I've been stumped before but not like this...I REALLY hope someone has an idea how to fix it! Thanks!
 
Last edited:

My Computer My Computer

At a glance

Win7 Pro 64-bit sp1core i7 980XG.Skill 4Gx3 F3-10666CL9T-12GBRL (x2)EVGA 06G-P4-3787-KR
Computer type
PC/Desktop
OS
Win7 Pro 64-bit sp1
CPU
core i7 980X
Motherboard
MSI Big-Bang XPower X58
Memory
G.Skill 4Gx3 F3-10666CL9T-12GBRL (x2)
Graphics Card(s)
EVGA 06G-P4-3787-KR
Monitor(s) Displays
HP LP2475w (x2)
Screen Resolution
3840x1200
Hard Drives
Crucial RealSSD CTFDDAC128MAG-1G1 (boot drive);
Crucial m4 128GB;
Samsung 1TB HD103SJ 32M 7200rpm (x2);
WD Black WD2002FAEX 2TB (x2)
PSU
Corsair CMPSU-850HX
Case
HAF X
Cooling
Intel DBX-B (stock)
Well - over a day, 114 views and no response. I had a feeling I'd already exhausted my options before I posted. ICACLS, TAKEOWN, SAFE MODE, WINDOWS RECOVERY ENVIRONMENT, SYSTEM RESTORE... None of them helped at all.

So...I wiped the drive clean and started over. Thankfully it was only Cache and Pre-render files -I used Robocopy and grabbed a few files before I wiped the drive.

I sure wish I knew what went wrong with XCOPY...

***************************

Thanks Anyway Folks...

my advice if you're new to it, avoid XCOPY. I'll never use it again; ROBOCOPY has more options (I think it's even multi-threaded) and the documentation for it is way better too.
 

My Computer My Computer

At a glance

Win7 Pro 64-bit sp1core i7 980XG.Skill 4Gx3 F3-10666CL9T-12GBRL (x2)EVGA 06G-P4-3787-KR
Computer type
PC/Desktop
OS
Win7 Pro 64-bit sp1
CPU
core i7 980X
Motherboard
MSI Big-Bang XPower X58
Memory
G.Skill 4Gx3 F3-10666CL9T-12GBRL (x2)
Graphics Card(s)
EVGA 06G-P4-3787-KR
Monitor(s) Displays
HP LP2475w (x2)
Screen Resolution
3840x1200
Hard Drives
Crucial RealSSD CTFDDAC128MAG-1G1 (boot drive);
Crucial m4 128GB;
Samsung 1TB HD103SJ 32M 7200rpm (x2);
WD Black WD2002FAEX 2TB (x2)
PSU
Corsair CMPSU-850HX
Case
HAF X
Cooling
Intel DBX-B (stock)
The better advice is to be sure you're aware of how to use XCopy before doing so. XCopy has been in use for years and its reputation is pretty darn good :)
 

My Computer My Computer

At a glance

Windows 7 Ultimate RTM (Technet)3.00 gigahertz Intel Core2 Duo E84004GBATI Radeon X1950 Pro
Computer Manufacturer/Model Number
Custom
OS
Windows 7 Ultimate RTM (Technet)
CPU
3.00 gigahertz Intel Core2 Duo E8400
Motherboard
ASUSTeK Computer INC. P5K/EPU Rev 1.xx
Memory
4GB
Graphics Card(s)
ATI Radeon X1950 Pro
Sound Card
Built in HD Audio
Monitor(s) Displays
22" Gateway LCD
Screen Resolution
1920 x 1200
Hard Drives
ST3160023A [Hard drive] (160.04 GB) -- drive 0, rev 8.01, ST3500630AS [Hard drive] (500.11 GB) -- drive 2, rev 3.AAK
ST3500630AS [Hard drive] (500.11 GB) -- drive 1, rev 3.AAK
Keyboard
Logitech G11
Mouse
Microsoft Wireless Laser Mouse 5000
Internet Speed
13.44 Mbps
Use xcopy if you want but it produced an extremely bizarre result for me and it's not like I started blindly tapping keys into the CLI.

I assume what happened to me is fairly rare by the lack of response. I was hoping yours - well it doesn't matter.

Anyway, don't take it from me. Research both commands and you'll learn why robocopy is much preferred over xcopy.
 

My Computer My Computer

At a glance

Win7 Pro 64-bit sp1core i7 980XG.Skill 4Gx3 F3-10666CL9T-12GBRL (x2)EVGA 06G-P4-3787-KR
Computer type
PC/Desktop
OS
Win7 Pro 64-bit sp1
CPU
core i7 980X
Motherboard
MSI Big-Bang XPower X58
Memory
G.Skill 4Gx3 F3-10666CL9T-12GBRL (x2)
Graphics Card(s)
EVGA 06G-P4-3787-KR
Monitor(s) Displays
HP LP2475w (x2)
Screen Resolution
3840x1200
Hard Drives
Crucial RealSSD CTFDDAC128MAG-1G1 (boot drive);
Crucial m4 128GB;
Samsung 1TB HD103SJ 32M 7200rpm (x2);
WD Black WD2002FAEX 2TB (x2)
PSU
Corsair CMPSU-850HX
Case
HAF X
Cooling
Intel DBX-B (stock)
Have you tried a bootable OS and tried to access the drive?
 

My Computer My Computer

At a glance

Windows 7 x86/x64, Server 2008r2, Web Server ...i7 v2 3930K Steping stone 2G.SKILL Ripjaws Z Series 32GBAMD HD 5770
Computer Manufacturer/Model Number
SMN-Productions
OS
Windows 7 x86/x64, Server 2008r2, Web Server 2008
CPU
i7 v2 3930K Steping stone 2
Motherboard
ASUS Rampage IV Extreme
Memory
G.SKILL Ripjaws Z Series 32GB
Graphics Card(s)
AMD HD 5770
Monitor(s) Displays
Acer 21" and Samsung 20"
Hard Drives
Patriot Pyro 80GB
PSU
1000 Watt
Case
HAF-X
Cooling
4 Fans
Keyboard
Black Widow Ultimate
Back
Top