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. NTFS drive shows "Access Denied" after Arch Linux use. Tried takeown, icacls, changed...

    in Windows 10 Network and Sharing
    NTFS drive shows "Access Denied" after Arch Linux use. Tried takeown, icacls, changed...: Can't Access NTFS Drive – Says "Access Denied" Even After Fixing Permissionsone of my NTFS drives previously E: shows “Access Denied” in Windows 10. Disk Management shows it as a healthy NTFS partition, and I can see all files using dir Z:\ in Command Prompt.I already...
  3. NTFS drive shows "Access Denied" after Arch Linux use. Tried takeown, icacls, changed...

    in Windows 10 Gaming
    NTFS drive shows "Access Denied" after Arch Linux use. Tried takeown, icacls, changed...: Can't Access NTFS Drive – Says "Access Denied" Even After Fixing Permissionsone of my NTFS drives previously E: shows “Access Denied” in Windows 10. Disk Management shows it as a healthy NTFS partition, and I can see all files using dir Z:\ in Command Prompt.I already...
  4. NTFS drive shows "Access Denied" after Arch Linux use. Tried takeown, icacls, changed...

    in Windows 10 Software and Apps
    NTFS drive shows "Access Denied" after Arch Linux use. Tried takeown, icacls, changed...: Can't Access NTFS Drive – Says "Access Denied" Even After Fixing Permissionsone of my NTFS drives previously E: shows “Access Denied” in Windows 10. Disk Management shows it as a healthy NTFS partition, and I can see all files using dir Z:\ in Command Prompt.I already...
  5. 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...
  6. 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...
  7. 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...
  8. 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...
  9. 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...
  10. 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...