Storing network share information for a tvt, Connecting to the network share for a tvt, Disconnecting the network share for a tvt – Lenovo System Update Solution (Deployment Guide) User Manual

Page 88

Advertising
background image

app id: TVSUAPPLICATION
user: temp
pwd: password

This command captures the encrypted user name and password to setup the
repository with UNC path with authentication.

Storing network share information for a TVT

This function stores the network share information in the registry using the <tvt>
to define the subkey from the main MapDrv registry key:

mapdrv /store <app id> /unc <sharename> /user <username> /pwd <password>
[/timeout <seconds>]

This sets the UNC, user name and password values in the registry.

Connecting to the network share for a TVT

Connect the network share for the specified TVT:

mapdrv /connect <app id> [ /s]

Connects to the share using the UNC, user name , and password values in the
registry. The actual connection UNC is output to the NetPath value.

Disconnecting the network share for a TVT

The following command disconnects the network share for the specified TVT if
currently connected:

mapdrv /disconnect <app id>

Performs a net use /d [NetPath stored in registry] to disconnect the network
connection.

82

System Update Solution Deployment Guide

Advertising