Connecting to Network Resources
During the LTI and ZTI deployment process, you may require access to a network resource that is on a server different from that hosting the deployment point. You must be authenticated on the other server so that you can access shared folders or services running on the applications. For example, you might want to install an application from a shared folder on a server other than that hosting the deployment point that the BDD 2007 scripts use.
Note To query SQL Server databases hosted on a server other than that hosting the deployment point, see the Database, DBID, DBPwd, Instance, NetLib, Order, Parameters, ParameterCondition, SQLServer, SQLShare, and Table properties in Configuration Reference.
Using the ZTIConnect.wsf script, you can connect to other servers and access resources on them. The syntax for the ZTIConnect.wsf script is as follows (where unc_path is a UNC path to connect to the server):
Cscript.exe “%SCRIPTROOT%\ZTIConnect.wsf” /uncpath:unc_path
In most instances, you run the ZTIConnect.wsf script as a task sequencer task. Run the ZTIConnect.wsf script prior to tasks requiring access to a server other than the server hosting the deployment point.
To add the ZTIConnect.wsf script as a task to the task sequence of a build
Start Deployment Workbench.
In the console tree, navigate to Builds.
In the details pane, right-click build (where build is the build whose task sequence you want to modify), and then click Properties.
Click the Task Sequence tab, navigate to group (where group is the group in which you want to run the ZTIConnec.wsf script), click Add, and then click Task.
Note Ensure that you add the task prior to any tasks requiring access to the target server.
Complete the Properties tab of the new task by using the information in Table 13, accepting default values if not otherwise specified, and then click Apply.
Table 13. Completing the Properties Tab of the New Task
In this box
Do this
Name
Type Connect to server (where server is the name of the server to which you want to connect).
Description
Type description (where description is text that explains why the connection needs to be made).
Command line
Type Cscript.exe “%SCRIPTROOT%\ZTIConnect.wsf” /uncpath:unc_path (where unc_path is the UNC path to a shared folder on the server).
Complete the Options tab of the new task by using the information in Table 14, accepting default values if not otherwise specified, and then click OK.
Table 14. Completing the Options Tab of the New Task
In this box
Do this
Success codes
Type 0 3010. (The ZTIConnect.wsf script returns these codes upon successful completion.)
Conditions list box
Add any conditions that might be necessary (in most instances this task requires no conditions).
Upon completion of adding the task to run the ZTIConnect.wsf script, subsequent tasks can access network resources on the server specified in the /uncpath option of the ZTIConnect.wsf script.
Download
Get the Microsoft Solution Accelerator for Business Desktop Deployment 2007
Update Notifications
Sign up to learn about updates and new releases
Feedback