/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Call BDD_Autorun.wsf from a remote pc

08/03/2017 1047 views
Hi all,
I'm playing about with the MDT BDD_Autorun.wsf and LiteTouch.vbs scripts to try and get a remote pc cloned via PSEXEC.exe. If I run BDD_Autorun on the desktop it runs fine, and clones right through normally. We have most details set in the CustomSettings.ini file but have the Task Sequence and Computer Name windows show to confirm details. On the Task Sequence window we have multiple OS's (for different scenarios) and one set as Default which is the one we use in 95% of cases. On the Computer Name window we have it picking up the name from the current machine for convenience. 

If I have the remote pc sitting at the login screen and from a remote pc call the command line 'psexec \\ComputerName -h -i -s \\ServerName\DeploymentShare$\Scripts\BDD_Autorun.wsf' it reboots and goes through the process of cloning the pc. The problem for me comes when it reboots and it should start the setup stage but it loads into Windows Boot Manager. I assumed with no interaction it would have accepted the default options on the Task Sequence and Computer Name windows. Do I need to add more switches to the command line?
0 Comments   [ + ] Show comments

Comments


Be the first to answer this question

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