Windows 10: Cannot get folder permissions... Solved

Page 1 of 2 12 LastLast

  1. Posts : 22
    Windows 10 Education 64-bit
       28 Mar 2017 #1

    Cannot get folder permissions...


    Hi, I removed an old Windows 10 user account, but its folder in C:\Users did not disappear. When I investigated, I found that there is a folder inside that I just cannot delete (in spite of being Administrator):
    C:\Users\test131\AppData\Roaming\AVAST Software\Avast\Cache

    I searched the web for solutions but they were all about changing the permissions in the Properties->Security Tab. However, I cannot even do anything there:
    Click image for larger version. 

Name:	Capture.PNG 
Views:	20 
Size:	14.1 KB 
ID:	127046

    If I click the "Advanced" button, I get this:
    Click image for larger version. 

Name:	Capture2.PNG 
Views:	1 
Size:	33.4 KB 
ID:	127047

    So I seem to be stuck.

    Does anybody know how to solve this by means of legitimate Windwos operations. That is without any third party software or boot images?

    Here is a full video of the behaviour:
      My ComputerSystem Spec

  2.    28 Mar 2017 #2

    We have a tutor and a tool for this so you can take ownership Add Take Ownership to Context Menu in Windows 10 - Windows 10 Customization Tutorials
      My ComputerSystem Spec

  3. Bree's Avatar
    Posts : 8,582
    10 Home x64 (1803) (10 Pro on 2nd pc)
       28 Mar 2017 #3

    In your second screenshot (the 'Advanced' one) click 'Change' next to the owner. Make yourself the owner and you can give yourself 'full control' permissions. Then you'll be able to delete it.
      My ComputersSystem Spec


  4. Posts : 22
    Windows 10 Education 64-bit
    Thread Starter
       28 Mar 2017 #4

    Bree said: View Post
    In your second screenshot (the 'Advanced' one) click 'Change' next to the owner. Make yourself the owner and you can give yourself full control. Then you'll be able to delete it.
    The "Change" you are referring to is greyed out...
      My ComputerSystem Spec

  5. Bree's Avatar
    Posts : 8,582
    10 Home x64 (1803) (10 Pro on 2nd pc)
       28 Mar 2017 #5

    Linus said: View Post
    The "Change" you are referring to is greyed out...
    Try taking ownership of the \AVAST Software\ folder first.
      My ComputersSystem Spec


  6. Posts : 83
    Windows 10 Professional
       28 Mar 2017 #6

    There may be a much simpler solution than permission changes. Restart your computer, and then see if you can delete the user directory you are trying to delete. It may still be in use because it may have been in use at one point during your current session. That has worked for me in the past when struggling with deleting user directories after removing the user through the account management interface.
      My ComputerSystem Spec


  7. Posts : 22
    Windows 10 Education 64-bit
    Thread Starter
       28 Mar 2017 #7

    Bree said: View Post
    Try taking ownership of the \AVAST Software\ folder first.
    I am already owner of all parent folders.
      My ComputerSystem Spec


  8. Posts : 22
    Windows 10 Education 64-bit
    Thread Starter
       28 Mar 2017 #8

    Xilnik said: View Post
    There may be a much simpler solution than permission changes. Restart your computer, and then see if you can delete the user directory you are trying to delete.
    Already tried that, even while disabling AVAST. I deleted that user months ago.
      My ComputerSystem Spec

  9. Bree's Avatar
    Posts : 8,582
    10 Home x64 (1803) (10 Pro on 2nd pc)
       28 Mar 2017 #9

    Xilnik said: View Post
    There may be a much simpler solution than permission changes. Restart your computer, and then see if you can delete the user directory you are trying to delete.
    A very good suggestion. If that fails, start at the top and take ownership of the deleted user's folder. Inherited permissions may be preventing you taking ownership lower down.
      My ComputersSystem Spec


  10. Posts : 83
    Windows 10 Professional
       28 Mar 2017 #10

    Linus said: View Post
    Already tried that, even while disabling AVAST. I deleted that user months ago.
    Have you tried deleting the directory through the recovery environment?
    • Use Advanced Startup Options to choose Command Prompt
    • Type
      Code:
      C:
      dir
      to see if the C: directory has a Users directory. Keep trying other drive letters until you find Users
    • Assuming you find it in the C: directory, try
      Code:
      rmdir /s /q C:\Users\test131
      Substitute the appropriate drive letter for C: if need be
      My ComputerSystem Spec


 
Page 1 of 2 12 LastLast

Related Threads
Hello I'm having difficulty deleting files and folders on an SSD in Windows 10. The SSD is used for games, and most of the data is a Steam folder. The problem with file removal is worsened as the Steam folder is mostly a modded Skyrim...
I recently bought a new Acer PC with Windows 10. The PC is just for me. There is only one account on it and I am not planning and creating any other accounts. I was pretty sure I am the administrator of the PC, but whenever I try to delete a...
I have: Drive 1 - SSD (boot) Drive 2 - HDD (storage) Drive 3 - HDD (storage) Drive 4 - External HDD (storage)
I come from windows 7 and i have not problem to copy delete etc. files on programs. Now every time i search to change file o delete or copy a windows appear ask me a permission... There is a way to disable this warning or ahve full acces to...
Found the problem. :) While you are still listed as the owner of each subfolder in the OneDrive folder, some subfolders no longer have inherited permissions enabled. If you Enable inheritance and OK for each affected subfolder in the OneDrive...
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 11:02.
Find Us