Call BDD_Autorun.wsf from a remote pc
08/03/2017 1047 views
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?
Be the first to answer this question