Originally Posted By: It_took_my_meds
 Quote:
I noticed the @userid macro returns the computername followed by a $ when run as the system from a GPO. Prior versions of windows running scripts the same way return SYSTEM from @userid

Thanks for the tip, these are the types of things that trip us up and that the community need to know about and remediate. I couple of my scripts would fall victim to this.


is this also the case if the computer is not joined to a domain?
_________________________
!

download KiXnet