I created a scripted install that includes joining the system to our domain.  When I run it on an HP ProDesk 600, the script works fine.  However, when I run it on a Dell Optiplex 3020, it fails.  When I open command line and attempt to run my script, the error notes that it cannot find the script file in c:\Kace\Engine.  Here is my script:

cscript join_domain.vbs domain username password DNS IP

Not sure why it would work for the HP and not the Dell -- any recommendations?  Thanks!
Answer Summary:
2 Comments   [ - ] Hide Comments


  • in your CMD do you change the dir to C:\Kace\Engine ??
  • No, the script is as shown above.
Please log in to comment

Answer Chosen by the Author


The Dell Optiplex did not have all the drivers installed, specifically the network driver and therefore, it never joined the domain!  Need more sleep....
Answered 07/14/2015 by: lnovak
Third Degree Blue Belt

Please log in to comment
Answer this question or Comment on this question for clarity


If the script is not there, then the contents are immaterial.  What happens if you copy the script into the required folder and then run it? Do things complete correctly.?
Is the script file ending up in another folder?  Either the file is not being copied at all, or if variable are being used for the destination folder, perhaps the variables are resolving incorrectly.
Can you add in some logging code to try and track down the nature of the problem?
Answered 07/11/2015 by: EdT
Red Belt

Please log in to comment