Windows 10: Admin Account But No Permissions To Access Files. Why?

  1.    2 Weeks Ago #1

    Admin Account But No Permissions To Access Files. Why?


    I am logged onto win10 with an administrator account yet I keep getting 'no permission' messages.

    Not generally but this morning for instance in IIS.

    I couldn't read the log files in IIS.

    So I simply went to Explorer and found the log file and tried to look there and couldn't.

    I got a message that I'd need admin permissions to view them, did I want to continue? So I said yes and ahead we went, I viewed the files.

    Now what's going on that the machine apparently doesn't know I've got admin permissions and then gives me access on the grounds that I have admin permissions and can therefore grant myself admin permissions?

    I am trying to restore my machine to where it was before I got a system disk crash and I'm finding all kinds of hassles like this. Something to do with Win10 having been 'updated' since back then and now, I think, maybe.
      My ComputerSystem Spec

  2.    2 Weeks Ago #2

    In a lot of cases its just the UAC set to protect the pc so its a saftey issue were it stops you editing sensertive files until you say you want to run as admin. Some folders are system which is above admin so this stops a user interfering with windows files this is so malware even as admin cant screw up your pc. You can reduce the UAC but its not recomened
      My ComputerSystem Spec

  3.    2 Weeks Ago #3

    well that makes sense, thanks. but it's going a bit too far when you're in IIS as admin and can't even view the log files, isn't it? no setting in IIS to remove that restriction? and my IIS isn't viewable from the web, i.e. from my IP address in my own browser - what I get is my router instead. (though I get my IIS when i input 'localhost') would that have anything to do with this stuff I wonder?

    I better learn something about UAC's maybe. I know nothing right now.
      My ComputerSystem Spec


  4. Posts : 6,391
    10 Home x64 (1709) (10 Pro on 2nd pc)
       2 Weeks Ago #4

    abrogard said: View Post
    I am logged onto win10 with an administrator account ...

    I couldn't read the log files in IIS.
    So I simply went to Explorer and found the log file and tried to look there and couldn't.

    I got a message that I'd need admin permissions to view them, did I want to continue? So I said yes and ahead we went, I viewed the files.
    The folder C:\inetpub\logs is owned by SYSTEM and by default your user account does not have permissions there, though the Administrators group does. Although you are signed in with an administrator account, unless you explicitly launch a process with 'run as administrator' you are running everything as a standard user (this is for your own protection as Samurai pointed out).

    You were asked if you wanted access and when you said 'Yes' you used your administrator rights to add your user account to the permissions. You should now have all the permission you need to read log files in IIS and should no longer have the problems you had this morning.

    These are the default permissions. If you look at the permissions for your log folder you'll find your user account has been added with full control.

    Click image for larger version. 

Name:	inetpub-logs security.PNG 
Views:	2 
Size:	25.2 KB 
ID:	183501
      My ComputersSystem Spec

  5.    2 Weeks Ago #5

    Yep. I can view them now from within IIS. And that'll hold true after next boot up? I'll find out soon enough.
      My ComputerSystem Spec


 

Related Threads
Cant access new admin account, please help in User Accounts and Family Safety
Hi guys, I have created a new admin account through safe mode as that is the only way i can login to my system but whenever i power on the laptop, it takes me to my default user account (doesnt gives an option to login to another account that i...
Installing update for warframe, when it tell's me "missing file permissions" Look around and Win 10 is locking my folders in read-only. Try to change that and it says I need admin privileges. I click continue and the admin verification don't pop up....
Hello All, I'm delighted to have found you and after a long day of trying to help myself i am now requiring your much appreciated assistance please!:cry: I'm not a techy person at all and am hoping someone can help:) Last week my husband purchased...
Can't access Admin acct., admin files are still there in User Accounts and Family Safety
I just transferred from Windows 7, and everything worked except for the fact that the admin account on the computer (also the superuser account) cannot be accessed. The account shows up in the Users file under the Local Disk, but I can't access it...
I am trying to change my user account from guest to admin as many things aren't working right. I have tried cmd -> netplwiz and it asks me for an admin password, but gives me no box to type it in. Even if it did, I don't know what the admin...

Tags for this Thread

Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd
All times are GMT -5. The time now is 18:27.
Find Us