Using The Mapdrv Utility - Lenovo ThinkServer TD100 Deployment Manual

(english) easyupdate solution deployment guide
Hide thumbs Also See for ThinkServer TD100:
Table of Contents

Advertisement

Table 26. Parameters
Parameter
/<function>
<app id>
/unc <sharename>
/user <username>
/pw <password>
/timeout <seconds>
/s
The Return code is 0 if operation was successful. Otherwise, the return code is
greater than 0.
When the MapDrv utility is launched with no parameters, the end user is
prompted for the network share, user name and password and then MapDrv
attempts to connect to the specified network share using the specified credentials.

Using the MapDrv utility

The following sections provides ways that you can use the MapDrv command:
Displaying encrypted user name and password strings
This function displays the registry key of the network share information where the
encrypted user name and password is stored. Using the /display function will not
store the user name and password in the registry. You need to copy the encrypted
user name and password to the appropriate registry key.
mapdrv /view <app id> /user <username> /pwd <password>For example,
mapdrv /view TSEUAPPLICATION /user temp/pwd password
app id: TSEUAPPLICATION
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.
Description
Identifies the function to provide. Valid values are store, connect,
disconnect, and display.
Identifies the application. The value specified is used to form the
registry key name that contains the network share information. For
example, TSEUAPPLICATION.
Identifies the network share name to store. The share name should
be in the UNC form (e.g. \\myserver\myshare).
Specifies the user name to store.
Specifies the password to store.
Connection timeout value to store. The default is 30 seconds.
Performs the operation silently.
Appendix A. Command line parameters
73

Advertisement

Table of Contents
loading

Table of Contents