Extended Change Access Control List Tool (Xcacls)

Xcacls.vbs is an unsupported tool that provides additional capabilities not provided with the supported utility, Xcacls.exe.
  • Details


    File Name:


    Date Published:


    File Size:

    108 KB

      Xcacls.vbs is an augmented version of the Extended Change Access Control List tool (Xcacls.exe) that ships in the Windows 2000 and Windows Server 2003 Support Tools.

      Xcacls.vbs is an unsupported utility that addresses specific limitations with the original Xcacls.exe utility, specifically the inability to append permissions to a folder whose child objects have the inheritance flag set.
  • Supported Operating System

    Windows 2000 Server, Windows Server 2003, Windows XP

      This tool may be run on any machine running Windows 2000, Windows XP, or Windows Server 2003 operating systems.
    • 1. Download the Xcacls_Installer.exe package from this page.
      2. Extract the file in the package, Xcacls.vbs, and copy it to a folder that is in your computer's search path setting (for example, copy it to C:\Windows).
      3. Change the default scripting engine from Wscript to Cscript (The Xcacls.vbs script works best in Cscript). To do this, type the following at a command prompt, and then press ENTER:

      Cscript.exe /h:cscript

      Note: Changing the default scripting engine to Cscript only affects how scripts write to the screen. Wscript writes each line individually to an OK dialog box. Cscript writes each line to the command window. If you do not want to change the default scripting engine, you must run the script by using the following command:

      Cscript.exe xcacls.vbs

      Whereas if you change the default to Cscript, you may run the script with the following command:


      4. To see the Scacls.vbs command syntax, type the following at a command prompt:

      Xcacls.vbs /?
    • For more information on usage and syntax of the Xcacls.vbs utility, please see the following Microsoft Knowledge Base article:

      How To: Use Xcacls.vbs to Modify NTFS Permissions