Haven't used XCACLS yet to verify this. Mainly using WMI and other scripts to create a share leave out the registry settings that contain the security data, which is why my SharePerms function won't work on them. When manually creating a Share the shareperms function does work.