Tech Support Forum banner
Status
Not open for further replies.

Can't access folders in windows 7

2.2K views 21 replies 4 participants last post by  Corday  
#1 ·
I've being denied access to folders as the only user (as ad adminstrator) on Windows 7. I read this:

"Access Denied" or other errors when accessing or working with files and folders in Windows

On how to resolve it, but I can not change the checkboxes, they are all greyed out for me, under all 3 accounts listed.

More simply, how can I allow myself access to everything- like I should have already. This is some weird feature of windows 7 to protect you from doing accidental harm to your computer- I never needed it in XP, and will take the risk.
 
#2 ·
You are saying, when you try to take ownership of the folder the box is greyed out?

Are you sure you clicked advanced, Owner, Edit.
Choose your account or administrators, click the box that says Replace owner on subcontainers and objects then hit OK
 
#4 ·
Hi, Do you have a copy of the OS? If so boot from it and select "repair your computer" go to a cmd prompt. And (if not, try this from an elevated cmd prompt.

Type

takeown /f C:\
press enter

You will see a success message the file c:\ now owned by.. "your user name".

next still at cmd prompt type:-

icacls C:\ /grant your user name:f
press enter

where your user name is the same as returned by the first cmd.

Restart computer and check it out.
 
#5 ·
Hi, Do you have a copy of the OS? If so boot from it and select "repair your computer" go to a cmd prompt. And (if not, try this from an elevated cmd prompt.
I do have the disk that came with my system yes, I should be able to boot from it. I've been meaning to post my specs on this system sometime (not my laptop which I already have) What is an elevated command prompt?

Type

takeown /f C:\
press enter

You will see a success message the file c:\ now owned by.. "your user name"
What does the f mean?

icacls C:\ /grant your user name:f
press enter
Do I type- grant your user name <username>?

where your user name is the same as returned by the first cmd.
I'm a little confused returned by the first cmd prompt? What do you mean?
 
#6 ·
if you do a takeown /? and a icacls /? at the command prompt you will see all the options, read up on what they do, like the /f

No, you do not type /grant your user name, you type /grant "Whatever your username is"

In the first command, it will tell you now owned by "your Username"
Type what the username is from the response in the first command

Say your username it Tom

First command takeown /f c:\
press Enter

It responds with
You will see a success message the file c:\ now owned by.. "tom"

In the second command you now type

icacls C:\ /grant Tom:f
Press Enter
 
#9 ·
And, I re-read this thread. I am not trying to take ownership of the folder no. I am simply trying to open it.

Right now (I've had this with multiple folders both on my C drive inside my desktop with Windows 7 and other hard drives using this desktop) I'm trying to open a folder called F:/Documents and Settings/Sean, and I get this message. Drive F is an omg file mounted with Laplink Diskimage.

I get the error "You don't current have permission to open this folder" then it prompts me to click continue to get access to the folder. I do so and it says "You have been denied access to this folder. To gain access to this folder you will need to use the security tab" I click the highlighted bold security tab link it gives me, then it tells it brings me to that tab, I click continue.

There are three entries under Group or User names, none of which I have created, they were there from the beginning. Shouldn't there only be two? System and Sean Administrator? They are:

1. System
2. Account Unknown (S-1-5-21-483462956-2419139821-394938581-1005)
3. Administrators (Sean PC Desktop\Administrators)

All of these have Full Control listed under permissions, and all them have under Apply to: This folder, subfolders and files. If I click view while having any of those names highlighted they have all permissions checked, but I can not change them, they are all greyed out for me.

Under the Security tab- if I click advanced it's the same thing.

Something really bizarre, if I right click the mounted hard drive and click properties- There are 5 group or user names

1. Everyone
2. Creator Owner
3. System
4. Administrators (Sean-PC Desktop\Administrators\
5. Users (Sean PC-Desktop Users)

Everyone has nothing checked under Permissions. Creator Owner only has Special Permissions checked under Allow. System Has everything checked under allow except Special Permissions. Administrators (Sean-PC Desktop\Administrators\ has everything checked under allow except special permissions, and Users (Sean PC-Desktop Users) only has Read and Execute, List Folder contents, Read and Special Permissions checked. And, what the difference between a Grey checkmark and a Black one?

I can not seem to change any of these permissions for any user- they are greyed out, why?

Is there a way to find out which of these usernames I am using right now as I use Windows 7. It does not prompt me for a login when I start my machine.
 
#10 ·
When you went to the Microsoft site did you choose Issue #3>Windows 7? Besides the fixes and "Fix it for Me" hopefully you didn't format the old drive. Anyway, you didn't mention whether you tried the fixes and as Tomahawk said, you don't have ownership. My best guess is SYSTEM has the ownership.
 
Save
#11 · (Edited)
When you went to the Microsoft site did you choose Issue #3>Windows 7?
Well, no because I haven't upgraded from another version of windows. This version came installed with my computer. Issue 2 seems more appropriate to me, I've deleted some files, just some I can't open. I can not change the permission so I think I'm signed in under an account that doesn't have permission to do so.


Besides the fixes and "Fix it for Me" hopefully you didn't format the old drive.
Again, didn't even go there.

Anyway, you didn't mention whether you tried the fixes and as Tomahawk said, you don't have ownership. My best guess is SYSTEM has the ownership.
I can and will try them, just need my question answered about that space.

My best guess is SYSTEM has the ownership.
What that System account exactly? I thought it's just for automated messages, like when you get asked permission for a program to make changes to your computer. Is it necessary to have that account for Windows 7 to work? I'd like for there only to be one- which is me, admin and owner, I'm the only one who uses this computer anyway.
 
#12 · (Edited)
Hi, I think I see the funny side, poor old Tomshawk does not as you suspect have telepathic powers, you did not reveal that the drive in question was F: drive. Tomshawks cmds were for drive C: the "F" referenced refers to the icacls cmd parameter "F" for Full Control. So go back to post #4 and substitute F: for C: and this is an external cmd so yes there is a space between takeown /f C:\.. as Tomshawk posted it now reads :-

takeown /f F: (press enter) the sucess message will tell you the user name that has ownership it is this that you use in the next cmd...
 
#13 ·
I tried booting with the OEM disk that came with my computer, it's a cyberpower PC. I get this message when trying when using the repair my computer option.

"This version of System recovery options is not compatible with the version of Windows you are trying to repair. Try using a recovery disc that is compatible with this version of Windows"

I wonder if it's because I've downloaded updates since I started using my PC, when it came pre-installed.

I'd like to put my system specs for both computers under my System, but there is not enough space for both. Maybe I could just put the RAM, CPU and Video Card it has- if that's all I can put.
 
#15 ·
I went ahead and did what was in post 4. (from an elevated prompt- since I can't get into repair when I boot with the disk) Remember I need this done for BOTH drives, C: and F: there are some places I can't get into on both of them

takeown /f C:\ worked just fine

I made a little mistake when trying type the icalcls, in that I accidently pressed enter after typing just icalcls, will this matter?

Thereafter I typed the full command icacls C:\ Grant <my user name>:f, it seems to have worked fine, took a few seconds though of waiting, which I'm guessing is normal.

When I typed takeown /f F:\ after mounting the omg as a drive-

I got: Error Access is Denied.
 
#20 ·
It would seem so since even if XP didn't recognize what it is, it would still know there was something occupying the drive there.
 
Save
#21 ·
Hmm, still would like to know how to access it under windows 7. I've heard this feature is so you don't accidentally delete some important files.

In Windows XP it would give you warning when you would access an important folder with system files, in 7 it doesn't even let you access them, even if you have the sole account on the computer.
 
#22 ·
Let's take a completely new approach. Were the files created while using XP? If so, they are stored differently in 7. Although this article is for XP to Vista it still applies: Error message when you try to access the My Documents, My Music, My Pictures, and My Videos folders in Windows Vista: "Access is Denied"
Also, I'm not, and the others who responded are possibly not familiar with Laplink software. Try going to there site for Tech support on the problem since it might be connected to how they back things up.
 
Save
Status
Not open for further replies.
You have insufficient privileges to reply here.