1. Using the [106186](https://autospinstaller.codeplex.com/SourceControl/changeset/106186) release
2. Topology: 1 SQL, 1 WFE, 1 APP
Attached: our XML
__Behavior__:
We've been firing off the AutoSPInstaller.bat file from the WFE server in our case. Everything runs fine from checks, prereq installs, binary install, cumulative update, farm creation from WFE and it abruptly stops the script when trying to run Remote install on APP with [this](http://i.imgur.com/o961vF7.png) error:
>
> -There are other servers specified as farm members in:
> -\\...\AutoSPInstallerInput.XML
> -but <RemoteInstall> is not set to "true" - nothing else to do.
>
...
__Workaround__:
Interestingly, when we fire off this batch file second time time from WFE server then the script executes remotely to APP just fine. This led us to the guts of Franken-Scripts and we added a check for remote install (copied what you already have lines 64-80 in Main.ps1) in Remote-Install function. We noticed that the registry values as correct as we go through install but the value of $enableRemoteInstall does not get updated properly unless we did this check. At this point, the script was kicking off remotely fine :)
But we ran into another hiccup right after remote install was preparing to start on APP-
> "Cannot bind argument to parameter 'SecureString' because it is null"
Tracing the code, we determined that it didn't have credential value passed, so we added a check for this as well (also something you already have in Main.ps1 in this region- '#Region MAIN - Check for input file and start the install").
With these two changes (our current version of Main.ps1 also attached), we were able to run things without a hicchup and are happy. We just want to reach out about this before we get too lost in copying pasting around :)
__Question for community, brianlala__:
Why us!? jk What are we doing different that no one else seems to be reporting this issue? Or has anyone else seen this issue?
Let me know if I can clarify anything here.
Thank You,
Samir Raut
Comments: ** Comment from web user: rautsamir **
Thanks for the response, Brian.
1. I think I follow you, I see that there's some complexity behind managing RemoteInstall when reboots are required but here's where I'm confused- towards the end of configuring the farm and first server (in this case server called WFESERVER)...right before it tries to fire off RemoteInstall [here](http://i.imgur.com/o961vF7.png), the WFE doesn't need a reboot here does it?
2. Good point. I did learn this the hard way when I moved from single server to multi-server. Forgot to update this part for this version of XML, it's a good reminder.
3. The final topology will be more of a medium/large farm so I'm hoping to take advantage RemoteInstall.
Appreciate all the work you put in this awesome set of scripts. Looking forward to using it more often.