locked
ICACLS availability RRS feed

  • Question

  • Quick question, I want to call ICACLS.EXE from an applet I'm coding. Can I assume it to be present on all Vista/7 Releases?

     

    • Moved by Carey FrischMVP Monday, April 19, 2010 9:00 PM Moved to more appropriate forum category (From:Windows 7 Installation, Setup, and Deployment)
    Monday, April 19, 2010 6:44 PM

Answers

  • ICACLS.EXE is located in the %system% folder  and its usual size is 27,136 bytes. It runs only on an NTFS volume. Icacls.exe is new in Windows Vista or later Operating Systems (and also down-level in Windows Server® 2003 Service Pack 2) that will eventually replace cacls.exe.

    More references:

    Security Watch Tools for Managing ACLs

    Dale

    • Marked as answer by Dale Qiao Monday, April 26, 2010 3:10 AM
    Tuesday, April 20, 2010 8:27 AM

All replies

  • It should be present in \System32, but it could have been deleted. Why not test for its presence, i.e. found or not found?
    Tuesday, April 20, 2010 7:09 AM
  • ICACLS.EXE is located in the %system% folder  and its usual size is 27,136 bytes. It runs only on an NTFS volume. Icacls.exe is new in Windows Vista or later Operating Systems (and also down-level in Windows Server® 2003 Service Pack 2) that will eventually replace cacls.exe.

    More references:

    Security Watch Tools for Managing ACLs

    Dale

    • Marked as answer by Dale Qiao Monday, April 26, 2010 3:10 AM
    Tuesday, April 20, 2010 8:27 AM