Windows 10: icacls problem

Discus and support icacls problem in Windows 10 Support to solve the problem; Hi I have Windows 10 v1511 Enterprise 64 bit. I noticed that the icacls "<Home_directory_path>" /inheritance:e /Q /T /C /L command, applied to... Discussion in 'Windows 10 Support' started by balubeto, Jan 20, 2016.

  1. balubeto Win User

    icacls problem


    Hi

    I have Windows 10 v1511 Enterprise 64 bit.

    I noticed that the icacls "<Home_directory_path>" /inheritance:e /Q /T /C /L command, applied to the home directory of a directory structure, is run only the first level of the structure. Why?

    How do I run it automatically in all the levels below?
    I also noticed that if I write the icacls "<Home_directory_path>" /reset /Q /T /C /L command, it goes in a loop. Why? What should I write in order to avoid this?

    Thanks

    Bye

    :)
     
    balubeto, Jan 20, 2016
    #1

  2. When I try to save, copy, or create a new file in my D & C Drive both I am getting this error Error 0x80070522 Arequired Privilege is not held bt the Client

    Type this in command prompt:

    icacls d:\

    and

    icacls c:\

    What does it show?
     
    Ramesh Srinivasan, Jan 20, 2016
    #2
  3. Global Change File Permissions AND Users in One Folder?

    Matt,

    Try this:

    icacls D:\Wav_Songs\*.wav /remove "NULL SID" /T

    icacls D:\Wav_Songs\*.wav /remove None /T

    .

    That will get rid of those bogus users.

    .

    icacls D:\Wav_Songs\*.wav /grant matticacls problem :(OI)(CI)F /T

    icacls D:\Wav_Songs\*.wav /grant Administratorsicacls problem :(OI)(CI)F /T

    icacls D:\Wav_Songs\*.wav /grant SYSTEMicacls problem :(OI)(CI)F /T

    icacls D:\Wav_Songs\*.wav /grant Usersicacls problem :(OI)(CI)F /T

    .

    These will give full permissions to the specified users (see also note below).

    .

    takeown /R /F *.wav

    takeown /R /F *.WAV

    .

    Take ownership of the files.

    .

    icacls * /T /grant matt:F
    .

    Do this when/because the above command did not work.
     
    ManThisIsReallyBizarre, Jan 20, 2016
    #3
  4. balubeto Win User

    icacls problem

    Apparently, the commands

    Code: takeown /F "<Home_directory_path>" /A /R /D S /SKIPSL icacls "<Home_directory_path>" /reset icacls "<Home_directory_path>" /reset /Q /C /T /L pushd "<Home_directory_path>" && ( rd /S /Q "<Home_directory_path>" 2>nul & popd )[/quote] reach my goal but the third command goes in loop and, to stop it, I have to press Ctrl+C. Why?

    How do I do that the third command does not go in loop?

    Thanks

    Bye
     
    balubeto, Jan 21, 2016
    #4
  5. balubeto Win User
    I think I found the best solution to remove a directory structure which also contains symbolic links and with ACLs managed by TrustedInstaller or Authenticated Users or System users:

    Code: takeown /F "<Directory_path>" /A /R /D Y /SKIPSL >nul 2>&1 icacls "<Directory_path>" /reset icacls "<Directory_path>" /grant:r Administratorsicacls problem :(OI)(CI)F /inheritance:e /Q /C /T /L >nul 2>&1 pushd "<Directory_path>" && ( rd /S /Q "<Directory_path>" 2>nul & popd )[/quote] Thanks

    Bye
     
    balubeto, Apr 4, 2018
    #5
Thema:

icacls problem

Loading...
  1. icacls problem - Similar Threads - icacls problem

  2. We can‘t sign into your account - potentially caused by icacls

    in Windows 10 Gaming
    We can‘t sign into your account - potentially caused by icacls: I‘m currently struggling with loging into my account. When booting and signing in the message „We can‘t sign into your account“ pops up. I‘ve tried logging in and out again multiple times to no avail. Interestingly, everything works fine when I boot into safe mode. This makes...
  3. We can‘t sign into your account - potentially caused by icacls

    in Windows 10 Software and Apps
    We can‘t sign into your account - potentially caused by icacls: I‘m currently struggling with loging into my account. When booting and signing in the message „We can‘t sign into your account“ pops up. I‘ve tried logging in and out again multiple times to no avail. Interestingly, everything works fine when I boot into safe mode. This makes...
  4. We can‘t sign into your account - potentially caused by icacls

    in Windows Hello & Lockscreen
    We can‘t sign into your account - potentially caused by icacls: I‘m currently struggling with loging into my account. When booting and signing in the message „We can‘t sign into your account“ pops up. I‘ve tried logging in and out again multiple times to no avail. Interestingly, everything works fine when I boot into safe mode. This makes...
  5. icacls fails on malwarebytes

    in Windows 10 Network and Sharing
    icacls fails on malwarebytes: Windows 10 Pro Workgroupicacls "c:\program files\malwarebytes\anti-malware" /grant everyone:f /t /cc:\program files\malwarebytes\anti-malware\suhlpr.dll: Access is denied. c:\program files\malwarebytes\anti-malware\Swissarmy.dll: Access is denied. c:\program...
  6. icacls fails on malwarebytes

    in Windows 10 Gaming
    icacls fails on malwarebytes: Windows 10 Pro Workgroupicacls "c:\program files\malwarebytes\anti-malware" /grant everyone:f /t /cc:\program files\malwarebytes\anti-malware\suhlpr.dll: Access is denied. c:\program files\malwarebytes\anti-malware\Swissarmy.dll: Access is denied. c:\program...
  7. icacls fails on malwarebytes

    in Windows 10 Software and Apps
    icacls fails on malwarebytes: Windows 10 Pro Workgroupicacls "c:\program files\malwarebytes\anti-malware" /grant everyone:f /t /cc:\program files\malwarebytes\anti-malware\suhlpr.dll: Access is denied. c:\program files\malwarebytes\anti-malware\Swissarmy.dll: Access is denied. c:\program...
  8. What are File Resource Properties? "IMAGELOAD: 1", icacls adds inherited rights a second time.

    in Windows 10 Network and Sharing
    What are File Resource Properties? "IMAGELOAD: 1", icacls adds inherited rights a second time.: Hello,I noticed something strange under Win10 21H2: For all files created under "C:\Users\username\Downloads", the item "Resource Properties" with the entry "IMAGELOAD: 1" is displayed in the Advanced Security Settings. This is only the case with the download order and only...
  9. What are File Resource Properties? "IMAGELOAD: 1", icacls adds inherited rights a second time.

    in Windows 10 Gaming
    What are File Resource Properties? "IMAGELOAD: 1", icacls adds inherited rights a second time.: Hello,I noticed something strange under Win10 21H2: For all files created under "C:\Users\username\Downloads", the item "Resource Properties" with the entry "IMAGELOAD: 1" is displayed in the Advanced Security Settings. This is only the case with the download order and only...
  10. What are File Resource Properties? "IMAGELOAD: 1", icacls adds inherited rights a second time.

    in Windows 10 Software and Apps
    What are File Resource Properties? "IMAGELOAD: 1", icacls adds inherited rights a second time.: Hello,I noticed something strange under Win10 21H2: For all files created under "C:\Users\username\Downloads", the item "Resource Properties" with the entry "IMAGELOAD: 1" is displayed in the Advanced Security Settings. This is only the case with the download order and only...