Lenovo ThinkCentre A50p (English) Rescue and Recovery 4.3 Deployment Guide - Page 61

Updating, Enabling the Rescue and Recovery desktop, Open Browser

Page 61 highlights

set TCL_LIBRARY=%SystemDrive%\Program Files\Common Files\Lenovo\Python24 \tcl\tcl8.4 set TK_LIBRARY=%SystemDrive%\Program Files\Common Files\Lenovo\Python24 \tcl\tk8.4 set PYTHONCASEOK=1 set RR=C:\Program Files\Lenovo\Rescue and Recovery\ set PYTHONPATH="C:\Program Files\Common Files\Lenovo\Python24" :: The next line will create the ISO silently and not burn it C:\Program Files\Common Files\Lenovo\Python24\python C:\Program Files\Common Files\Lenovo\spi\mkspiim.pyc :: Take the base backup... service must be started c: cd "C:\Program Files\Lenovo\Rescue and Recovery" RRcmd.exe backup location=L name=Base level=0 :: Reboot the system C:\Program Files\Common Files\Lenovo\BMGR"/bmgr32.exe /R Updating You may need to make a major change to your system, such as a service pack update to Windows. Before you install the service pack, you force an incremental backup on the system and identify that backup by name by performing the following steps: 1. Create a FORCE_BU.CMD file and push it down to your target systems. 2. Launch the FORCE_BU.CMD file once it is on the target systems. The contents of the FORCE_BU.CMD file are: :: Force a backup now "%RR%rrcmd" backup location=L name="Backup Before XP-SP2 Update" Enabling the Rescue and Recovery desktop After realizing the benefits of the Rescue and Recovery program for a period of time, you may want to benefit from the Rescue and Recovery environment. For demonstration purposes, a sample UPDATE_RRE.CMD script is provided in the following section that will extract the control file for the Rescue and Recovery environment, which you can edit and then put back into the Rescue and Recovery environment using rrutil.exe. See "Using RRUTIL.EXE" on page 30 for more information. To modify the Predesktop Area, the UPDATE_RRE.CMD script demonstrates several processes: v Use rrutil.exe to get a file from the Rescue and Recovery environment. The files to be extracted from the Rescue and Recovery environment are defined by in file getlist.txt. v Create a directory structure to put files back into the Predesktop Area after editing the appropriate file. v Make a copy of the file for safe keeping and then edit it. In this example, you want to change the home page that is opened when an end user clicks the Open Browser button in the Rescue and Recovery environment. The Web page http://www.lenovo.com/thinkvantage opens. To make the change, when Notepad opens with the pdaguien.ini file: 1. Change the line: button13 = 8, "Open browser", Internet.bmp, 1, 1, 0, Chapter 4. Best practices 53

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96

set TCL_LIBRARY=%SystemDrive%\Program Files\Common Files\Lenovo\Python24
\tcl\tcl8.4
set TK_LIBRARY=%SystemDrive%\Program Files\Common Files\Lenovo\Python24
\tcl\tk8.4
set PYTHONCASEOK=1
set RR=C:\Program Files\Lenovo\Rescue and Recovery\
set PYTHONPATH="C:\Program Files\Common Files\Lenovo\Python24"
:: The next line will create the ISO silently and not burn it
C:\Program Files\Common Files\Lenovo\Python24\python
C:\Program Files\Common Files\Lenovo\spi\mkspiim.pyc
:: Take the base backup... service must be started
c:
cd "C:\Program Files\Lenovo\Rescue and Recovery"
RRcmd.exe backup location=L name=Base level=0
:: Reboot the system
C:\Program Files\Common Files\Lenovo\BMGR"/bmgr32.exe /R
Updating
You may need to make a major change to your system, such as a service pack
update to Windows. Before you install the service pack, you force an incremental
backup on the system and identify that backup by name by performing the
following steps:
1.
Create a FORCE_BU.CMD file and push it down to your target systems.
2.
Launch the FORCE_BU.CMD file once it is on the target systems.
The contents of the FORCE_BU.CMD file are:
:: Force a backup now
"%RR%rrcmd" backup location=L name="Backup Before XP-SP2 Update"
Enabling the Rescue and Recovery desktop
After realizing the benefits of the Rescue and Recovery program for a period of
time, you may want to benefit from the Rescue and Recovery environment. For
demonstration purposes, a sample UPDATE_RRE.CMD script is provided in the
following section that will extract the control file for the Rescue and Recovery
environment, which you can edit and then put back into the Rescue and Recovery
environment using rrutil.exe. See “Using RRUTIL.EXE” on page 30 for more
information.
To modify the Predesktop Area, the UPDATE_RRE.CMD script demonstrates
several processes:
v
Use rrutil.exe to get a file from the Rescue and Recovery environment. The files
to be extracted from the Rescue and Recovery environment are defined by in file
getlist.txt.
v
Create a directory structure to put files back into the Predesktop Area after
editing the appropriate file.
v
Make a copy of the file for safe keeping and then edit it.
In this example, you want to change the home page that is opened when an end
user clicks the
Open Browser
button in the Rescue and Recovery environment. The
Web page
opens.
To make the change, when Notepad opens with the pdaguien.ini file:
1.
Change the line:
button13 = 8, "Open browser", Internet.bmp, 1, 1, 0,
Chapter 4. Best practices
53