[wpkg-users] icacls command timing out when run by wpkg

Thomas Wootten tw296 at ebcf.org.uk
Wed Oct 7 14:58:52 CEST 2015


SOLVED!

Thanks for the support everyone. It turned out I simply needed to redirect stderr as well as stdout, like so:

<install cmd='%COMSPEC% /C icacls C:\Users /t /c /remove:d Admin /grant Admin:r >C:\icacls.log 2>&1'/>

Works redirecting to NUL too.


More information about the wpkg-users mailing list