Examples, Example 1, Example 2 – Lenovo ThinkPad R50p User Manual

Page 143: Example

Advertising
background image

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

is

a

package

to

fix

a

computer

that

is

constantly

displaying

a

blue

screen

because

of

a

virus

or

bad

entry

in

registry.

1.

Assume

the

reason

the

client

computer

is

displaying

a

blue

screen

is

because

of

a

virus

that

is

executed

through

the

Run

Key

in

the

registry.

To

fix

this,

a

file

called

go.rrs

needs

to

be

created

that

runs

reg.

See

“Supported

Microsoft

commands”

on

page

129

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.

4.

Boot

up

each

client

and

press

the

Access

ThinkVantage

button/F11

or

the

Enter

key

to

enter

the

Predesktop

Area

where

the

mailman.exe

file

is

run

on

startup

and

then

run

the

REMOVEVIRUS

package.

Example

2

This

example

pushes

a

Quick

Fix

Engineering

update

or

patch

down

to

client

machines.

1.

Create

a

directory

to

hold

the

script

file

and

patch

files,

for

example:

C:\ADM\PATCHBUILD.

2.

Place

the

QFE

or

patch

executable

in

the

C:\ADM\PATCHBUILD

directory.

Appendix

B.

Antidote

Delivery

Manager

135

Advertising