3 Replies Latest reply on Jan 20, 2009 3:52 PM by Bill Robinson

    How to check and revoke permissions on file in Windows

    Antonio Caputo



      I need to build a compliance rule able to check which are the rights of the BUILTIN user on the file C:\program files\Internet Explorer\iexplore.exe and eventually revoke them.

      We know they are possible with the cacls command:


      Check: cacls "C:\program files\Internet Explorer\iexplore.exe"

      Revoke: cacls "C:\program files\Internet Explorer\iexplore.exe" /E /R BUILTIN\Users


      but how to build a Component Template containing the chack part?

      Ot is there any already implemented way to do it?


      Thank you