Hard Drive - Access Denied (Win 7)

Having just finally managed to remove my old windows directory from dirve d: (was vista) while in win7, I can point you to a blunt tool which will give you ownership and full permissions for a folder (and I assume a drive if required).

Taken from :
http://support.microsoft.com/kb/930527/en-us

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
WARNING: This will give all permissions to administrator, and you may still need permissions for other users (e.g.: SYSTEM and TrusedInstaller) for your backup/antivirus etc. to be able to use the drive..
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I just get "Invalid argument R/A".

I am typing : takeown /F E:\* /R/A
 
Do you have a spare drive? Or space on other drives for the stuff on the rogue drive?

If yes then what I would do is boot from a Ubuntu live USB stick and transfer the data from the rogue drive to another location.

Then just reformat the drive and put the stuff back on.
 
Do you have a spare drive? Or space on other drives for the stuff on the rogue drive?

If yes then what I would do is boot from a Ubuntu live USB stick and transfer the data from the rogue drive to another location.

Then just reformat the drive and put the stuff back on.

Yes, I have a few spare drives, but will it allow access to the drive to copy it?

If so, no-one else comes up with anything I will give this a whirl tonight. Would be nice to find out why it's happened, so I can try and prevent it again but getting the data back is obviously most important!
 
Might be worth starting from scratch. Remove yourself from the security tab, then apply ownership to the administrator group. Then in the security tab (without going advanced etc), just give yourself full permissions there as it might of corrupted a long the way and not actually gave you full permission as its states; This is windows after all :D
 
Might be worth starting from scratch. Remove yourself from the security tab, then apply ownership to the administrator group. Then in the security tab (without going advanced etc), just give yourself full permissions there as it might of corrupted a long the way and not actually gave you full permission as its states; This is windows after all :D

Hi, I'm not sure what you mean. Currently there is 2 options :

Administrators (Zaraal pc/Administrators)
&
System

System I had to add in myself (see further up the thread)
 
Might need a space between /R and /A as its seeing it as one argument.

right now were (possibly) getting somewhere.

It says " Error, the current logged on user does not have administrative abilities"

But (Administrators Zaraal/PC Administrators) is a big pointer towards me having admin abilities for the love of god. :confused:
 
If you have UAC enabled you may be an Admin, but Command Prompt may not have been started with admin privs? Try the RunAs command to elevate, or right click the shortcut for Command Prompt and choose from the popup menu.
 
If you have UAC enabled you may be an Admin, but Command Prompt may not have been started with admin privs? Try the RunAs command to elevate, or right click the shortcut for Command Prompt and choose from the popup menu.

^This. Always remember to run CMD as admin from now on. What is your username on the PC, is it Administrator or something unique?
 
Still no joy. I had my fingers crossed, the commands appeared to be different to what I had already used earlier but it cycled through everything, no errors at all.

End result : E:\Access Denied. :\
 
Still no joy. I had my fingers crossed, the commands appeared to be different to what I had already used earlier but it cycled through everything, no errors at all.

End result : E:\Access Denied. :\

Have you tried the reg file I suggested - I use it all the time.
 
Nope didn't work.

Strange.

So you have a drive full or folders/files that you can see in explorer but cannot access?

Here is a daft idea - can you share the folder and view its contents via the network (on the same pc)? If so do you have space enough to copy them across?
 
Last edited:
Strange.

So you have a drive full or folders/files that you can see in explorer but cannot access?

It says E:\ NTFS and that is it (in my computer).

My first thoughts were a corrupt drive but when I take ownership etc it scans through the files and you can see them named fine. Also it lists in Diskmanager as healthy etc..

Yup the drive was 95% full of files/folders.
 
If I were to reformat my C:\, would I get back access to the drive? I'd rather not as I only just formatted about 2 months ago, but if it's the only way...
 
Back
Top Bottom