Preface Information presented in this guide is to support Lenovo computers installed with ® ® the ThinkVantage Rescue and Recovery program. The Rescue and Recovery program is an essential tool that enables users and administrators to restore backups, access files, diagnose problems, and make ®...
Page 8
Rescue and Recovery 4.3 Deployment Guide...
It is also available for purchase as a CD file so that organizations can benefit from the Rescue and Recovery program on non-Lenovo branded computers. You can then purchase separate licenses for individual computers.
For more information, see “Rejuvenation” on page 16. Hints and Tips For hints and tips on using the Rescue and Recovery program, see the Rescue and Recovery v4.3 Considerations document located at: http://www.lenovo.com/support Chapter 1. Overview...
Page 12
Rescue and Recovery 4.3 Deployment Guide...
To obtain the latest version of the Rescue and Recovery program, see the Lenovo Web site: http://www.lenovo.com/thinkvantage Requirements for Lenovo computers Lenovo-branded computers must meet or exceed the following requirements to install the Rescue and Recovery program: Operating system: Windows 7 Memory: 1 GB –...
“Scenario 2 - Installing on OEM systems” on page 54. Support for booting from external media (CD/DVD and USB): Non-Lenovo computer and devices (USB hard disk drive, CD-R/RW, DVD-R/RW/RAM, or DVD+R/RW) must fully support one or more of the following specifications:...
For installation paths that do NOT contain spaces: msiexec.exe /a "Lenovo Rescue and Recovery.msi" /qn TARGERDIR=F:\TVTRR v For installation paths that contain spaces: msiexec.exe /a "Lenovo Rescue and Recovery.msi" /qn TARGERDIR= \"F:\TVTRR\Rescue and Recovery\"...
actions performed by the Add/Remove Programs applet from Control Panel. The log file is not created when your are running the setup.exe file directly from the MSI package. To create a log file for all MSI actions, you can enable the logging policy in the registry.
Page 18
v Z902ZABXXXXUS00.tvt where AB determines the compatibility of the Predesktop Area and XXXX is the build id. This file is required to install the Predesktop Area on all language systems. This file must be in the same directory as the main installation package (either installation executable or Rescue and Recovery.msi if extracted or OEM install).
Page 19
v Russian v Spanish v Swedish v Simplified Chinese v Traditional Chinese Rescue and Recovery custom public properties The installation package for the Rescue and Recovery program contains a set of custom public properties that can be set on the command line when running the installation.
Page 20
Using PowerQuest Drive Image based tools with Rescue and Recovery If the PowerQuest DeployCenter tool PQIMGCTR is installed in the following location (X:\PQ), you can create and deploy an image with the Rescue and Recovery program with the following scripts: Minimum script files: Table 4.
Rescue and Recovery program is installed. These variables can be used when creating scripts or when changing to a desired directory from a command prompt. For example, to change the c:\Program Files\Lenovo\Rescue and Recovery directory from a command prompt, type CD %rr% and press Enter.
Page 22
The message can be ignored and everything should operate normally. 3. For OEM or non-Lenovo standard preload systems, you need to suspend the encryption of the Windows operating system partition when performing any backup or restore operations using the Rescue and Recovery program, otherwise the Rescue and Recovery program will not enter PDA.
Single file restore Single file restore prompts the user for the Backup Storage location, and then the user selects a backup. The Rescue and Recovery program will display files that the user is authorized to access. The user then selects the files, folders, or both to be restored and the system will restore them to their original locations.
As an extension of the Rescue and Recovery program, custom recovery technology has been added to the recovery process. Users will interact with this custom recovery method through the Rescue and Recovery program and the Lenovo Base Software Selector programs. By performing a custom recovery, users have the option of including and excluding individual components such as applications, device drivers or operating systems as part of the recovery process.
Page 26
Various types of recovery methods can be used to renew computer systems. The Base Software Administrator program utilizes the full factory recovery method and the custom factory recovery method. The full factory recovery method restores the factory contents of the hard drive that consists of components such as applications, device drivers, and the operating system.
Page 27
Table 9. General settings Windows control file Setting keyword Description Name FullName= Sets the user name for the computer. Organization OrgName= Sets the organization the computer belongs to, such as a specific department or location. Time zone TimeZone= Sets the time zone for the computer.
Table 11. Switches (continued) Switch Description /SILENT Suppresses any message boxes for error or successful completion. (For return codes, the following table.) /BOOTSP Takes an explicit Y or N value to indicate whether the service partition should be set active. For example, /BOOTSP=Y. A value of N allows the adminitrator to reset the C: partition active again, so recovery doesn’t automatically occur on next reboot.
The Sysprep backup operation in Windows 7 is different from that in Windows XP or Windows Vista. This is due to the new version Windows RE built from Windows 7. You can download the accessory package from the Lenovo Support Web site at http://www.lenovo.com/support/site.wss/ document.do?lndocid=MIGR-4Q2QAK, and follow the steps to perform the correct...
Capturing a Sysprep utility image in the base backup These instructions are for the files that can be downloaded separately for the Individual language files for large enterprise that you can download from the Lenovo Web site: http://www.lenovo.com/support/site.wss/document.do?lndocid=MIGR-4Q2QAK To capture a Sysprep utility image in the base backup, do the following: 1.
Page 31
To EXCLUDE a partition, add the following to the rnrdeploy.xml file: <BackupPartitions dword="20" /> </Rescue__and__Recovery..Settings..Backup> For additional information on how to use the rnrdeploy.xml file, refer to the ThinkVantage Technologies XML/ADM supplement on the Lenovo Web site Chapter 3. Configurations...
Page 32
ADMIN#rnr 3. If you want to exclude .mpg and .jpg files from the backups, set the registry entry to include them at: HKLM\SOFTWARE\Lenovo\Rescue and Recovery\Settings\BackupList. For more information on including and excluding backups with the registry see Include and exclude backup files with Registry settings“Include and exclude backup files with registry settings”...
Supported Sysprep multiple drive configurations Windows PE drive enumeration may be different than the Windows main operating system enumeration for Primary partitions. If you wish to backup to a partition other than C:\ Primary, you must set the Backup partition type to Extended.
The Rescue and Recovery program can include and exclude an individual file, a folder, or an entire partition. With Rescue and Recovery 4.3, these capabilities are controlled by the following registry entries which are the type REG_MULTI_SZ: v HKLM\SOFTWARE\Lenovo\Rescue and Recovery\Settings\BackupList v HKLM\SOFTWARE\Lenovo\Rescue and Recovery\Settings\ExcludeList v HKLM\SOFTWARE\Lenovo\Rescue and Recovery\Settings\OSAppsList...
Page 35
HKLM\SOFTWARE\Lenovo\Rescue and Recovery\Settings\BackupList v One line per include/exclude rule entry. v If more than one setting applies to a file or folder, the last setting applied is used. Entries at the bottom of the registry entry take precedence. v Entries must start with either: –...
Page 36
Rescue and Recovery program. This GUI exclude list is managed through the registry at: HKLM\SOFTWARE\Lenovo\Rescue and Recovery\Settings\ExcludeList. OSAppsList: The Rescue and Recovery program 4.3 provides the ability to selectively restore particular files and folders when doing an OS & Apps restore...
Active Directory and Group Policy, see the accompanying XML/ADM Supplement for the deployment guide located on the ThinkVantage Technologies Administrator Tools page: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN- ADMIN#rnr Working with the Predesktop Area To customize parts of the Rescue and Recovery Predesktop Area, use the rrutil.exe utility program to GET and PUT files from the Predesktop Area or the protected backups folder.
You can obtain rrutil.exe from the ThinkVantage Technologies Administrator Tools Web page located at: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN- ADMIN#rnr The RRUTIL program works with the Rescue and Recovery filter driver on virtual partitions, and mounts type 0x07 partitions as a drive in order gain access. The opening of these partitions is only done long enough to perform the requested commands then closed again.
Page 39
03/10/04 00:00:00 AM BOOT.INI 08/16/02 00:00:00 AM 53786 COMMAND.COM 12/16/03 00:00:00 AM CONFIG.ICR 12/16/03 00:00:00 AM CONFIG.SYS 04/06/00 00:00:00 AM FINDDRV.BAT 09/17/03 00:00:00 AM 14320 HIMEM.SYS 3. An optional command line input will be a text file to capture the output of this option.
Page 40
Delete files from the Predesktop Area directories RRUTIL /d C:\temp\dellist.txt Delete a file in the \preboot, \minint, or root of the Rescue and Recovery partition either virtual or type 0x07: 1. Delete the file(s) of \preboot. \minint, or root of the PE partition either virtual or type 0x07 based on the contents of a text file.
Page 42
2. Sample command: RRUTIL /bs would display the backup space on the console. As previously stated in this chapter, the rrutil.exe file enables you to GET files from and PUT files into the Rescue and Recovery environment, it also allows listing of files in the Rescue and Recovery environment and in the backups folder.
Page 43
Note: xx in the file name represents one of the following two-letter language abbreviations: Table 16. Language codes Two-letter language code Language Brazilian Portuguese Danish English Finnish French German Italian Japanese Korean Dutch Norwegian Portuguese Simplified Chinese Spanish Swedish Traditional Chinese Getting the file pdaguien.ini from the Rescue and Recovery environment 1.
Notes: a. Catalog files are unnecessary, as they are not processed by the Rescue and Recovery environment. The preceding instructions apply to any device driver that might be required to configure the computer. b. With the limitation of Windows PE, you might have to manually apply some configuration applications or settings as registry updates.
Page 45
Changing the environment background The background of the right panel is a bitmap graphic and is named mainbk.bmp. The file mainbk.bmp is located in the \PREBOOT\USRINTFC directory. If you create your own bitmap image for the right-panel background, it must conform to the following dimensions: v 620 pixels wide v 506 pixels high...
Page 46
Table 18. Entry type parameters Parameter Button type Empty field. Use this value when you want to leave a row blank and unused. Section head text. Use this setting to establish a major grouping or section head. Application launch. Define an application or command file to be started when the user clicks the button or text.
Page 47
OPERA.EXE Map a network drive MAPDRV.EXE Diagnose hardware PCDR.CMD; launches the PC Doctor application, and Lenovo-branded preinstallation models only Create diagnostic diskettes DDIAGS.CMD Changing entries and functions in the right panel Changing the right-panel entries require editing the pdaguixx.ini (where xx is the language designation) file.
Page 48
Line05 = "*Configure your system settings and passwords" Line06 = "your system settings and passwords" Line07 = "*Communicate using the Internet and link to the Lenovo support site" Line08 = "use the Internet and link to the Lenovo support site"...
Note: Do not change or delete lines 13 and 14. In the [REBOOT] section of the pdaguixx.ini (where xx is the language designation) file, you can modify the values in the following lines: NoShowChk= RebootText= The two values for ″NoShowChk″ are 0 and 1. To hide the message, mark the check box.
Page 50
E-mail The Rescue and Recovery program provides support for Web-based e-mail through the Opera browser. Opera provides IMAP-based e-mail which can be enabled through the large enterprise configuration, but is not supported. To get the reference information on how to enable, read the System Administrator’s Handbook http://www.opera.com/support/mastering/sysadmin/ Disabling the address bar To disable the address bar in Opera, complete the following procedure:...
Page 51
1. Get the C:\PREBOOT\STARTUP\OPERA_010.CMD for editing by using the RRUTIL process as described in “Using RRUTIL.EXE” on page 30. 2. Open the file for editing. 3. Locate the following line in the .CMD file: PYTHON.EXE.FAVS.PYC Z:\OPERADEF6.ADR 4. Complete one of the following: a.
Page 52
Enabling or specifying the full download path There are numerous settings that you can set to enable display of the ″Save As″ window. The most straightforward method follows: 1. Get the C:\PREBOOT\OPERA\DEFAULTS\STANDARD_menu.ini file by using the RRUTIL process described in “Using RRUTIL.EXE” on page 30. 2.
Page 53
5. Use the search function find the desired file, then do one of the following: v If the extension is found, but files with that extension do not work correctly, complete the following steps: a. Change the value following the extension from 8 to 1. (A value of 8 tells the browser to ignore the file.
Page 54
8. Put the file back by using the RRUTIL process as described in “Using RRUTIL.EXE” on page 30. 9. Restart the Rescue and Recovery workspace for changes to be effective. Adding a static IP address To add a Static IP address, complete the following steps:. 1.
For example, a script called a.bat would be processed before 1.exe. To place a script or program in this directory, complete the following steps: 1. Get the RRUTIL from the Lenovo Rescue and Recovery Administration Tools site at: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN- ADMIN#rnr 2.
Rescue and Recovery program 4.3 only is installed on the system. You can create this Predesktop Area password using the following command: C:\Program Files\Lenovo\Rescue and Recovery\pe_masterpw_app.exe. The parameters for this command are: Table 21.
2. A shortcut to the Create Rescue Media program is available on the Advanced tab in the advanced mode of the Rescue and Recovery program. 3. The Create Rescue Media function is embedded in the Lenovo ThinkVantage Tools application. Chapter 3. Configurations...
Page 58
4. A message prompts to create the rescue media when performing a backup, if the Rescue and Recovery program detects that no rescue medium has been created before. For more information about the Create Rescue Media function, consult its Help information system by pressing F1 after launching the Rescue and Recovery 4.3 program.
Page 60
:: Start the service. This is needed to create a base backup. start /WAIT net start "Rescue and Recovery Service" :: Make an ISO file here - ISO will reside in c:\Program Files\Lenovo\Rescue and Recovery\rrcd Note: You do not need to set up the environment if the system is rebooted.
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...
Recovery environment. For details, refer to “Using RRUTIL.EXE” on page 3. Reboot the system into the Rescue and Recovery environment. 4. After you analyze the system and determine that there are files that you must back up, update the registry key at HKLM\SOFTWARE\Lenovo\Rescue and Recovery\Settings\BackupList. Table 22. UPDATE_RR.CMD script @ECHO OFF ::Obtain the PDAGUIen.ini file from the RR...
This scenario provides another option for a hard drive setup. Note: If you receive Error 1722 and need to create eight free sectors, call the Lenovo help desk to report the error and obtain further instructions. Creating a bootable Rescue and Recovery CD The Rescue and Recovery program builds and burns the rescue media CD from the current service area contents, rather than from a pre-assembled ISO image.
Files\Common Files\Lenovo\Python24\python c:\Program Files\ \Common Files\Lenovo\spi\mkspiim.pyc /scripted :: The next line will create the ISO with user interaction and not burn it :: c:\Program Files\Common Files\Lenovo\Python24\python c:\Program Files\ \Common Files\Lenovo\spi\mkspiim.pyc /scripted /noburn Scenario 3 - Installing with WIM files and Windows 7 Windows 7 deployment is based on disk imaging with ImageX.
3. Right-click Administrative Templates under Computer Configuration. 4. Select Add/Remove Templates. 5. Click the Add button and then select the rnr.adm file. The rnr.adm file can be obtained from the Lenovo ThinkVantage Technologies Administrator Tools Web page at: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN- ADMIN#rnr 6.
16. Navigate to your intended path in the Save As field on the Export Registry File dialog box. 17. Click the Save button. Now, you can create an installation package that will install the Rescue and Recovery program silently and have the package import this new registry key so that all machines will have the advanced menu hidden.
Page 67
6. Boot from the Windows 7 installation disc again and proceed to the drive selection menu. 7. Create Partition 1 with a 1GB size for the service partition. 8. Create Partition 2 for the operating system. 9. Format Partition 2 and leave Partition 1 unformatted. 10.
Page 68
Rescue and Recovery 4.3 Deployment Guide...
Appendix A. Administrative tools ThinkVantage technologies offers tools that can be implemented by corporate IT administrators. These tools can be downloaded from the Lenovo Web site at: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN- ADMIN#rnr Command line support The following sections provide command line support for the Rescue and Recovery program in addition to Antidote Delivery Manager.
Page 70
Table 23. RRcmd parameters (continued) Command Result List files that are included in the backup level (must include List location and level). Initiate an alternative base backup. This is not to be used as a Basebackup basis for incremental backups, and must include the location, name and level.
Page 71
Table 23. RRcmd parameters (continued) Command Result Where x is a number from 0 (for the base) to maximum number of level=x incremental backups (only used with the restore option. For backup commands, the level=x command is only required if performing an administrator backup (equal to or greater than 100, for example).
StartTimeLow=0xD5D53A20 StartTimeHigh=0x01C51F46 To run the CONVDATE utility, complete the following steps: 1. Extract the Rescue and Recovery Administration tools from: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN- ADMIN#rnr 2. Open a CMD window. 3. Type in Convdate. 4. Set the date and time in the convdate window.
The IA.exe creates a local XML output file that it stores in the same folder. One XML file will be created. The name of the XML file is created by combining manufacturer, model-type, and serial number, for example, Lenovo-2373Q1U- 99MA4L7.XML.
The network share information is contained in the registry and includes the network share name as an encrypted string. Network share information is stored in the registry at HKLM\Software\Lenovo\MND\<app id>. If an Active Directory policy is used, these values are stored at: HKLM\Software\Policies\Lenovo\MND\<app id>.
/view <app id> /user <username> /pwd <password> Rescue and Recovery Boot manager control (BMGR32) The boot manager interface command-line interface is BMGR32. It resides in the directory C:\Program Files\Common Files\Lenovo\BMGR. The following table presents the switches and their results for BMGR32. Table 26. BMGR32 parameters...
Page 76
DOS (dual boot Windows PE and DOS; Lenovo-branded preload Only). /OEM Computer is not a Lenovo-branded computer. This forces a second check for the F11 (default) key press after POST. This may be required for older systems. This is also the default setting for the OEM version of the Rescue and Recovery program.
Page 77
Original MBR Sector number where the machine’s original master boot record is stored. v IBM Flag Value from the data sector (1 if IBM branded or Lenovo-branded system, 0 if not) v Boot Config Displays the installation option used to describe the machine layout. Whether a service partition was used, or a virtual partition.
v Prev Active Part Displays the partition table index of the previously active partition when booted to the service area. v Boot State Determines the current state of the machine: – 0 – Boot normal to operating system. – 1 – Boot to the service operating system –...
The parameters for cleanmbr32.exe are: Table 28. Parameter (Required): Description Clear MBR and install PC DOS MBR Parameter (Optional): Apply changes to drive. Use n=0 for the first drive. Yes to all Display Help Display Help Active Directory Support Active Directory is a directory service. The directory is where information about users and resources is stored.
HKLM\Software\Policies\Lenovo\Rescue and Recovery\ User policies HKCU\Software\Policies\Lenovo\Rescue and Recovery\ Default user policies HKLM\Software\Policies\Lenovo\Rescue and Recovery\User defaults Computer preferences HKLM\Software\Lenovo\Rescue and Recovery\ User preferences HKCU\Software\Lenovo\Rescue and Recovery\ Default user preferences HKLM\Software\Lenovo\Rescue and Recovery\User defaults Group Policy settings The tables in this section provides settings for the group policies in the Rescue and Recovery program.
Rescue and Recovery The following table provides the policies for the Rescue and Recovery program. Table 30. \Rescue and Recovery Policy Description ConfigureSecurityGUIOption Show, gray, or hide the Configure security settings button in the main user interface. PDALogonGUIOption Show, gray, or hide the GUI option to use a password to protect the Rescue and Recovery workspace.
Page 82
Table 32. \Rescue and Recovery\Settings\User interface (continued) Policy Setting Description Menus AdvancedMenu Show, gray, or hide the Advanced menu in the main user interface. Default: Show. Menus HelpMenu Show, gray, or hide the Help menu in the main user interface. Default: Show. MenuItems BackupNow Show, gray, or hide the Backup Now menu...
Page 83
Table 32. \Rescue and Recovery\Settings\User interface (continued) Policy Setting Description Restore Rejuvenate Show, gray, or hide the Rejuvenate radio button in the restore options. Default: Show. Restore RestoreOSApps Show, gray, or hide the Restore OS/Apps radio button in the restore options. Default: Show. Restore SFRRestoreNTFSToFat32 Show or hide the Fat32 partitions when...
Page 84
Table 32. \Rescue and Recovery\Settings\User interface (continued) Policy Setting Description CopyBackups CopyToUSB Show, gray, or hide the Copy To USB radio button. Default: Show. CopyBackups CopyToSecond Show, gray, or hide the Copy To Second radio button. Default: Show. CopyBackups CopyToNetwork Show, gray, or hide the Copy To Network radio button.
Page 85
2. When backing up the service partition to external media, set the following registry key before restoring your system with the Rescue and Recovery program: HKLM\Software\Lenovo\ Rescue and Recovery\ Settings\Backup\ BackupSPNetwork=1 BackupUSB Enable or disable Backup USB as a selected destination for backup.
Page 86
2. When backing up the service partition to external media, set the following registry key before restoring your system with the Rescue and Recovery program: HKLM\Software\Lenovo\ Rescue and Recovery\ Settings\Backup\ BackupSPNetwork=1 LocalPartitionNumber Set the partition number for backups on the local drive.
Page 87
Table 33. \Rescue and Recovery\Settings\Backup (continued) Policy Setting Description MaxNumberIncrementals The maximum number of allowable incremental backups. Valid values: 2-31. Default: 3. Note: If you have completed backup number 3 and proceed to complete backup number 4 and encounter a message that states: You have reached your defined limit of 3 incremental backups.
Page 88
Table 33. \Rescue and Recovery\Settings\Backup (continued) Policy Setting Description PreBackup Command to run prior to a backup operation. Include the full path to the file, if that path is not in the environment variable. Default: None. PreBackup PreParameters The parameter that passes the command that is run prior to a backup operation.
Page 89
Table 34. \Rescue and Recovery\Settings\Restore (continued) Policy Setting Description PostRestore PostWinRestoreParameters The parameter that passes the command that is run following a restore operation from Windows. Default: None. PostRestore PostWinRestoreShow Show or hide the command that is run following a restore operation from Windows.
Page 90
Mapping network drive The following table provides the policy settings for the mapping network drive function. Table 37. \mnd\Rescue and Recovery Policy Description UNC location for the mapped network drive (format \\server\share). Default: None. User Use mapdrv.exe /view command to create an encrypted value for this field. Default: None.
Administrators can use the following command lines to create the Rescue Media ISO. These command lines enable you to make the required ISO file and the file is automatically placed in the C:\Program Files\Lenovo\Rescue and Recovery\rrcd\ directory: :: This line will create the ISO silently and not burn it...
Files\Common Files\Lenovo\Python24\python c:\Program Files\Common Files \Lenovo\spi\mkspiim.pyc /scripted :: This line will create the ISO with user interaction and not burn it c:\Program Files\Common Files\Lenovo\Python24\python c:\Program Files\Common Files \Lenovo\spi\mkspiim.pyc /scripted /noburn Rescue and Recovery user interface switching The Rescue and Recovery user interface provides the option to switch between a simplified user interface or an advanced user interface.
Actual results may vary. Users of this document should verify the applicable data for their specific environment. Trademarks The following terms are trademarks of Lenovo in the United States, other countries, or both: Lenovo Rescue and Recovery...