Windows 10: File permissions to delete file

Discus and support File permissions to delete file in Windows 10 Support to solve the problem; What did the Continue button do? Did it give you a different error box? Do the whole owner thing on the main folder that you want to delete (which... Discussion in 'Windows 10 Support' started by Scoka, Jun 23, 2017.

  1. Hydrate Win User

    File permissions to delete file


    Windows is extremely confusing in its permissions and file ownership.*Sad

    If Taking Ownership of the files does not work, then the ACL and permissions are misconfigured.

    Permissions precedes the ownership, you can have ownership but incorrect permissions in accordance with the ACL Access Control Lists (Windows).

    Microsoft - How Permissions Work

    I suggest that you open powershell (Search > type powershell > Right click > run as admin) and execute this command:

    Code: icacls "C:" /t /c /q /RESET[/quote] This command restores permissions to default for all files contained within C:\ quietly.

    Followed by this command once completed:

    Code: icacls "c:\" /t /c /q Administrators:f[/quote] This command restores full permissions to the Administrators on the computer, which I presume you are an Administrator.

    And reboot the computer, and finally attempt to delete the file after attempting to retake ownership.

    If that does not work, then I suggest using a third party utility known as UnlockIT:
    Downloads - UnLock IT

    And download, install. Ensure you select customized installation.

    Right click the folder that contains the files or the files individually that you would like to delete, and follow as here:



    File permissions to delete file [​IMG]


    Then this should delete all files you right clicked upon after restarting the system.

    You should not run into issues regarding permissions after this, and if you do, post again and I'll look into it.

    Side note: often times malware tends to hijack a system and fluff itself in permissions that benefit itself.
     
    Hydrate, Jun 23, 2017
    #16
  2. Scoka Win User

    This command restores permissions to default for all files contained within C:\ quietly.

    Followed by this command once completed:

    Code: icacls "c:\" /t /c /q Administrators:f[/quote] This command restores full permissions to the Administrators on the computer, which I presume you are an Administrator.

    And reboot the computer, and finally attempt to delete the file after attempting to retake ownership.

    If that does not work, then I suggest using a third party utility known as UnlockIT:
    Downloads - UnLock IT

    And download, install. Ensure you select customized installation.

    Right click the folder that contains the files or the files individually that you would like to delete, and follow as here:



    File permissions to delete file [​IMG]


    Then this should delete all files you right clicked upon after restarting the system.

    You should not run into issues regarding permissions after this, and if you do, post again and I'll look into it.

    Side note: often times malware tends to hijack a system and fluff itself in permissions that benefit itself.[/quote] I am trying this, but it's taking a very long time.
     
    Scoka, Jun 24, 2017
    #17
  3. Hydrate Win User
    Yes. The reason being it selects each file inside of your hard drive and re-corrects the permissions and regrants your Administrator account full access rights over all files.

    This can take a while depending on your hardware specs, of course.

    Please be patient. *Smile
     
    Hydrate, Jun 24, 2017
    #18
  4. lx07 Win User

    File permissions to delete file

    @Hydrate, you must be careful with your suggestions.

    This command restores permissions to default for all files contained within C:\ quietly.[/quote] No it doesn't. It replaces ACLs with inherited ACLs. A default Windows install does not take inherited permissions from root.

    This command restores full permissions to the Administrators on the computer[/quote] Again, no it doesn't. It grants full access to administrators group which Windows does not do and would be unwise to do.

    There is no way (apart from a clean install) to reset default permissions any more.

    If OP wants to delete a specific file a safer way would be to change the permissions on that specific file (by taking ownerhip and granting permissions) or use unlocker which will do it at boot.

    Changing permissions on the whole C drive is a bad idea.
     
  5. Scoka Win User
    Thank you very much, UnLock IT has worked very well.
    Unfortunatly, after I tried the first thing you suggested, it flashes and error message when I try to click on any file

    File permissions to delete file [​IMG]
     
    Scoka, Jun 24, 2017
    #20
  6. lx07 Win User
    Assuming there is nothing you want in your recycle bin, if it is corrupted you can delete the $recycle.bin file(s) from all your partitions and they will be regenerated next boot.

    Fix: Recycle Bin is corrupted
     
  7. Hydrate Win User
    My apologies, I should have known better to reset simply the affected targeted directory.

    Again, if there are any issues please let me know thread starter.
     
    Hydrate, Jun 25, 2017
    #22
  8. doakh Win User

    File permissions to delete file

    I cannot delete a file .I read the above, but did not really understand. I have removed the login screen via 'netplwiz' and the registry per your tutorial. Using just 'netplwiz' did not work.

    When I click on 'Security' tab of folder their are three user names. All permisions checked on all three
    1) SYSTEM
    2) ME
    3)Administrators(DESKTOP......)

    I am the only one using this computer. How do I have control to do anything I want without dealing with this?

    Thanks,
    Doak
     
    doakh, Apr 4, 2018
    #23
