Examples, Example 1 – Lenovo ThinkPad R61i User Manual

Page 141

Advertising
background image

HKLM\Software\Lenovo\Scheduler\Rescue0
Mode=1
NumMinutes=20
TaskShow=1
Task=C:\Program Files\Lenovo\Rescue and Recovery\ADM\antidote
\mailman.exe

Notes:

a.

The scheduler does not run in the Predesktop Area.

b.

For more information, see “Scheduling backups and associated tasks” on
page 23.

7.

Create an Antidote Delivery Manager package.

Note:

If you would prefer to use a user interface to perform this step,

download the Rescue and Recovery toolkit from http://www.lenovo.com/
support/site.wss/document.do?sitestyle=lenovo&lndocid=TVAN-ADMIN .
Having completed the previous steps, build and distribute your first package.
On an administrator system (non-donor), perform the following:
a.

Create a directory such as C:\ADM\Build.

b.

In that directory, create a file called go.rrs and add the following:

msgbox.exe /msg “Hello World!” /head “test” /ok /cancel

c.

Save and close the file.

d.

Issue a CD command to C:\Program Files\Lenovo\Rescue and
Recovery\ADM

e.

Run this command:

apkgmes.exe /key mykey.prv C:\adm\build HELLOPKG

f.

This will create a package called HELLOPKGYYMMDDHHMM.ZAP where
YYMMDDHHMM are replaced with the current date/time.

8.

Copy the HELLOPKGYYMMDDHHMM.ZAP to a mailbox location specified in

step 2.

9.

Implement Antidote Delivery Manager.
a.

When the timer has expired on the donor system, the package will run and
a Hello World message box will appear.

b.

If you prefer not to wait, on the donor system, you can enter C:\Program
Files\Lenovo\Rescue and Recovery\ADM\mailman.exe

Examples

Antidote Delivery Manager can be utilized in the following examples:

Example 1

This example shows using a package to fix a computer that is constantly
displaying a blue screen because of a virus or bad entry in registry.
1.

The virus is probably run through the Run Key in the registry. To fix the
problem, a go.rrs file that runs reg needs to be created. See “Supported
Microsoft commands” on page 127
for a list of Microsoft commands. Reg
removes the registry value and deletes the executable from the system, if
possible. The contents should look like this:

reg delete HKLM\Software\Microsoft\Windows\Current Version\Run /v runvirusvalue
/f del %custos%\windows\system32\virus.exe

2.

Now place your go.rrs file in your C:\ADM\BUILD directory and run:

apkgmes.exe /key mykey.prv C:\ADM\BUILD REMOVEVIRUS

3.

Copy REMOVEVIRUSYYDDHHMM.ZAP to your mailbox.

Appendix B. Antidote Delivery Manager

133

Advertising