修改 jmxPermissions.vbs 中 相似部分 如下
'Search for an ACE for the current user as there is no robust, portable way of creating such an ACE from scratch in VBScript. Dim specificAce(0) For Each ace in objSecurityDescriptor.DACL If ace.Trustee.Name = WshNetwork.UserName Then Set specificAce(0) = ace foundAce = "true" End If Next