Blog
"You do not have permission to open this file..." SOLVED
- Thread starter TastyTeo
- Start date Aug 11, 2017
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: Screenshot of Error: When error pop up? 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
-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
-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).
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?
Dec 5, 2010 33 0 18,540 2
- #3
can you take ownership of the file? When you say take ownership? but no luck, i get an error when i hit APPLY and i just cancel it
I mean i tried to take ownership to the whole drive by going to properties -> security tab
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 Sign out and log in as Administrator and you will have sufficient permissions to delete the file or to take ownership of it.
net user Administrator /active:yes
and hit the Enter key.
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 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?
net user Administrator /active:yes
and hit the Enter key.
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 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.
net user Administrator /active:yes
and hit the Enter key.
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 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
net user Administrator /active:yes
and hit the
Enter key.
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 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 ...
net user Administrator /active:yes
and hit the Enter key.
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
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.
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
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...
Dec 5, 2010 33 0 18,540 2
- #14
Still haven't sorted the issue, open to other opinions aswell!
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 - 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.
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
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.
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.
Dec 5, 2010 33 0 18,540 2
- #18
Thanks for the heads up guys
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 |
| [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 |
| 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