Page 2 of 2 FirstFirst 12
  1.    24 Jun 2017 #11
    Join Date : Jul 2016
    Granite Bay, CA
    Posts : 718
    Windows 10 Professional

    Do the same process for other names. You've done it for Everyone, now also do the same thing for those:

    Administrators

    AND
    If you have a user name on the computer, type in that user name. For example, my user name is "Admin"; look at the picture to see what I mean

    Click image for larger version. 

Name:	Login Screenshot.png 
Views:	9 
Size:	1.65 MB 
ID:	141000
      My ComputerSystem Spec
  2.    24 Jun 2017 #12
    Join Date : Jun 2017
    Posts : 7
    windows 10
    Thread Starter

    Quote Originally Posted by pepanee View Post
    Do the same process for other names. You've done it for Everyone, now also do the same thing for those:

    Administrators

    AND
    If you have a user name on the computer, type in that user name. For example, my user name is "Admin"; look at the picture to see what I mean

    Click image for larger version. 

Name:	Login Screenshot.png 
Views:	9 
Size:	1.65 MB 
ID:	141000
    Click image for larger version. 

Name:	Capture.JPG 
Views:	27 
Size:	19.6 KB 
ID:	141009

    It gave me a security error on giving me security clearance.
      My ComputerSystem Spec
  3.    24 Jun 2017 #13
    Join Date : Jul 2016
    Granite Bay, CA
    Posts : 718
    Windows 10 Professional

    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 contains all the files)

    If that doesn't work, do the owner thing on the Steam folder itself.
      My ComputerSystem Spec
  4.    24 Jun 2017 #14
    Join Date : Jun 2017
    Posts : 124
    Windows 10.0.15063 (Version 1703) Pro 64-bit

    Quote Originally Posted by pepanee View Post
    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 contains all the files)

    If that doesn't work, do the owner thing on the Steam folder itself.
    Windows is extremely confusing in its permissions and file ownership.

    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).

    Permissions enable the owner of each secured object, such as a file, Active Directory object, or registry key, to control who can perform an operation or a set of operations on the object or object property
    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
    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
    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:




    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.
      My ComputerSystem Spec
  5.    24 Jun 2017 #15
    Join Date : Jun 2017
    Posts : 7
    windows 10
    Thread Starter

    Quote Originally Posted by Hydrate View Post
    Windows is extremely confusing in its permissions and file ownership.

    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
    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
    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:




    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.
    I am trying this, but it's taking a very long time.
      My ComputerSystem Spec
  6.    24 Jun 2017 #16
    Join Date : Jun 2017
    Posts : 124
    Windows 10.0.15063 (Version 1703) Pro 64-bit

    Quote Originally Posted by Scoka View Post
    I am trying this, but it's taking a very long time.
    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.
      My ComputerSystem Spec
  7.    24 Jun 2017 #17
    Join Date : Jul 2015
    Posts : 3,755
    10 Pro

    @Hydrate, you must be careful with your suggestions.

    Quote Originally Posted by Hydrate View Post
    execute this command:

    Code:
    icacls "C:" /t /c /q /RESET
    This command restores permissions to default for all files contained within C:\ quietly.
    No it doesn't. It replaces ACLs with inherited ACLs. A default Windows install does not take inherited permissions from root.

    Quote Originally Posted by Hydrate View Post
    Followed by this command once completed:

    Code:
    icacls "c:\" /t /c /q Administrators:f
    This command restores full permissions to the Administrators on the computer
    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.
      My ComputerSystem Spec
  8.    24 Jun 2017 #18
    Join Date : Jun 2017
    Posts : 7
    windows 10
    Thread Starter

    Quote Originally Posted by Hydrate View Post
    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.
    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
    Click image for larger version. 

Name:	captain.JPG 
Views:	24 
Size:	15.1 KB 
ID:	141031
      My ComputerSystem Spec
  9.    25 Jun 2017 #19
    Join Date : Jul 2015
    Posts : 3,755
    10 Pro

    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
      My ComputerSystem Spec
  10.    26 Jun 2017 #20
    Join Date : Jun 2017
    Posts : 124
    Windows 10.0.15063 (Version 1703) Pro 64-bit

    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.
      My ComputerSystem Spec

 
Page 2 of 2 FirstFirst 12


Similar Threads
Thread Forum
Solved Does anyone knows any file delete app?
Hi, I'm using the Tuneup 2016 app, this suite has a program called Tuneup shredder, I wonder if someone knows any alternative of this tool. This app safes delete the files. I'm planning to stop using Tuneup but i find very usefull the file...
Software and Apps
Problems with File Read/Write Permissions.
Hello, I just installed the latest build of Windows 10 and am running into some problems that never occurred to me before. My previous version of Windows 10 failed because of some system restore custom app that I downloaded so I had to reinstall....
General Support
How to ensure drive/folder/file permissions are correct?
I have: Drive 1 - SSD (boot) Drive 2 - HDD (storage) Drive 3 - HDD (storage) Drive 4 - External HDD (storage)
User Accounts and Family Safety
Tried EVERYTHING - can't delete file. PLEASE HELP!
I've tried instruction after instruction and cannot delete a file. It's from a programme called Solidworks, and is left in the programme file called 3ds Light.otf. I've tried deleting in Safe mode Using deleting/unlocking utlities File Assassin...
General Support
How to reset default file permissions for these directories?
The other day, I was trying to fix Windows Default Apps not working by adding "ALL APPLICATION PACKAGES" to the following directories as indicated here: https://support.microsoft.com/en-us/kb/2798317 However, it seems to have messed up the...
General Support
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 10:04.
Find Us
Twitter Facebook Google+ Ten Forums iOS App Ten Forums Android App



Windows 10 Forums