Alright I got it to work up until this part of the code
 Code:

SHELL '%COMSPEC% /c %systemroot%\system32\runnas.exe /user:rds\loginscript "%logonserver%\netlogon\bginfo\bginfo.exe %logonserver%\netlogon\bginfo\rds.bgi" /nolicprompt /silent /timer:0'



After that I still need to add the following
 Code:
/password:itRocks@33 /env


But i am not getting it to work
_________________________
KIX Scripting is the Bomb!!