Thema:

File permissions to delete file

Loading...
  1. File permissions to delete file - Similar Threads - File permissions delete

  2. administrator permission to delete files/folders

    in Windows 10 Software and Apps
    administrator permission to delete files/folders: I have an Acer Predator laptop running Win 10. TI've had it for several years, and have manipulated files all over this machine with no issues. There is a folder on my desktop that I want to delete and suddenly I am apparently not allowed to do so. Windows is telling me that...
  3. Files with no permission to delete

    in Windows 10 Network and Sharing
    Files with no permission to delete: So, I installed the Hitman Trilogy from XBox Game Pass and the install broke, showing an error 0x00000000. I've tracked it down to find that it's still partially installed in my D: drive in WindowsApps with one of the subsections of the game causing the error code 0x80073d12...
  4. Files with no permission to delete

    in Windows 10 Gaming
    Files with no permission to delete: So, I installed the Hitman Trilogy from XBox Game Pass and the install broke, showing an error 0x00000000. I've tracked it down to find that it's still partially installed in my D: drive in WindowsApps with one of the subsections of the game causing the error code 0x80073d12...
  5. Files with no permission to delete

    in Windows 10 Software and Apps
    Files with no permission to delete: So, I installed the Hitman Trilogy from XBox Game Pass and the install broke, showing an error 0x00000000. I've tracked it down to find that it's still partially installed in my D: drive in WindowsApps with one of the subsections of the game causing the error code 0x80073d12...
  6. Permissions to move/delete files

    in Windows 10 Network and Sharing
    Permissions to move/delete files: I am logged in as administrator on my computer, but when I need to move or delete folders/files it says I need administrator permission and does nothing. Also two other messages when I try to do something with a file/folder: 1 the item is no longer located in C: 2 the item is...
  7. Deleted all permissions for a file and now unable to delete file

    in Windows 10 Network and Sharing
    Deleted all permissions for a file and now unable to delete file: Hi all, I recently ran into some issues with google chrome not working correctly and had to do a rather complicated uninstall. One of the suggestions involved deleting all users with permission to access chrome in the security settings. I tried a few other things too and...
  8. Delete File - Permission Issue

    in Windows 10 Customization
    Delete File - Permission Issue: Hi, I've read various forums, but I can't seem to delete file due to ownership permissions. I've right-clicked on the .exe, selected Properties, went to the Security tab, and clicked Advanced. However, the Permissions tab and Audit and Effective Access states that I don't...
  9. Administrator permission needed to delete file

    in Windows 10 Customization
    Administrator permission needed to delete file: I am the administrator I am trying to delete a file, and it says I need administrator permission to delete the file https://answers.microsoft.com/en-us/windows/forum/all/administrator-permission-needed-to-delete-file/eefb5972-37ec-455e-9ed5-ee37c18ce6ba
  10. Permission to delete file and folder

    in Windows 10 Network and Sharing
    Permission to delete file and folder: [IMG]i want to delete an app from my laptop but it requires permission from system and administrator but I can't do it. Please tell me how to do it? https://answers.microsoft.com/en-us/windows/forum/all/permission-to-delete-file-and-folder/3d51b993-bd01-4440-8d32-ac348254491d"