Windows 10: Cannot delete files owned by "Administrators" group

Discus and support Cannot delete files owned by "Administrators" group in Windows 10 Support to solve the problem; Hi, I have a non-Windows 10 specific problem. I want to delete a Windows.old folder and it is owned by the Administrators group to which I belong. I... Discussion in 'Windows 10 Support' started by Willi, Apr 11, 2015.

  1. Willi Win User

    Cannot delete files owned by "Administrators" group


    Hi,
    I have a non-Windows 10 specific problem. I want to delete a Windows.old folder and it is owned by the Administrators group to which I belong. I actually use the built-in-Administrator-account with UAC completely turned off via registry hack. When I open the command prompt it runs as administrator and Windows apps won't run complaining about the fact that UAC is off. I think that Windows apps lack functionality so this is fine with me.

    To forestall this: I KNOW HOW TO DELETE the file. It's actually as simple as changing the ownership to the user I want to use to delete it. I have been doing this trick for years.

    The big drawback and the reason I am asking this question is that it won't work with Administrators. So I basically have to decide which administrator account I want to use for file operations. I usually have at least two administrator account but usually more. I prefer to have some extra accounts for big projects (like a programming project) to be able to spread out. Some involve changing system files. Having full access isn't enough and taking ownership can take some time and is annoying, so I m forced to switch to the Administrator account, do the change, switch back to the other ADMINISTRATOR-account and may have to repeat this.

    So is there a way to grand every single administrator account full access? As I am the only one using this PC, I wouldn't mind if non-Administrator accounts would also get this access. Is there a way to reclaim full control (not limited to file system) over the PC without running Windows XP 64-bit or Windows Server 2003? I have no problem with registry hacks and third party software. By the way, I am running the Enterprise preview version.

    I want to add that I rather risk to delete a system file or catching a virus than being told by my own computer what I can and cannot do with it. In my eyes, a security measure which is the de facto administrator, is like a virus stripping me of the control of my computer. One virus I got in 15 years and the risk of making a mistake aren't worse the trouble and time this problem is causing me. I'd rather perform a clean install every 3 month.

    :)
     
    Willi, Apr 11, 2015
    #1

  2. " NOKIA X2 " How to Hide Files (Photos/Videos) from Gallery view..??

    hi .. i hav found one trick by which we can hide all photos and videos/mp3 from gallery.

    m using this ith my nokia c3 . very nice privacy trick.



    Best Way To Hide Files Folders in Nokia s40 Symbian OS
     
    rockpop989, Apr 11, 2015
    #2
  3. " NOKIA X2 " How to Hide Files (Photos/Videos) from Gallery view..??

    S40 WHAT AN OUTDATED VERSION OF SOFTWARE NOKIA X2 IS HAVING...Cannot delete files owned by "Administrators" group :(







    VERY VERY DISAPOINTED Cannot delete files owned by "Administrators" group :(
     
    sharanukumar, Apr 11, 2015
    #3
  4. Cannot delete files owned by "Administrators" group

    Hi

    If you don't already have CCleaner install it and run it.
    Make sure the box for "Old Window Installation" is checked.

    CCleaner - Download

    If you are not familiar with CCleaner, I've used it for ever (so has everyone else I know) and it has never caused me any problems. I run it every day to clean out the junk that gets left behind when ever you do anything.

    I've been using it to remove the old files, every time I upgrade Windows 10TP.

    Mike
     
    MikeHawthorne, Apr 11, 2015
    #4
  5. Mystere Win User
    Mike, I suggest you re-read his message. I know it's difficult, given that he appears to have broken his enter key, and cannot figure out how to create paragraphs.

    He's not asking how to delete Windows.old. He's asking how to completely destroy all of Windows 10's security so he never has to be bothered with it.
     
    Mystere, Apr 11, 2015
    #5
  6. Ah, sorry I didn't get that far.

    I read the first line saw he said that he wanted to get rid of the Windows Old folder and when I saw that there were no paragraphs, thought, I know how to do that, and quit reading.

    Mike
     
    MikeHawthorne, Apr 11, 2015
    #6
  7. You can delete "Windows.old" using "Disk Cleanup".

    As for permissions, I had to modify ownership/permissions & reboot a couple of times, before W10 accepted/realised that they had been changed.
     
    lehnerus2000, Apr 12, 2015
    #7
  8. Willi Win User

    Cannot delete files owned by "Administrators" group

    Sorry, my old keyboard had been broken and I had tried to finish the post before looking for my new one. Apart from that I was away for a couple of days.

    First of all, I want to make some clarifications:
    - I am aware of software that can remove Windows.old and clean other stuff, and I have used a couple of them;
    - I know how to directly delete Windows.old by taking ownership of it (current user, not a user group);

    The problem I ran into is that it does only work with the owner being the current user and not the user group the current user belongs to. So if the owner of Windows.old is Administrator, Administrator can delete it without any trouble. So good so fine, but the problem arises when the owner is a user group. So if the owner is Administrators and Administrator is naturally a member of that group, I cannot delete Windows.old. I also tried this with a custom user group with the same effect.
     
    Willi, Apr 24, 2015
    #8
  9. As far as I'm concerned, MS should never have called that group the "Administrators Group", since you don't really have Admin powers.

    It probably should have been called "Power Users" like in the "good old days".
     
    lehnerus2000, Apr 24, 2015
    #9
  10. Mystere Win User
    Windows was always designed so that Administrators never had "supreme" power by default. There was a need, for instance, to prevent administrators from gaining access to sensitive information they managed (think the salary of the CEO, etc..). Of course an administrator can always take ownership if they want, but that leaves an audit trail, which in companies that care about such things must be explained.

    Administrators need the power to do their tasks, but they also should not have access to things they shouldn't need access to in certain environments. So, the Administrator account isn't like the "root" account in Unix/Linux.

    They're Administrators because they can ultimately do whatever they want, but they just can't do it without first taking the rights to do it. A Power User doesn't have that ability.
     
    Mystere, Apr 24, 2015
    #10
  11. Prior to Vista, Administrators did have supreme power.

    In XP, I could copy/delete any file I liked, even critical system files.
    When deleting, I only had to confirm that I did indeed want to delete a system file.

    This ability was removed because users and malware were deleting/changing system files (this change was a major source of complaints by XP users).
    During the past couple of weeks, I saw a comment by someone complaining that every Windows OS after XP was junk for this reason.

    Domain Administrators need "full power" over all user folders or they can't set user restrictions.
    Obviously a business network should only have a very limited number of Domain Administrators.

    The hidden built-in Administrator might have that power.

    The Administrator group doesn't have that ability, which is why I said they should be called "Power Users" group.
    There are files/folders you can't take control of ,even when Windows brings up a dialogue box offering to let you.

    For example, go to any folder owned by "Trusted Installer" and change the Ownership.
    You cannot restore "Trusted Installer" as the owner.
    I'm not sure that the hidden built-in Administrator account can restore "Trusted Installer".
    You need to use a backup HDD image or you have to reinstall Windows (like I had to do during the W7 Betas).

    Another example is when you receive the "Contact your Administrator" message on a standalone PC.
    If you are already Administrator, or part of the Administrators group, who do you call?

    With files/folders the "brute force" solution is to fire up a Live Linux Distro and copy/delete/paste the file/folder.
     
    lehnerus2000, Apr 24, 2015
    #11
  12. Mystere Win User
    That's not correct. There is no difference between XP and Vista in this respect (we're not talking about UAC here, which just requires that you elevate yourself to actual Administrator level).

    The difference is in the default permissions of files and folders between XP and Vista, not the privileges of the user account.

    In XP, Program Files, Windows, etc.. had default permissions that allowed Administrators to do whatever they wanted. In Vista, this was tightened up. Program Files, for instance, became owned by "TrustedInstaller" instead of Administrators.

    It's basically like saying "I have keys to everything" when none of the doors were locked. You think you have full control, but don't. You only think you do. Only to find out that, once the doors were locked none of your keys work.

    If you're talking about UAC, then that's something different. UAC is widely misunderstood. UAC doesn't limit people or prevent anything. UAC actually *ALLOW* you to do things you otherwise couldn't do.

    When you enable UAC, you are really doing three things. First, you're enabling "low-rights" mode. This gives all users, regardless of their actual user groups (with the exception of a few internal accounts) the minimum rights needed tor un applications. In other words, it treats them like a "standard user" even if they are in the Administrators group. This is not UAC itself, but rather a side-effect of enabling UAC.

    The second thing it does is provide tools to elevate you to your REAL assigned privilege level upon request. This is the ACTUAL UAC.

    The third thing it does is provide compatibility tools like folder and registry virtualization, to allow poorly written apps to work as a standard user.

    Regardless, once you are elevated, you have the standard administrator privileges you had under XP. It's just that the default permissions for everything are now very different. (ie, all the locks were changed).

    That's also incorrect. Domain Administrators are no different from Local Administrators, except they also have rights to network resources. The same restrictions apply to them as local administrators. They are, likewise. restricted from accessing anything they are explicitly denied access to. Again, they can take ownership if need be to change those settings, but again that creates an audit trail that can be tracked, so if a domain admin is accessing files he shouldn't, then other domain admins will know.

    This "take ownership" model allows admins to be restricted, but to also allow them full control if they legitimately need it, with accountability.

    The only account in the entire system that has "supreme control" is SYSTEM. And this is the way it's been since the first release of NT (3.1) back in 1993.

    Once again, that's incorrect. The Administrator group, does in fact have this ability. The built-in administrator has this right also, because they are also in the Administrators group.

    You do have to elevate your rights to use it (you see the shield next to the Take Ownership button), but you can do it just fine.


    Cannot delete files owned by "Administrators" group [​IMG]


    Yes, you can set the owner to TrustedInstaller. However, you have to use a slightly different syntax for the user. "NT SERVICE\TrustedInstaller" rather than "TrustedInstaller", which is because TrustedInstaller is not a "real" user, it's what's known as a Managed Service Account. Windows has a number of these.

    What that message is really saying is "Contact someone who knows what they're doing".

    Adding "Administrators" to your user account does not grant you the knowledge to be an Administrator. You must still know how to do the functions you need to do, and many of those functions will be esoteric or not known by most people.

    As for Linux, it's because Linux ignores all permissions. You can accomplish the same by running a command prompt as SYSTEM. I won't say how, but there are ways to do it.
     
    Mystere, Apr 24, 2015
    #12
  13. Cannot delete files owned by "Administrators" group

    Regardless of the technicalities (which most users couldn't care less about) an XP Administrator could accomplish tasks with significantly less clicks, than a W7 Administrator.

    I am aware of the "twin security token" system.

    There is some confusion here (probably due to my bad phrasing):
    • Domain Administrators need to have access to all network resources to be able to manage the network
    • Local Administrators do not
    That does not explain why users can fix problems using the built-in Administrator, when they can't fix problems despite:
    • Owning a resource
    • Having Full permissions
    • Having child objects set to inherit those permissions
    There have been multiple threads on SevenForums where this has happened.
    I find it unlikely that:
    • Every reported instance of this occurring has been PEBKAC
    • Users have set the additional specific permission restrictions on themselves.
    My bad. *Redface

    Five years ago I couldn't find any useful information about this.
    After spending considerably more time than a clean install would take, I gave up and performed a clean install.

    Thanks for this tip. *Smile

    I'm not quite sure what you are trying to say.
    The user account created during install, is part of the Administrators group (in W7 at least).

    Obviously simply changing an account to Administrator doesn't magically endow someone with knowledge they didn't previously possess.

    Nonetheless it seems you have never come across this issue:
    • X owns a folder
    • X has Full permissions
    • X's permissions are applied to child objects
    • Windows will not allow X to access the folder
    I see it once or twice a year.

    The other variation is when you attempt to take ownership and Windows refuses to apply the changes.
    The most recent example of this happening to me was a few weeks ago in W10 (during my search for the Lock Screen wallpapers).

    W10 refused to apply the new ownership to a least one child object and displayed the "security enumeration failure" warning.
    I was unable to open the folder to view its contents.

    I rebooted it and tried again.
    Again I received the "security enumeration failure" warning, however despite this I was able to open the folder and view its contents.

    Linux ignores NTFS permissions.
    However despite what Linux "Fan Boys" claim, it is not bulletproof either.

    There are files in my Home directory that are owned by "root".
    Given they are config files for certain applications, it appears those application have been incorrectly written.

    When I upgraded from LM17 to LM17.1, I tried using the Home directory backup/migration tool.
    After installing LM17.1, I used the tool to restore my Home directory.
    The permissions were randomly screwed up.
    I ended up performing another clean install and manually copying my files to my new Home directory.

    When I mentioned this on the LM forums, other members reported the same experience.
     
    lehnerus2000, Apr 26, 2015
    #13
  14. Mystere Win User
    While that may be true, it doesn't change the fact that XP Administrators had no more rights than Vista, 7, 8. 8.1 or 10 Administrators. I was explicitly addressing your claim that XP's administrator had "supreme power", which it did not. My point is that nothing in the OS itself has changed in this regard, only the configuration of the default permissions.

    Domain Administrators do not have access to all network resources, only those which Domain Administrators have been given permission to access. This is no different than local administrators. Domain Administrators can be denied access to resources in the exact same way.

    Sometimes the problem is that the resource is locked because it's in use. Sometimes the problem is that a folder has the "Inherit parent permissions" disabled. You get into a situation where the UI can't just recursively scan down the tree and reset the inheritance properties. Sometimes objects have 'special' permissions set, and you have to go into Advanced security settings and reset those permissions in order for the UI to cascade those changes.

    It's completely possible to override all these situations, it's just not always obvious what the problem is because the UI is not always smart about it and can't always automatically reset things. You have to go in with command line tools to reset the permissions.

    As for why it would work with the built-in administrator, most likely because you're logged in as a different user, which causes the lock to be released. You could just as easily log in with a different Administrator account than your primary one and probably do the same.

    You cut off part of what I said. I was saying that "Please contact your administrator" really means "Please contact someone who knows what they're doing", not "Please contact the person who has been assigned the Administrator security permissions".

    This was in response to your comment about contacting the administrator when you're the administrator. The point being, if you don't know how to fix it, or know how to find the solution to fix it, then you should be contacting someone that can.

    No, what you have come across is a situation where the UI is not showing all the permissions for the folder. In reality, there is a permission set that isn't allowing you to make the change in the UI. You have to do it at the command line level to see what the real problem is.

    Again, you probably had to do it from the command line because the UI wasn't smart enough to deal with the special permissions. Or the file in question is always locked when you are logged in.
     
    Mystere, Apr 26, 2015
    #14
  15. You are correct about the Windows permission settings. *Smile

    I should have been more specific.
    By "supreme power" I meant that I never had to change ownership/permissions to do whatever I wanted in XP, regardless of the technical reason for that.
    So by my definition, an XP Administrator, by default, had more power than an Administrator of a later Windows OS.

    For a W7 Administrator to do what an XP Administrator could, they have to change ownership and/or permissions on various objects.

    My bad (again). *Redface

    I was referring to IT policy, not Windows permissions.

    Those points could certainly explain many oddities, but I'm not sure that they explain all oddities.

    I have various other hypotheses, including random glitches, file corruption/damage and bad software behaviour.

    I've always had more success with the GUI, than the Command Prompt, when it comes to attributes/permissions.
    Off the top of my head, I've only used "attrib" (100% success rate) and "icacls" (~20% success rate).

    I did have to execute some PowerShell commands in my Networking course.
    They were from the text book, so they had a 100% success rate.

    In Linux Distros, I always have to use the Terminal to set permissions (the GUI tool is totally unreliable).

    If a PC has more than one user account with Administrator permissions/rights, that hypothesis should be easy to test.

    Of course by the next time it happens, I'll have forgotten all about this. *Sad

    OK now I follow your point. *Smile

    You are suggesting that one or more of the lower level restrictions had been set (e.g. no traverse)?
     
    lehnerus2000, Apr 26, 2015
    #15
Thema:

Cannot delete files owned by "Administrators" group

Loading...
  1. Cannot delete files owned by "Administrators" group - Similar Threads - Cannot delete files

  2. Still struggling with the "Need Administrator Permission" to delete files on my own computer

    in Windows 10 Gaming
    Still struggling with the "Need Administrator Permission" to delete files on my own computer: I have tried to delete files from my computer that I put there. I get a box saying I need administrator permission, but this is my own personal computer. I have found others that have had the same problem, but the steps don't make sense with the windows program that I have...
  3. Still struggling with the "Need Administrator Permission" to delete files on my own computer

    in Windows 10 Software and Apps
    Still struggling with the "Need Administrator Permission" to delete files on my own computer: I have tried to delete files from my computer that I put there. I get a box saying I need administrator permission, but this is my own personal computer. I have found others that have had the same problem, but the steps don't make sense with the windows program that I have...
  4. Cannot Delete File - Administrator ID Does Not Elevate

    in Windows 10 Network and Sharing
    Cannot Delete File - Administrator ID Does Not Elevate: Hi. I accidentally created some files in "C:\Program Files x86\Acronis\TrueImageHome". I thought there would be no problem - just delete them. Well I can't!My user ID is an administrator and I even tried activating the built-in Administrator account and using it. I even...
  5. Cannot Delete File - Administrator ID Does Not Elevate

    in Windows 10 Gaming
    Cannot Delete File - Administrator ID Does Not Elevate: Hi. I accidentally created some files in "C:\Program Files x86\Acronis\TrueImageHome". I thought there would be no problem - just delete them. Well I can't!My user ID is an administrator and I even tried activating the built-in Administrator account and using it. I even...
  6. Cannot Delete File - Administrator ID Does Not Elevate

    in Windows 10 Software and Apps
    Cannot Delete File - Administrator ID Does Not Elevate: Hi. I accidentally created some files in "C:\Program Files x86\Acronis\TrueImageHome". I thought there would be no problem - just delete them. Well I can't!My user ID is an administrator and I even tried activating the built-in Administrator account and using it. I even...
  7. Administrator group CANNOT run MS OFFICE apps

    in Windows 10 Customization
    Administrator group CANNOT run MS OFFICE apps: Aftermath of AUGUST updates. Now the ADMINISTRATOR Group has special permissions in Program Files directory. But they cannot Open MS Office resources in the directory!...
  8. Unable to Delete Files as Administrator

    in Windows 10 Network and Sharing
    Unable to Delete Files as Administrator: There are some files in my hard drive that aren't any sort of system files, and they aren't running either. It was a program that suddenly wouldn't run anymore, and I'm not sure why. Something happened to the executable file because the icon started to look like a default...
  9. windows 10 administrator cannot delete files

    in Windows 10 Customization
    windows 10 administrator cannot delete files: I see millions of people have this problem and it is not fixed so here goes again...I am the administrator of my laptop yet I cannot delete some folders and files I have created on it. I've looked through and tried to apply numerous "fixes" and none work. Most have about 20...
  10. administrator group

    in AntiVirus, Firewalls and System Security
    administrator group: I forget; how do i make my user a member of the administrator group? 8801