0

I need a way to automatically change the read/write permissions on a folder, on an Windows XP Embedded machine.

The XPE image I'm using doesn't have all of the standard Windows tools, and apparently cacls is one of those tools that it doesn't have.

If I simply type cacls into my command window, it tells me

'cacls' is not recognized as an internal or external command, operable program or batch file.

Is there a way for me to change file/folder permissions in Windows XPE without the CACLS command, or is there a way I can download a version of cacls.exe that will run on the XPE machine?

1 Answer 1

1

Try xcacls.vbs.

As stated here:

xcacls.vbs is described in Q825751 and can be downloaded here

xcacls.vbs is an unsupported utility that addresses a limitation with the original xcacls.exe, specifically the inability to append permissions to a folder whose child objects have the inheritance flag set. The .vbs version does not suppport unc paths and is very slow to update multiple ACLs.

From the KB resource, it seems the VB script is independent of there existing CACLS or XCACLS on the system, but as I've strong-ed before, it is an unsupported utility.

Also in that page, XCACLS is part of the Windows Resource Kit; searching online for it might give you a way to download it and afterwards use the real XCACLS.exe

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .