I am now trying to use cusrmgr with sanur and runas.
I think I am running into problems with the quotes again. Is there a way to tell the shell statement or a run statement to STAY running as a service account for an entire if statement? I am really tired of doing the ' " \" \" " ' thing on quotes.
Code:
  	; Add Remote Control groups to the Remote Control Operators group of all WIN2K or WINXP computers.
If $Client = "Windows 2000 Workstation" OR $Client = "Windows XP Workstation"
$G1='runas /u:rtp\rtp_domain_service "cusrmgr.exe -alg \"remote control operators\" Add user -u rtp\Crop_Business_Remote_Admins" | sanur /i logon.txt'
Use Z: "$LOGONSRVR\NETLOGON\SANUR"
Go Z:
Shell "%COMSPEC /C $G1"
Use Z: /DELETE
EndIf