beautypg.com

Mapdrv utility, Command line interface – Lenovo System Update Solution User Manual

Page 87

background image

-IncludeRebootPackages 1,3,4 - downloads and installs update packages that require a reboot.

Notes:

1. If you do not include -IncludeRebootPackages 1,3,4, System Update will not detect packages that

require a reboot.

2. To configure System Update to recognize license agreements automatically when you are using a local

repository but not the Lenovo Help Center Web site, set the following registry value to YES:

HKEY_LOCAL_MACHINE\SOFTWARE\Lenovo\System Update
\Preferences\UserSettings\General\IgnoreLocalLicense

For more information about working with license agreements, see “Working with license agreements” on
page 41.
If you do not set this registry setting to YES, System Update will not detect packages with
license agreements when using command scripts.

MapDrv utility

The MapDrv utility provides network share related functions for System Update. To define the network share
information, use the MapDrv utility to connect or disconnect network shares. The MapDrv utility maintains
network share information in a registry key that is protected by administrator access only. The network
share information includes the network share name (in UNC format), user name (saved in the registry as an
encrypted string), and the password (saved in the registry as an encrypted string).

The MapDrv utility can be found in the System Update installation directory. The default installation directory
is located at c:\Program Files\Lenovo\System Update.

The network share information is stored in the following registry entry:
HKLM\Software\Lenovo\MND\TVSUAPPLICATION

If an Active Directory policy is used, these values are stored in the following registry entry:
HKLM\Software\Policies\Lenovo\MND\TVSUAPPLICATION

The strings stored in the TVSUAPPLICATION key are:

Table 26. The MapDrv settings and values

String

Description

UNC

The value of this string specifies the stored network share.

User

The value of this string specifies the stored encrypted user name
for this share.

Pwd

The value of this string specifies the stored encrypted password
for this share.

NetPath

The value is generated by the MapDrv utility to indicate the
actual connection path. It might be in IP dotted format if the
ServerName string is not working. The actual connection path
may not be the same as the stored UNC value.

The MapDrv utility also enables an administrator to use the encryption engine to generate an encrypted user
name and password, which can be used to pre-populate network share information on multiple systems.
Using the encryption engine in this manner does not update the registry on the system.

Command line interface

The command line interface to the MapDrv utility is as follows:

Appendix A. Command line parameters

81