Lenovo ThinkCentre E50 (English) Rescue and Recovery 4.5 Deployment Guide - Page 63

MapDrv, it does not update the registry in the system it's running on.

Page 63 highlights

• -listtables List all of the sections and the tables of system information. • -silent Run with no output to the screen. • -section section1 sectiont2 ... Return in the XML output file only the data from the specified section(s). • -vpd Only collect the vital product data. • -leveln Sections are grouped into levels; n=1 is the least amount of information, n=5 is the most information. • -query data.element.str Returns the value of the specified data element. • -register filename.ccd Registers a custom collector DLL with the agent. • -unregister filename.ccd Removes a custom collector DLL from the registered list. • -delete filename.ccd Deletes the custom collector DLL and any associated files. • -install Run by an admin account to install any drivers needed for data collection. MapDrv MapDrv provides network share functions for ThinkVantage Technology products. MapDrv is used to connect and disconnect ThinkVantage Technology products with network shares. The network share information is contained in the registry and includes the network share name as an encrypted string. Network share information is stored in the registry at HKLM\Software\Lenovo\MND\. If an Active Directory policy is used, these values are stored at: HKLM\Software\Policies\Lenovo\MND\. MapDrv allows you to use the encryption engine to generate an encrypted username and password, which can be used to pre-populate network share information on multiple systems. By using the encryption engine, it does not update the registry in the system it's running on. The command-line interface to MapDrv is as follows: mapdrv / /unc /user /pwd [/timeout ] [/s] The MapDrv command will implement the user interface to map a network drive. The mapdrv.exe command can be found in the C:\Program Files\Common Files\Lenovo\MND directory. The mapping network drive interface supports the following parameters: Syntax: mapdrv [switches] Entering the command with no parameters launches the application and the information must be entered manually. The return codes for all parameters are: • 0 = success Appendix A. Administrative tools 57

  • 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

-listtables
List all of the sections and the tables of system information.
-silent
Run with no output to the screen.
-section section1 sectiont2 ...
Return in the XML output file only the data from the specified section(s).
-vpd
Only collect the vital product data.
-leveln
Sections are grouped into levels; n=1 is the least amount of information, n=5 is the most information.
-query data.element.str
Returns the value of the specified data element.
-register filename.ccd
Registers a custom collector DLL with the agent.
-unregister filename.ccd
Removes a custom collector DLL from the registered list.
-delete filename.ccd
Deletes the custom collector DLL and any associated files.
-install
Run by an admin account to install any drivers needed for data collection.
MapDrv
MapDrv provides network share functions for ThinkVantage Technology products. MapDrv is used to
connect and disconnect ThinkVantage Technology products with network shares. The network share
information is contained in the registry and includes the network share name as an encrypted string. Network
share information is stored in the registry at HKLM\Software\Lenovo\MND\<app id>.
If an Active Directory policy is used, these values are stored at: HKLM\Software\Policies\Lenovo\MND\<app
id>.
MapDrv allows you to use the encryption engine to generate an encrypted username and password, which
can be used to pre-populate network share information on multiple systems. By using the encryption engine,
it does not update the registry in the system it’s running on.
The command-line interface to MapDrv is as follows:
mapdrv /<function><app id> /unc <sharename> /user <username> /pwd <password> [/timeout <seconds>]
[/s]
The MapDrv command will implement the user interface to map a network drive. The mapdrv.exe command
can be found in the C:\Program Files\Common Files\Lenovo\MND directory. The mapping network drive
interface supports the following parameters:
Syntax:
PDSGUY >VZLWFKHV@
Entering the command with no parameters launches the application and the information must be entered
manually.
The return codes for all parameters are:
0
= success
Appendix A. Administrative tools
57