When you use BDD (Solutions Accelerator for Business Desktop Deployment) with SMS SP2, the ZTI (Zero Touch Installation) process may hang during the State Restore phase and may prompt you with:

Security Warning The publisher could not be verified. Are you sure you want to run this software?

If you press Run, the process should continue to completion.

NOTE: The process appears to hang because the prompt may be hidden.

This behavior will occur if you use the FQDN in the SMS hierarchy and the computer name of the server in the UDShare and SLShare parameters of the CustomSettings.ini file.

To fix this behavior, modify the ZeroTouchInstallation.vbs:

1. In the ZeroTouchInstallation.vbs script file, locate the following lines.
<pre class="code">Line 3813:    LogInfo sLogFile, "About to call OSDConnectToUNC to connect to " &amp; sServerUNC, LogTypeInfo
Line 3814:      sCmd = """" &amp; sOSDConnectToUNC &amp; """ """ &amp; sServerUNC &amp; """ " &amp; arrSplit(0) &amp; " " &amp; arrSplit(1) &amp; " " &amp; arrSplit(2)</pre>
2. Add "cmd /c" to the command line on line 3814, as in the following example.
<pre class="code">Line 3813:    LogInfo sLogFile, "About to call OSDConnectToUNC to connect to " &amp; sServerUNC, LogTypeInfo
Line 3814:      sCmd = "cmd /c""""" &amp; sOSDConnectToUNC &amp; """ """ &amp; sServerUNC &amp; """ " &amp; arrSplit(0) &amp; " " &amp; arrSplit(1) &amp; " " &amp; arrSplit(2)</pre>
3. Save and then close the script file.

NOTE: See Zero Touch Installation Deployment Feature Team Guide

NOTE: See Freeware User State Migration Tool.