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. Icacls Commands reliability is questionable.

    in Windows 10 Gaming
    Icacls Commands reliability is questionable.: Im on Windows 11; working with a legacy software development tool Visual Basic v6 Professional. and have just completed the project . I have successfully packaged and deployed the app on my machine. Run time Installation of my app works beautifully... However ; thanks to the...
  3. Icacls Commands reliability is questionable.

    in Windows 10 Software and Apps
    Icacls Commands reliability is questionable.: Im on Windows 11; working with a legacy software development tool Visual Basic v6 Professional. and have just completed the project . I have successfully packaged and deployed the app on my machine. Run time Installation of my app works beautifully... However ; thanks to the...
  4. I tried icacls to grant permissions to Authenticated Users only, but doesn't work

    in Windows 10 Gaming
    I tried icacls to grant permissions to Authenticated Users only, but doesn't work: I used icalcs on PowerShell to give folder permissions of the folder in my user to Authenticated users, but i get the message "Authenticated users: No mapping between account names and security IDs was done.The way i typed was:icacls 'C:\Users\username\Área de...
  5. I tried icacls to grant permissions to Authenticated Users only, but doesn't work

    in Windows 10 Software and Apps
    I tried icacls to grant permissions to Authenticated Users only, but doesn't work: I used icalcs on PowerShell to give folder permissions of the folder in my user to Authenticated users, but i get the message "Authenticated users: No mapping between account names and security IDs was done.The way i typed was:icacls 'C:\Users\username\Área de...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...