Example 2, Package completion logs – Lenovo ThinkPad R61i User Manual
Page 142
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.
3.
Create a file named go.rrs and place the following lines in it but customize the
line that will run and install the Microsoft Quick Fix Engineering or patch.
Since this patch can only be installed in a regular Windows operating system,
this script prevents the install from attempting to run in Windows Professional
Edition.
retryonerror /on 10
InRR.exe
if errorlevel 2 goto ERROR
if errorlevel 1 goto InOS
if errorlevel 0 goto InPE
:ERROR
exit 1
:InOS
REM DISABLE NETWORKING
Netwk.exe /d
patchinstall.exe
REM ENABLE NETWORKING
Netwk.exe /e
msgbox.exe /msg “Patch Installed” /head “Done” /ok
exit 0
:InPE
exit 1
4.
Place go.rrs in C:\ADM\PATCHBUILD directory and run:
apkgmes.exe /key mykey.prv C:\ADM\PATCHBUILD PATCHBUILD
5.
Copy PATCHBUILDYYDDHHMM.ZAP to your mailbox.
6.
The patch will be installed either on next scheduled run of the mailman.exe file
for the client machine or on reboot of the client machine.
Package completion logs
v
Fail log
This file is typically stored in the C:\Program Files\Lenovo\Rescue and
Recovery\ADM directory. If a zap file exits with any non-zero value, it will be
logged into this file.
v
Rescue.log
This file is typically located in the C:\SWSHARE directory. This file provides
more detailed information that may help determine why a package may have
failed, or to make sure a package worked. It has line by line logging of what
occurs in a zap file.
v
Success Log
This file is typically stored in the C:\Program Files\Lenovo\Rescue and
Recovery\ADM directory. If a zap file exited with value of zero then it is logged
here.
134
Rescue and Recovery 4.21 Deployment Guide
- 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