Lenovo ThinkPad Edge 15 User Manual
Page 145
Table 37. Antidote Delivery Manager commands (continued)
Commands
Description
REBOOT [/RR|/Win] [/wait | /f]
This command reboots the machine. With no parameters, reboot
with the normal boot sequence. The parameter RR means reboot to
the Rescue and Recovery program, and WIN means reboot to the
normal operating system. The reboot will not occur until the script
exits, so this should normally be the last command in a script. The
optional WAIT command forces the system to boot to the specified
environment on next reboot (manual or caused by other mechanism).
The /f parameter forces the system to reboot now, and does not
allow the user to save information from open applications. If no
parameters are specified, the program defaults to /win (/wait and /f
are not specified).
RETRYONERROR [ON|OFF] retries
By default, a script will only be tried once. However, if it is important
to keep trying a script until it works, the RETRYONERROR command
can be used to notify the mailbox function to keep trying to run this
script a finite number of times as specified by the retries parameter. If
no number is specified, the default value is 3.
MSGBOX /msg message text
[/head header_text] [/OK]
[/CANCEL]| [/TIMER timeout]
The MSGBOX command will display a message to the end user, if
logged on. The message will remain displayed and the script will
block until time out occurs, the cancel button is pressed or the OK
button is pushed (if /OK is specified). A cancel button will not be on
the panel if /CANCEL is not specified, and it will not be easy to get
rid of the display. The command will return:
• 0 = OK was pressed
• 1 = CANCEL
• 2 = Timer expired
The text in the message can be formatted using \n and \t to represent
newline and tab respectively.
NETWK [/D|/E|/A [/IP ip_address
| /DN domain_name]
[/NM netmask]
NETWK /D (disable) will stop all network traffic by disabling all network
adapters. Networking will be disabled until a NETWK /E (enable)
command is run. NETWK /A restricts networking to the IP address
specified by either the /IP switch (dotted decimal) or /DN (DNS name).
The /NM switch provides the network mask. If /NM is not provided,
then only the single machine specified by /IP or /DN will be accessible.
The state of this command does not persist over reboots, so
networking must be explicitly enabled and disabled after every reboot.
APUBKEY [/ADD|/DEL]
asn_1_encoded_public_key
The APASSWD command allows an administrator to remotely manage
the Antidote Delivery Manager message signing keys on each PC.
More than one key can be stored on each PC. If a signed message is
processed, each key will be tried until a successful one is found. Keys
are not separately named, so must be referenced by the content. A
new key can be added using the ADD parameter and deleted with
the DEL parameter.
AUNCPW [/ADD|/CHANGE|/DEL] unc
[/USER userid]
[/PWD password]
[/REF ref_name]
This command allows you to add, change or delete a password for
a network drive The reference name can be used as a shortcut in a
message instead of using the UNC. Return values are:
• 0 = Successful.
• 1 = Unable to set with the information provided.
•
2 = Successful, but a different UNC which has the same reference
name has already been defined.
Appendix B. Antidote Delivery Manager
137