Antidote delivery manager and windows commands, Antidote delivery manager utilization – Lenovo ThinkPad R61i User Manual
Page 129
At the end of execution of the script, all files unpacked from the message is
deleted, so if files are required after the script exits (for example, installing a patch
on reboot) the files must be moved out of the message directory.
Each system has a configuration of repositories to check. It might be appropriate
for the IT administrator to divide the population of systems into groups and assign
different repositories (network shares) to each group. For example, systems might
be grouped geographically by proximity to a file server. Or, systems could be
grouped by function, such as engineering, sales, or support.
Antidote Delivery Manager and Windows commands
The Antidote Delivery Manager system provides several commands to facilitate the
operation of the system. In addition to the command to create messages and adjust
settings, there are commands to control networking, determine and control
operating system state, examine XML files from system inventories, and notify the
user of progress of the Antidote Delivery Manager script on the client machine.
The NETWK command enables or disables networking or restricts networking to a
limited group of network addresses. The INRR command can be used to determine
if the Windows 2000, Windows XP or Windows Vista is running or if the computer
is in the Rescue and Recovery environment. The REBOOT command can be used
to shut down the computer and specify that it should boot either to Windows 200,
Windows XP or Windows Vista or to Rescue and Recovery. The MSGBOX
application allows for communication with the user by displaying a message in a
pop-up box. The message box can optionally contain OK and Cancel buttons so the
message can act differently based on input from the user.
Certain Microsoft commands are also available to Antidote Delivery Manager. The
permitted commands include all commands built into command shell, for example
DIR or CD. Other useful commands, such as reg.exe to change the registry and
chkdsk.exe to verify disk integrity, are available.
Antidote Delivery Manager utilization
The Antidote Delivery Manager system can be used to complete a wide variety of
tasks. The following examples demonstrate how the system might be used.
v
Simple system test - Display notification
The most basic use of the system is to display a single message to the user. The
easiest way to run this test and also test other scripts before deployment is to
place the message in a repository that is a local directory on the administrators
personal computer. This placement allows rapid testing of the script with no
impact to other machines.
v
Script preparation and packaging
Write a go.rrs script on any machine where Antidote Delivery Manager has been
installed. Include a line: MSGBOX /MSG “Hello World” /OK. Run the APKGMSG
command on the directory containing go.rrs to create a message.
v
Script execution
Place the message file in one of the repository directories on your machine and
observe correct operation. When the mail agent runs next, a message box
displays with the “Hello World” text. Such a script is also a good way to test
network repositories and to demonstrate features, such as the checking of
repositories on resume from suspend mode.
Appendix B. Antidote Delivery Manager
121
- ThinkPad SL300 ThinkPad R61e ThinkPad R61 ThinkPad T400s ThinkPad SL500c ThinkPad X61 Tablet ThinkPad X300 ThinkPad Edge 15 ThinkPad R52 ThinkPad R51e ThinkPad X41 Tablet ThinkPad SL400c THINKPAD Z60M ThinkPad L410 ThinkPad L510 ThinkPad Edge 13 ThinkPad W500 ThinkPad T61p ThinkPad SL510 THINKPAD X61 ThinkPad SL410 ThinkPad X61s THINKPAD T61 ThinkPad Z61e ThinkPad X60 Tablet ThinkPad W701 ThinkPad Edge 14