Lenovo M495 (English) System Update 5.0 Deployment Guide - Page 88

UsingtheMapDrvutility

Page 88 highlights

mapdrv / /unc /user /pwd [/timeout ] [ /s] Table 27. Parameters Parameter /function app id /unc sharename 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: TVSUAPPLICATION. Identifies the network share name to store. The share name should be in the UNC form, for example: \\myserver\myshare /user username /pw password /timeout seconds /s Specifies the user name to store. Specifies the password to store. Specifies the connection timeout value to store. The default is 30 seconds. Enables a silent operation. The return code is 0 if an operation was successful. Otherwise, the return code is greater than 0. When the MapDrv utility is launched with no parameters, the end user will be prompted for the network share, user name and password, and then MapDrv will attempt to connect to the specified network share using the specified credentials. Using the MapDrv utility The following sections provide 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 /user /pwd Example: mapdrv /view TVSUAPPLICATION /user temp/pwd password app id: TVSUAPPLICATION user: temp pwd: password This command captures the encrypted user name and password to set up the repository with UNC path with authentication. Storing network share information for a ThinkVantage application This function stores the network share information in the registry using to define the subkey from the main MapDrv registry key: 82 System Update Solution Deployment Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94

mapdrv /<
function
><
app id
> /unc <
sharename
> /user <
username
> /pwd <
password
>
[/timeout <
seconds
>] [ /s]
Table 27. Parameters
Parameter
Description
/
function
Identifies the function to provide. Valid values are store, connect, disconnect, and
display.
app id
Identifies the application. The value specified is used to form the registry key name that
contains the network share information, for example:
TVSUAPPLICATION
.
/unc
sharename
Identifies the network share name to store. The share name should be in the UNC
form, for example:
\\myserver\myshare
/user
username
Specifies the user name to store.
/pw
password
Specifies the password to store.
/timeout
seconds
Specifies the connection timeout value to store. The default is 30 seconds.
/s
Enables a silent operation.
The return code is
0
if an operation was successful. Otherwise, the return code is greater than
0
.
When the MapDrv utility is launched with no parameters, the end user will be prompted for the network
share, user name and password, and then MapDrv will attempt to connect to the specified network share
using the specified credentials.
UsingtheMapDrvutility
The following sections provide ways that you can use the
MapDrv
command.
Displayingencryptedusernameandpasswordstrings
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>
Example:
mapdrv /view TVSUAPPLICATION /user temp/pwd password
app id: TVSUAPPLICATION
user: temp
pwd: password
This command captures the encrypted user name and password to set up the repository with UNC path
with authentication.
StoringnetworkshareinformationforaThinkVantageapplication
This function stores the network share information in the registry using
<tvt>
to define the subkey from
the main MapDrv registry key:
82
System Update Solution Deployment Guide