How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Blog

"You do not have permission to open this file..." SOLVED

  • Thread starter TastyTeo
  • Start date Aug 11, 2017

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Dec 5, 2010 33 0 18,540 2

  • #1

So i was googling to fix this problem, seen a post here that is still unresolved and I just wanted to post some additional info regarding the problem, maybe we can fix it

Facts:
-Past Windows 7 Installation, upgraded to 10, this problem only existed when i upgraded to Windows 10 so no clean install on empty drive, i upgraded with the notification popup on the taskbar
-I am the only PC user AND/OR admin
-UAC is turned all the way down (off, no notifications)
-Windows is Up to date

Screenshot of Error:

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

When error pop up?
-When i try to save edited txt / ini, whatever file under Program Files, Windows Folder, and probably all subfolders of the C: drive (the only drive i have).

If anyone want additional info I would be glad to provide, please help me sort this out, else I would have to do a clean setup and format my drive, so curious to fix it though!

Thanks everyone

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Mar 31, 2010 23,983 296 67,390 1,904

  • #11

I probably use that route to a problem at least twice a week and have never known a system where the System Administrator account is password protected so I'm afraid I'm out of ideas. How did the taking ownershp go? It's a right click on the filename, then Properties>Security tab>Advanced button>Owner.

May 23, 2012 8,433 34 42,040 1,216

  • #2

can you take ownership of the file?

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Dec 5, 2010 33 0 18,540 2

  • #3

can you take ownership of the file?

When you say take ownership?
I mean i tried to take ownership to the whole drive by going to properties -> security tab

but no luck, i get an error when i hit APPLY and i just cancel it

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Mar 31, 2010 23,983 296 67,390 1,904

  • #4

Go into c:\windows\system32 and scroll down to the file cmd.exe then right click it. Choose RunAs Administrator then when the Command form pops up, at the prompt, type
net user Administrator /active:yes
and hit the Enter key.

Sign out and log in as Administrator and you will have sufficient permissions to delete the file or to take ownership of it.

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Dec 5, 2010 33 0 18,540 2

  • #5

Go into c:\windows\system32 and scroll down to the file cmd.exe then right click it. Choose RunAs Administrator then when the Command form pops up, at the prompt, type
net user Administrator /active:yes
and hit the Enter key.

Sign out and log in as Administrator and you will have sufficient permissions to delete the file or to take ownership of it.

Hey there, thanks for the answer, i added the command in cmd as admin and it said the command was done properly

But my computer has no Sign Out button, only Sleep, Shut Down and Restart as i am single user what should i do in this case?

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Mar 31, 2010 23,983 296 67,390 1,904

  • #6

Restart should do it. It's had enough time to realise it should put up two log in options.

  • #7

Go into c:\windows\system32 and scroll down to the file cmd.exe then right click it. Choose RunAs Administrator then when the Command form pops up, at the prompt, type
net user Administrator /active:yes
and hit the Enter key.

Sign out and log in as Administrator and you will have sufficient permissions to delete the file or to take ownership of it.

Hey there, thanks for the answer, i added the command in cmd as admin and it said the command was done properly

But my computer has no Sign Out button, only Sleep, Shut Down and Restart as i am single user what should i do in this case?

When you click on "Start", click on your profile picture (the 2nd up above the power symbol). That will give you the option to sign out.

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Dec 5, 2010 33 0 18,540 2

  • #8

Restart should do it. It's had enough time to realise it should put up two log in options.

Go into c:\windows\system32 and scroll down to the file cmd.exe then right click it. Choose RunAs Administrator then when the Command form pops up, at the prompt, type
net user Administrator /active:yes
and hit the Enter key.

Sign out and log in as Administrator and you will have sufficient permissions to delete the file or to take ownership of it.

Hey there, thanks for the answer, i added the command in cmd as admin and it said the command was done properly

But my computer has no Sign Out button, only Sleep, Shut Down and Restart as i am single user what should i do in this case?

When you click on "Start", click on your profile picture (the 2nd up above the power symbol). That will give you the option to sign out.

Indeed there is an option on my profile portrait, never noticed it! Thanks! Will try now

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Dec 5, 2010 33 0 18,540 2

  • #9

Go into c:\windows\system32 and scroll down to the file cmd.exe then right click it. Choose RunAs Administrator then when the Command form pops up, at the prompt, type
net user Administrator /active:yes
and hit the Enter key.

Sign out and log in as Administrator and you will have sufficient permissions to delete the file or to take ownership of it.

It says it has password and I can't log in ...

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Dec 5, 2010 33 0 18,540 2

  • #10

I removed the password from User Accounts now, but, i don't want to be having a 2nd user, is there any way to be only 1 active admin? I want 1 account

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Mar 31, 2010 23,983 296 67,390 1,904

  • #11

I probably use that route to a problem at least twice a week and have never known a system where the System Administrator account is password protected so I'm afraid I'm out of ideas. How did the taking ownershp go? It's a right click on the filename, then Properties>Security tab>Advanced button>Owner.

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Dec 5, 2010 33 0 18,540 2

  • #12

I probably use that route to a problem at least twice a week and have never known a system where the System Administrator account is password protected so I'm afraid I'm out of ideas. How did the taking ownershp go? It's a right click on the filename, then Properties>Security tab>Advanced button>Owner.

