Lenovo THINKPAD Z60M User Manual
Page 92

apkgmes.exe
/newkey
mykey
This
command
creates
two
files,
mykey.pub
and
mykey.prv;
the
public
and
private
keys
respectively.
d.
Copy
the
public
key
to
the
donor
system’s
C:\Program
Files\Lenovo\Rescue
and
Recovery\ADM
directory.
e.
Open
the
file
using
a
text
editing
program
such
as
notepad.exe.
f.
Copy
the
contents
of
the
file
to
the
clipboard.
g.
On
the
command
line,
enter
the
following:
apubkey.exe
/add
x
where
x
is
the
contents
of
the
clipboard.
h.
This
will
create
an
entry
in
the
registry
in
the
HKLM\Lenovo\Rescue
and
Recovery\ADM\
section:
"pubkey0"=906253...
.
v
Up
to
ten
public
keys
can
be
stored
in
the
registry.
v
The
apubkey.exe
file
has
other
functions
which
can
be
used
for
Public
key
management.
At
the
command
line,
enter
APUBKEY
/?
or
see
6.
Create
the
Schedule
Antidote
Delivery
Manager
check
(multiple
schedules
are
allowed).
Antidote
Delivery
Manager
needs
to
run
periodically
on
the
system.
To
set
up
a
schedule
to
run
every
twenty
minutes,
the
following
should
be
added
to
the
registry
on
the
donor
system:
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
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.
86
Rescue
and
Recovery
Deployment
Guide
Version
4.1