Well I didn't wanna dig through a huge script to see what we used in production but I believe I used this in testing. I didn't really have that many variables since a lot of it was just put inline. I pulled it out to make it easier to edit. #include "EnvUpdate.au3" $CompName = 'BA-Test' $ou = 'ou=*****,ou="**** *******",ou=***,dc=***,dc=**,dc=***,dc=***' $fulldomain = '***.**.***.***' $domain = '***' $user = '***********' $password = '***********' ; http://msdn.microsoft.com/en-us