# You dont currently have permission to access this folder error

I bought a new SATA Hard drive and installed a fresh copy of Windows 7 on it. I also installed my old one beside the new SATA HD.

Now I want to access my images / musics and videos but I get this error:

You dont currently have permission to access this folder, click continue to permanently get access to this folder

and when I click continue, I get this new error:

You have been denied permission to access this folder

when I go to the securiy tabs, my username (which is also the administrator on the pc) is not there - My new HDD is called C: and the old one is E: - I tried this link and run the CMD - but the CMD directory is:

C:\Windows\System32>

and my drive is E:.

-
... ok. So, if following the advice of "takeown /F C:\Path\to\the\folder" you would change the C to E, and change \path\to\this\folder to the actual location of your stuff. Like, if you were talking about stuff that was in a folder located at E:\Users\Johnny and you wanted to take ownership of everything in the Johnny directory, you would type "takeown /F E:\Users\Johnny" without the quotes. –  Bon Gart May 9 '12 at 3:18
The only mess is with your drive letters and as @BonGart suggest to take ownership of the directory you will be able to access the drive. –  avirk May 9 '12 at 3:20
Okay , I did the takeown and i got a success message , but when I open the file I get the same no permission message –  Dave May 9 '12 at 3:26
@dave what response you got lest us know about that. –  avirk May 9 '12 at 3:29
I have a file called Pictures , there are 12 folders inside of it , inside each folder there is at least 5 folders , every time I try to access theme I get "You dont currently have permission to access this folder, click continue to permanently get access to this folder" –  Dave May 9 '12 at 3:31

Variation of problem I experienced:

I had windows 7 installed but it was giving me issues so i re installed the same windows (windows 7 ultimate) on top of the old and suddenly a whole drive was not allowing me access and when i was hit with all the prompts i was going through the security tabs to find out what was going on, it was coming up saying the owner of the file is unknown, i would then set my admin as owner and then i was able to get into the file but the movie inside was coming up saying it was again incorrect user.

Fix used:

First of all I right click on the hard drive itself then:

1. properties
2. Security
5. in enter the object name Type: Everyone then press check names then OK
6. highlight the everyone user and tick the allow all box then apply
7. reselect the user Everyone and select advanced
8. select owner tab at top

if yours is like mine it will say something like current owner is unknown (not a direct quote)

9. select edit at the bottom

10. select admin then select the tick box Replace Owner on sub containers and objects (very important you tick) select apply.

This will then go through all the files and sub files and change owner to yourself.

-