Try subinacl.exe instead with the /SETOWNER switch

Alternatively I believe fileacl may work

2008/8/6 Joseph L. Casale <[EMAIL PROTECTED]>

>  I was using xcacls.exe in my script, but noticed I couldn't take
> ownership of the actual folder with it.
>
>
>
> I am trying to adapt my script to xcacls.vbs, it works on my XPsp3 wkst,
> but on my 2003sp2 DC I get an error where it cant set the owner with the
> same syntax?
>
>
>
> cscript XCACLS.vbs "C:\Test" /F /T /P "Domain Admins":F "Dom\JCasale":F /O
> "Dom\JCasale"
>
>
>
> Why would the ownership part not work on the DC?
>
>
>
> Thanks!
> jlc
>
>

~ Upgrade to Next Generation Antispam/Antivirus with Ninja!    ~
~ <http://www.sunbelt-software.com/SunbeltMessagingNinja.cfm>  ~

Reply via email to