It's ok i removed the password because i was admin on my current user anyway, but i really did not want to set up a new account, i tried to go to the properties of C and on the security tab everyone had FULL CONTROL so i don't see any reason to create this new user, i will be removing it i guess, let me see if i sorted the problem though

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Dec 5, 2010 33 0 18,540 2

  • #13

I'll be using the "net user Administrator /active:no" command now i guess, but one thing that bugs me is how come the PC has another hidden administrator user without an option to delete it and just disable it temporarily while my user who is the only user and admin can be deleted...

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Dec 5, 2010 33 0 18,540 2

  • #14

Still haven't sorted the issue, open to other opinions aswell!

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Dec 5, 2010 33 0 18,540 2

  • #15

It seems I have found the solution, source: click here

Here is how I solved my issue -
1. On the root folder (In my case, program files), right click, select properties, select security tab.
2. Click Advanced
3. The window that pops up should show the current owner. Click "Change." The "Select User or Group" pop up box appears.
4. In the text box, type in your current user name (you should be an admin), and hit the "Check Names" button. Your name will be replaced with the "official" system name (i.e.,preceded by computer name and back slash).
5. Click OK
6. The box disappears, sending you back to the Advanced Security Settings window.
7. A new tick box appears below owner, with the text "Replace owner on subcontainers and objects" Select this tick box.
8. I also selected the tick box "Replace all child object permission entries with inheritable permission entries from this object", but I think I had to run this twice - once with this box ticked and once without.
9. Make sure that "everyone" appears on the Permission entries window, if not, click add. The same box that appears in step 4 shows up again. Type everyone, click "Check Names" and then "OK"
9. Hit apply

I also see that the folder ownership can be changed to "everyone" - I haven't tried changing all my folder owners to this, but doing so might eliminate this issue altogether if the drive is moved to a different computer.

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Mar 31, 2010 23,983 296 67,390 1,904

  • #16

Well researched and sorted.

By the by, the built-in System Administrator is not a User Account but it does come with Permissions and facilities we mere mortals don't have. Yes, the /active:no is the off switch.

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Nov 23, 2004 19,626 4 74,965 2,281

  • #17

The admin separation(only elevating users when required) has been a thing on Windows for a while(I think since Vista). It is a feature to limit damage when a user runs something they should not(this was a source of MANY XP system infections with malware and other unwanted junk). While XP had the ability to have users with less permissions, no one used it.

I am not going to argue if it is good or bad. It just is what it is.

For users who do not want to change the folder permissions, any program running as admin can edit and save.

You can hit start and search for notepad. When it shows up, hold right Ctrl + Shift and hit Enter. You will get a UAC prompt about running it in admin. Say Yes

You can also right click any program and select Run as Administrator. These elevated permission programs will be able to write in most, but not all folders.

How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?

Dec 5, 2010 33 0 18,540 2

  • #18

Thanks for the heads up guys

Thread starterSimilar threadsForumRepliesDate
S [SOLVED] What is the write size of a sfc /scan and can doing a scan ever mess up system files/permissions at any time? Windows 10 6 Jun 3, 2022
S [SOLVED] Permissions change preventing Windows 10 from booting Windows 10 2 May 26, 2022
N Question Is it possible to change permissions on system files ? Windows 10 7 May 24, 2022
A [SOLVED] Harddrive permissions, can't save to this location. Windows 10 2 Apr 23, 2022
How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?
[SOLVED] Help needed to understand Windows permissions Windows 10 1 Apr 14, 2022
P Question Need for Windows 10 permissions utility Windows 10 3 Apr 6, 2022
J [SOLVED] Windows Terminal: "ssh: connect to host 12.3.4.56 port 22: Permission denied" Windows 10 10 Mar 5, 2022
V Question Accessing/Writing files on HDD requests administrator permissions Windows 10 1 Jan 25, 2022
How do you fix You do not have permission to open this file see the owner of the file or an administrator to obtain permission?
Question I am getting "You Do Not Have Permission To Access This Device" with every device I connect ? Windows 10 6 Jan 8, 2022
J [SOLVED] Deleting game files from WindowsApps folder Windows 10 3 Nov 24, 2021

  • Advertising
  • Cookies Policies
  • Privacy
  • Term & Conditions
  • Topics

How do you fix you dont have permission to open this file?

a) Right-click on the file which you're unable to access and select Properties. b) Click on 'Security' tab and under 'Group or user names' click on 'Edit'. c) Click on 'Add' and type 'everyone'. d) Click on 'Check names' and then click 'OK'.

How do I get permission to open files?

Get permission to open a file Open the file. On the "You need permission" page, click Request access. The owner of the file will get an email asking for approval. After they approve your request, you'll get an email.

Why does excel say I don't have permission to open?

The most frequent cause of this error happens when the permissions for the user or administrator is configured incorrectly or not configured at all.

How do you fix You do not have permission to open this file Mac?

If you need permission to open an item on Mac.
On your Mac, select the item, then choose File > Get Info, or press Command-I..
Click the arrow next to Sharing & Permissions to expand the section..
Click the pop-up menu next to your user name to see the permissions settings..