Lenovo 15 User Manual

Page 1
RescueandRecovery4.23 DeploymentGuide
Updated:August,2010
Page 2
Page 3
RescueandRecovery4.23 DeploymentGuide
Updated:August,2010
Page 4
Note:Beforeusingthisinformationandtheproductitsupports,readthegeneralinformationinAppendixE
“Notices”onpage161.
SixthEdition(August2010)
LENOVOproducts,data,computersoftware,andserviceshavebeendevelopedexclusivelyatprivateexpenseandare soldtogovernmentalentitiesascommercialitemsasdenedby48C.F .R.2.101withlimitedandrestrictedrightsto use,reproductionanddisclosure.
LIMITEDANDRESTRICTEDRIGHTSNOTICE:Ifproducts,data,computersoftware,orservicesaredeliveredpursuant aGeneralServicesAdministration“GSA”contract,use,reproduction,ordisclosureissubjecttorestrictionssetforth inContractNo.GS-35F-05925.
Page 5
Contents
Preface.................v
Chapter1.Overview..........1
PredesktopArea...............1
Windowsenvironment.............2
AntidoteDeliveryManager...........2
Rejuvenatingandmigrating...........2
Hintsandtips................3
Chapter2.Installation.........5
Installationconsiderations...........5
Upgradingconsideration..........5
CompatibilitywithComputrace,Storage ManagementSubsystem,andWindows
RecoveryConsole............5
Installationrequirements............6
RequirementsforinstallationonLenovo
computers...............6
Requirementsforinstallationonnon-Lenovo
computers...............6
InstallingtheRescueandRecoveryprogram....7
Administrativeinstallation.........7
Installationlogles............8
Installationcomponents..........9
RescueandRecoverycustomizedpublic
properties...............11
RescueandRecoveryenvironmental
variables...............12
IncludingtheRescueandRecoveryprogramina
diskimage................13
UsingPowerQuestDriveImagebasedtools withtheRescueandRecoveryprogram...13
UsingSymantecGhostbasedtoolswiththe
RescueandRecoveryprogram......14
CompatibilitywithBitLocker.........14
CompatibilitywithBitLockerwithoutTPM..14 BestpracticeofBitLockerencryptionon
asystemwiththeRescueandRecovery
program...............14
Chapter3.Congurations......17
XMLandADMlecongurations.......17
Recoverymethods.............17
Singlelerestore............17
Filerescue..............18
Operatingsystemandapplicationsrestore..18
Rejuvenation.............18
Fullrestore..............19
Customrecovery............19
Backups.................21
Schedulingbackupsandassociatedtasks..21
Mappinganetworkdriveforbackups....22
Sysprepbackuporrestore........23
Passwordpersistence..........26
Batterypowersettingsforbackups.....27
MicrosoftMessageQueuing(MSMQ)....27
CongurationsintheRescueandRecovery
Windowsenvironment............27
Settingthebasebackuplocation.....27
Conguringregistrysettingstoincludeand
excludebackuples..........27
ConguringtheRescueandRecoveryuser
interface...............29
CongurationsintheRescueandRecovery
PredesktopArea..............30
WindowsVistaconsiderations.......30
UsingtheRRUTIL.EXEutility.......31
Usingthepdaguixx.inicongurationle...37
RemovingFactoryRestore........42
Troubleticket.............42
ConguringtheOperabrowser......43
Changingthevideoresolution.......49
Startupapplications...........49
Passwords..............50
Logles.................52
Chapter4.Rejuvenationand
migration...............53
Creatingacommandle...........53
Filecommands..............53
File-migrationcommands..........57
Examplesofle-migrationcommands.....60
Selectinglesduringthecapturephase...61
Migratingadditionalapplicationsettings....62
Creatinganapplicationle........67
Exampleofanapplication.xmlleforAdobe
Reader................69
Chapter5.Bestpractices......75
Scenario1-Newrollouts..........75
Preparingtheharddiskdrive.......75
Installing...............75
Updating...............78
EnablingtheRescueandRecoverydesktop.78
Scenario2-InstallingonOEMsystems.....80
Bestpracticesforharddrivesetup:Option
1..................81
©CopyrightLenovo2008,2010
iii
Page 6
Bestpracticesforharddrivesetup:Option
2..................81
Scenario3-InstallingonType12service
partition.................82
Scenario4-InstallingwithWIMlesandWindows
Vista...................83
Scenario5-StandaloneinstallforCDorscript
les...................83
Scenario6-WorkingwithActiveDirectoryand
ADMles.................83
CorporateActiveDirectoryRollout.....84
Scenario7-PerformingaBareMetalRestorefrom
anAdminBackup.............84
Scenario8-ManuallycreatingtheServicePartition
ofSdrive.................85
AppendixA.Administrativetools...87
Commandlinesupport...........87
RRCMDcommand-lineinterface......87
CLEANDRV.EXE............89
CONVDATE..............89
CREATSP...............90
InvAgent...............90
MapDrv................91
TheRescueandRecoveryBootmanager
control(BMGR32)...........92
BMGRCLEAN...............96
SP.PQI..................97
ActiveDirectorySupport...........97
Administrative(ADM)templateles.....97
GroupPolicysettings..........98
AppendixB.AntidoteDelivery
Manager...............133
InstallingtheAntidotenetworkcomponent...133
WindowsVista.............133
WindowsXP..............133
AntidotewithWindowsVista.........134
Repository................134
AntidoteDeliveryManagerandWindows
commands................134
AntidoteDeliveryManagerutilization......135
Majorwormattack...........135
Minorapplicationupdate.........136
AccommodatingVPNsandwirelesssecurity...136 AntidoteDeliveryManagercommandguide...136
SupportedMicrosoftcommands.......139
Preparationandinstallation..........141
Preparation..............141
Conguration.............141
Repository..............141
Scheduleinformation..........141
SigningKey..............142
NetworkDrives.............142
InstallingtheAntidotenetworkcomponent..142
Serverinfrastructure...........143
Simplesystemtest–displaynotication....143
Deployment................143
Examples...............146
Examplescripts..............148
VirtualizationModuleforAntidoteDelivery
Manager.................148
Requirements.............148
Installation..............148
Overview...............149
AppendixC.Usertasks.......153
WindowsVista...............153
WindowsXP...............153
Windows2000...............154
Createrescuemedia............155
RescueandRecoveryuserinterfaceswitching..155
AppendixD.WorkingwithLenovo
PatchUtility.............157
Installation................157
Registrysettings..............157
Logles.................158
Dependencies...............158
Congurableoptions............158
Upgradeandcompatibility..........159
References................159
AppendixE.Notices........161
Trademarks................162
ivRescueandRecovery4.23DeploymentGuide
Page 7

Preface

InformationpresentedinthisguideistosupportcomputersinstalledwiththeThinkVantage
®
Rescueand
Recovery®program(hereinafterrefertoastheRescueandRecoveryprogram).
TheRescueandRecoveryprogramisanessentialtoolthatenablesusersandadministratorstorestore backups,accessles,diagnoseproblems,andmakeEthernetconnectionsiftheMicrosoft
®
Windows operatingsystemwillnotstartorruncorrectly.Italsoenablesdeploymentofcriticalupdatestosystems thatarecorruptedoroffthenetwork,aswellasautomaticallyapplyingpatchestoasystemwhena restoreoperationisperformed.TheRescueandRecoveryprogramhelpsreduceITmanagementcostsby decreasinghelpdeskcallsanddesk-sidevisits,aswellasimprovinguserproductivity.
TheRescueandRecoveryDeploymentGuideprovidestheinformationrequiredforinstallingtheRescue andRecoveryprogramononeormorecomputers,andalsoprovidesinstructionsandscenariosonthe administrativetoolsthatcanbecustomizedtosupportITorcorporatepolicies.
ThisguideisintendedforITadministrators,orthoseresponsiblefordeployingtheRescueand Recoveryprogramtocomputersthroughouttheirorganizations.Ifyouhavesuggestionsor comments,communicatewithyourLenovoauthorizedrepresentative.Thisguideisupdated periodically,andyoucancheckthelatestpublicationontheLenovoSupportWebsiteat: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN-ADMIN#rnr
ForinformationaboutusingvariouscomponentsincludedintheRescueandRecoveryworkspace,referto theonlinehelpsystemanduserguidethatcomewiththeRescueandRecoveryprogram.
®
©CopyrightLenovo2008,2010
v
Page 8
viRescueandRecovery4.23DeploymentGuide
Page 9

Chapter1.Overview

TheRescueandRecoveryprogramrepresentsauniquecombinationofThinkVantageTechnologies.This integratedapplicationprovidesasuiteofpowerfultoolsthatcanbeusedeveniftheWindowsoperating systemwillnotstart.
TheRescueandRecoveryprogramhastwomaininterfaces.Theprimaryinterfaceoperatesinthe MicrosoftWindowsenvironment.Thesecondaryinterface,theRescueandRecoveryPredesktopArea, operatesindependentlyoftheWindowsoperatingsystemintheWindowsPE(PreinstallationEnvironment) environment.
TheRescueandRecoveryprogramhasthefollowingfeatures:
•TheRescueandRecoveryPredesktopAreaprovidesanenvironmenttostartyourcomputerwhenyou
failtologintotheWindowsoperatingsystem.
•TheRescueandRecoveryWindowsenvironmentenablesyoutobackuptheoperatingsystemandles
andrestoretheoperatingsystemandlesinfamiliarinterfaces.
•AntidoteDeliveryManagerisanantivirus,anti-worminfrastructureincludedintheRescueandRecovery
program.
TheRescueandRecoveryprogramincludestheoptiontoswitchtoasimplieduserinterfacewithafew basicoperations,orstaywiththeadvanceduserinterfacewithextendedoptions.Formoreinformationon interfaceswitching,see“ConguringtheRescueandRecoveryuserinterface”onpage29
Note:SomefeaturesoftheRescueandRecoveryprogramrunundertheWindowsoperatingsystem.In someinstances,systeminformationusedintheRescueandRecoveryenvironmentisgatheredwhilethe Windowsoperatingsystemisrunning.IftheWindowsoperatingsystemdoesnotfunctioncorrectly,thiswill notpreventtheRescueandRecoveryenvironmentfromoperatingnormally.
.

PredesktopArea

TheRescueandRecoveryPredesktopAreaprovidesanemergencyworkspaceforuserswhoareunable tostarttheWindowsoperatingsystemontheircomputers.RunningunderWindowsPE,theRescueand RecoveryPredesktopAreaofferstheWindowslook,feel,andfunctionandhelpsuserssolveproblems withoutconsumingITstafftime.
TheRescueandRecoveryPredesktopAreahasfourmajorcategoriesoffunctions:
RescueandRestore
Recoveryoverview:Linksuserstohelptopicsaboutthevariousrecoveryoptionsthatareprovided.Rescueles:EnablesuserstocopylescreatedbytheWindowsapplicationstoremovablemediaor
toanetwork,anduserscancontinuewiththeirworkeveninadisabledworkstation.
Restorefrombackup:EnablesuserstorestorelesthathavebeenbackedupwiththeRescue
andRecoveryprogram.
Congure
Congurationoverview:LinkstoRescueandRecoveryenvironmenthelptopicsaboutconguration.Recoverpasswordorpassphrase:Providesauseroranadministratorwiththeabilitytorecovera
passwordorpassphraseintheRescueandRecoveryenvironment.
AccessBIOS:OpenstheBIOSSetupUtilityprogram.
Communicate
Communicationoverview:LinkstorelatedhelptopicsintheRescueandRecoveryenvironment.Openbrowser:StartstheOperaWebbrowser(WeborIntranetaccessrequiresawiredEthernet
connection).
Downloadles:Allowsyoutodownloadneededlestothepartitioninthe\SWSHAREfolderin
theWindowspartition.
©CopyrightLenovo2008,2010
1
Page 10
Mapnetworkdrive:Helpsusersaccessnetworkdrivesforsoftwaredownloadsorletransfer.
TroubleshootDiagnosticoverview:LinkstoRescueandRecoverydiagnosticshelptopics.Diagnosehardware:StartsthePCDoctorapplicationthatcanperformhardwaretestsandreport
testresults. –Creatediagnosticdisks:Enablesyoutocreateasetofdiagnosticdisks.Bootfromanotherdevice:EnablesyoutobootfromtheRescueandRecoveryCD,asetofbackup
CDs,aninternaldrive,oradetachablestoragedevicesuchasaUSBharddiskdrive.
Note:T obootfromaUSBharddiskdriveorasecondharddiskdrive,ensurethattheharddisk
driveisnotcompressed. –Systeminformation:Providesthedetailedinformationaboutthecomputeranditshardware
components. –Eventlog:Providesthedetailedinformationaboutrecentuseractivitiesandlistingsofcomputer
hardwaretoaidinproblemdeterminationandresolution.Theloglesprovideareadablewayto
viewactivitiesandasetoflogentries.
Note:ThefeatureofviewingtheloglesisonlysupportedoncertainmachinetypesofLenovo
computers. –Warrantystatus:ProvidesthelinktolaunchtheOperabrowsersothatyoucansearchthewarranty
informationfromtheInternet.
TheRescueandRecoveryprogramispreinstalledonLenovocomputers.Itisalsoavailableforpurchaseas aCDlesothatorganizationscanbenetfromtheRescueandRecoveryprograminstalledonnon-Lenovo computers.Youcanthenpurchaseseparatelicensesforindividualcomputers.

Windowsenvironment

TheRescueandRecoveryWindowsenvironmentenablesuserstorescuelostdata,applications,and operatingsystemswiththetouchofabutton.Thiscapabilityreducestime-consuminghelpdeskcalls, whichcansavesupportcosts.
Youcanscheduletobackupallusers'computerstoreduceriskanddowntime.TheRescueandRecovery programoffersyourclientsanextralayerofsupportbypre-conguringautomaticexternalbackuptoa serveroranexternalstorage.Backupsareencryptedbydefaultwiththe256AES(AdvancedEncryption Standard)key.

AntidoteDeliveryManager

AntidoteDeliveryManagerisanantivirus,anti-worminfrastructureincludedintheRescueandRecovery program.AntidoteDeliveryManageriseasytoimplement,andallowsanadministratortoinitiatenetwork blockingandrecoverywithinminutesofareportedproblem.AntidoteDeliveryManagercanbelaunched byoneadministratoranditfunctionsonsystemswithorwithoutanetwork.AntidoteDeliveryManageris compatiblewithexistingantivirustools;therefore,maintainingvirusscanningtoolsandobtainingpatchesare stillrequired.AntidoteDeliveryManagerprovidestheinfrastructuretohaltdestructionandapplythepatches.
Note:AntidoteDeliveryManagerisdisabledbydefault.Formoreinformation,seeAppendixB“Antidote DeliveryManager”onpage133
.

Rejuvenatingandmigrating

WiththeRescueandRecoveryprogram,youcanmigrateauser’sworkenvironmentfromonesystemto anotheruponrejuvenatingfromabackup.Auser’sworkenvironmentincludesthefollowingitems:
•Operating-systempreferences,suchasdesktopandnetworkconnectivitysettings
2RescueandRecovery4.23DeploymentGuide
Page 11
•Filesandfolders
•Customizedapplicationsettings,suchasbookmarksinaWebbrowseroreditingpreferencesinMicrosoft Word
•Useraccounts
Formoreinformation,seeChapter4“Rejuvenationandmigration”onpage53.

Hintsandtips

ForhintsandtipsonusingtheRescueandRecovery4.23program,seetheRescueandRecovery4.23 ConsiderationsontheWebsiteat:http://www.lenovo.com/support.
Chapter1.Overview3
Page 12
4RescueandRecovery4.23DeploymentGuide
Page 13

Chapter2.Installation

PriortoinstallingtheRescueandRecoveryprogram,youcancustomizetheRescueandRecoveryXML leforyourenterpriseandthendeployittoclientsystems.TheXMLlepackagedwiththeRescueand Recoveryprogramisnamedthernrdeploy.xmlle.OncetheXMLleiscustomizedandinstalled,settings fortheRescueandRecoveryprogramaremanagedwiththeregistryorActiveDirectory.
Formoreinformation,seetheXML/ADMSupplementinsidetheThinkVantage TechnologiesAdministratorTools,whichcanbedownloadedfromthefollowingWebsite: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN-ADMIN#rnr

Installationconsiderations

ThissectionaddressestheconsiderationsofinstallingtheRescueandRecoveryprogram.

Upgradingconsideration

IfyouareinstallingtheRescueandRecovery4.23programonacomputerwiththeRescueandRecovery
4.0orlaterinstalled,youcaninstalltheRescueandRecovery4.23programdirectlywithoutuninstallingthe
previousversion.IfyouareinstallingtheRescueandRecovery4.23programoverversion3.1orearlier,you arerecommendedtouninstallthepreviousversionthroughtheWindowsAddorRemoveProgramsapplet andtheninstalltheRescueandRecovery4.23program.
Notes:
1.CreateanewbackupafterinstallingtheRescueandRecovery4.23programtoyoursystem,because backuplescreatedbyearlierversionsoftheRescueandRecoveryprogramcannotberecoveredby theRescueandRecovery4.23program.Youcancreatethebackupusingeitherascriptortheuser interface.
2.TheoldbackupscreatedbyanearlierversionoftheRescueandRecoveryprogramwillbedeleted duringtheinstallation.Ifyouwanttoretaintheabilitytorestorefrombackupscreatedbyanearlier versionoftheRescueandRecoveryprogram,youmustcopyyourbackuplestobootable,external recoverymediabeforeinstallingthelatestversion.

CompatibilitywithComputrace,StorageManagementSubsystem,and WindowsRecoveryConsole

TheRescueandRecoveryprogramonlyworkswiththenon-BIOSversionoftheComputraceapplication installedonyoursystem.WhenyouinstalltheComputraceapplication,makesurethatyouinstallthe RescueandRecoveryprogramrstandthentheComputraceapplication.
IftheWindowsPEcreatesavirtualpartitiononacomputertoinstalltheRescueandRecoveryprogram, andyouattempttoinstalltheStorageManagementSubsystemsoftwareonthesamecomputer,thenthe StorageManagementSubsystemsoftwarewillnotbeinstalledsuccessfully.BoththeWindowsPEandthe StorageManagementSubsystemsoftwareusetheC:\minintdirectoryfortheirlesystems.Thewayto havebothinstalledatthesametimeistocreateatype12partitiontoinstalltheRescueandRecovery4.23 program.See“Scenario4-InstallingwithWIMlesandWindowsVista”onpage83forinstructions.
ApossiblesecurityriskmaybecreatedwhentheWindowsRecoveryConsoleisinstalledonasystem withtheRescueandRecoveryprograminstalled.TheWindowsRecoveryConsolelooksforthe C:\*\system32\cong\directory,andifitndsthatdirectory,itassumesthesystemisanoperatingsystem.If theregistryentriesthatrequireaWindowspasswordarenotpresent,thentheWindowsRecoveryConsole
©CopyrightLenovo2008,2010
5
Page 14
willallowausertochoosetheoperatingsystemandthengainaccesstotheentireharddiskdrivewithouta password.

Installationrequirements

ThissectionaddressessystemrequirementsforinstallingtheRescueandRecoverypackageonLenovo ornon-Lenovocomputers.Forbestresults,makesurethatyouhavethelatestversionoftheRescueand Recoveryprograminstalled.TodownloadthelatestversionoftheRescueandRecoveryprogram,and obtaininformationaboutthecomputersthatsupporttheRescueandRecoveryprogram,gotothefollowing Website:http://www.lenovo.com/thinkvantage

RequirementsforinstallationonLenovocomputers

ToinstalltheRescueandRecoveryprogramonLenovocomputers,yoursystemmustmeetorexceedthe followingrequirements:
•WindowsVista
•128MBofmemoryfortheWindowsXPoperatingsystem,and512MBofmemoryfortheWindows Vistaoperatingsystem
–Insharedmemorycongurations,theBIOSsettingformaximumsharedmemorymustbesettono
lessthan8MB.
–Innon-sharedmemorycongurations,theBIOSsettingformaximumsharedmemorymustbesetto
nolessthan120MB.
®
operatingsystemorWindowsXPwithServicePack1(SP1)orlateroperatingsystem
Note:Ifacomputerhaslessthan200MBofnon-sharedmemory,theRescueandRecoveryprogram willstillrun;however,theuserwillbeunabletostartmorethanoneapplicationintheRescueand Recoveryenvironment.
•InternetExplorer®Webbrowser5.5orlater
•2.4GBoffreeharddiskdrivespace
Note:IfyouareinstallingtheRescueandRecoveryprogramontheservicepartition,see“Scenario3­InstallingonType12servicepartition”onpage82
formoreinformationoninstallationrequirements.

Requirementsforinstallationonnon-Lenovocomputers

ToinstalltheRescueandRecoveryprogramonnon-Lenovocomputers,yoursystemsshouldmeetor exceedthefollowingrequirements:
Installationrequirements2.4GBoffreeharddiskdrivespace.Thebaseinstallationuses930MB.
Minimumsystemmemoryrequirements256MBofsystemRAM(random-accessmemory)toinstallthe RescueandRecoveryprogram.
HarddiskdrivecongurationCongurethenon-Lenovocomputersaccordingtotherecommendations in“Scenario2-InstallingonOEMsystems”onpage80.
ExternalmediarequirementsYouareenabledtobootfromexternalmedia,suchasCD,DVD,orUSB harddiskdrivebootablemedia.Otherdevices,suchasCD-R/RW,DVD-R/RW/RAM,orDVD+R/RW drives,mustfullysupportoneormoreofthefollowingspecications: –ATAPIRemovableMediaDeviceBIOSSpecication –BIOSEnhancedDiskDriveServices-2 –CompaqPhoenixIntelBIOSBootSpecication –ElToritoBootableCD-ROMFormatSpecication –USBMassStorageClassSpecicationOverview(Eachdevicemustcomplywiththecommandblock
specicationinsection2“Subclasscode”intheUSBMassStorageClassSpecicationOverview document.)
6RescueandRecovery4.23DeploymentGuide
Page 15
–USBMassStoragespecicationforboot-ability
Videorequirements –Videocompatibility:VGA-compatiblevideothatsupportsaresolutionof800x600and24-bitcolor –Videomemory:
–Onnon-sharedvideomemorysystems:aminimumof4MBofvideoRAM –Onsharedvideomemorysystems:aminimumof4MBandmaximumof8MBcanbeallocatedfor
videomemory.
ApplicationcompatibilitySomeapplicationsthathavecomplexlterdriverenvironments,suchas antivirussoftware,mightnotbecompatiblewiththeRescueandRecoveryprogram.Forinformationabout compatibilityissues,refertothereadmeleandvariousutilitiesthataccompanytheRescueandRecovery program.T oobtainthereadmele,gototheLenovoWebsiteat:http://www.lenovo.com/thinkvantage
NetworkadaptersrequirementsTheRescueandRecoveryenvironmentonlysupportswiredPCI-based, Ethernetnetworkadapters.NetworkdevicedriversincludedintheRescueandRecoveryenvironment arethesamedriversthatarepre-populatedontheWindowsXPProfessionaloperatingsystemand independentoftheWindowsXPoperatingsystem.ForsupportedLenovocomputers,requireddriversare includedwiththeRescueandRecoveryprogram.
IfanetworkdevicedriverinyourOEMcomputerisnotsupported,refertothedevicedocumentationfor instructionstoaddsupportforsystem-specicnetworkdrivers.RequestthedriversfromyourOEM.

InstallingtheRescueandRecoveryprogram

TheRescueandRecoveryinstallationpackagewasdevelopedwithInstallShield10.5PremierasaBasic MSIproject.InstallShieldPremier10.5usestheWindowsInstallertoinstallapplications,whichgives administratorsmanycapabilitiestocustomizeinstallations,suchassettingpropertyvaluesfromthe commandline.ThissectiondescribeswaystouseandruntheRescueandRecoveryinstallationpackage. Forabetterunderstanding,readtheentiresectionbeforeyoubegintoinstallthepackage.
Note:Wheninstallingthepackage,refertothereadmeleontheLenovoWebsiteat: http://www.lenovo.com/support/site.wss/document.do?lndocid=MIGR-4Q2QAK.Thereadmelecontains thelatestinformationaboutprogramversions,supportedsystems,systemrequirements,andother considerationstohelpyouwiththeinstallationprocess.

Administrativeinstallation

TheWindowsInstallercanperformanadministrativeinstallationofanapplicationoraproducttoanetwork forusebyaworkgrouporforcustomization.FortheRescueandRecoveryinstallationpackage,an administrativeinstallationunpackstheinstallationsourcelestoaspeciedlocation.
YoucanobtaintheinstallationpackagefromthefollowingWebsite:http://www.lenovo.com/support
Attendedinstallation
Toperformanadministrativeinstallation,runtheinstallationpackagefromthecommandlineusingthe/a parameter:
setup.exe/a
Anadministrativeinstallationpresentsawizardthatpromptstheadministrativeusertospecifythelocation forunpackingthesetuples.ThedefaultextractlocationisC:\.Youcanchooseanewlocationthatmay includethedriveotherthanC:\,forexampleotherlocaldriveormappednetworkdrive.Youcanalso createanewdirectoryduringthisstep.
Chapter2.Installation7
Page 16
Unattendedinstallation
Torunanadministrativeinstallationsilently,youcansetthepublicpropertyTARGETDIRonthecommand linetospecifytheextractlocation.
•Forinstallationtargetdirectorypathsthatdonotcontainspaces,youcan:
–usethecommandline,forexample:
setup.exe/a/s/v"/qnTARGETDIR=F:\TVTRR"
–usethemsiexec.exeapplication,forexample:
msiexec.exe/a"LenovoRescueandRecovery.msi"/qnTARGERDIR=F:\TVTRR
•Forinstallationtargetdirectorypathsthatcontainspaces,youcan
–usethecommandline,forexample:
setup.exe/a/s/v"/qnTARGETDIR=\"F:\TVTRR\RescueandRecovery\""
Note:Anescapecharacter'/'mustbeplacedprecedingthedouble-quotedtargetdirectory.
–usethemsiexec.exeapplication,forexample:
msiexec.exe/a"LenovoRescueandRecovery.msi"/qnTARGERDIR=\"F:\TVTRR\RescueandRecovery\"
Note:IfyouuseanearlierversionofWindowsInstaller,thesetup.exeleisconguredtoupdatethe WindowsInstallerenginetoversion3.0.Thisupdatewillcausetheinstallationactiontopromptforareboot evenwithanadministrativeextractinstallation.IftheWindowsInstallerisversion3.0orlater,setup.exewill notattempttoinstall.
Onceanadministrativeinstallationhasbeencompleted,theadministrativeusercanmakecustomizations tothesourceles,suchasaddingsettingstotheregistry.Toinstallfromtheunpackedsourceafter customizationsaremade,theusercallsthemsiexec.exeapplicationfromthecommandline,passingthe nameoftheunpackedMSIle.
Usingthemsiexec.exeapplication
Themsiexec.exeapplicationistheexecutableprogramoftheWindowsInstallerusedtointerpretinstallation packagesandinstallproductsontargetsystems.T oinstallfromtheunpackedsourceaftermaking customization,theusercallsthemsiexec.exeexecutableprogramfromthecommandline,passingthe nameoftheunpackedMSIle.
msiexec/i"C:\WindowsFolder\Proles\UserName\ Personal\MySetups\projectname\productconguration\releasename\ DiskImages\Disk1\productname.msi"
Note:Entertheprecedingcommandasasinglelinewithnospacesfollowingtheforwardslashes(\).
Forinformationoncommandlineparametersandpublicproperties,gototheMicrosoftWebsiteat: http://www.microsoft.com
Installationlogles
Theloglerrinstall423.log(forWindowsXPoperatingsystems)orrrinstall423v.log(forWindowsVista operatingsystems)iscreatedinthe%temp%directoryifthesetupislaunchedbythesetup.exele
8RescueandRecovery4.23DeploymentGuide
Page 17
(double-clickthemaininstallationpackageandthenrunthemainexecutablewithoutparameters,orextract theMSIpackageandrunthesetup.exele).Thislecontainslogmessagesthatcanbeusedtodebug installationproblems.ThisloglewillnotbecreatedbyanyactionsperformedfromtheAddorRemove Programsappletorrunningthesetup.exelefromtheMSIpackage.T ocreatealogleforallMSIactions, youcanenabletheloggingpolicyintheregistry.Todothis,createthefollowingvalue:
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Installer] "Logging"="voicewarmup"
Thefollowingtableshowsexamplesofinstallationusingthesetup.exele.
Table1.
DescriptionExample
Performsilentinstallationwithnoreboot.
setup.exe/s/v"/qnREBOOT="R""
Performadministrativeinstallation.
Performsilentadministrativeinstallationbyspecifyingthe extractlocationfortheRescueandRecoveryprogram.
Performsilentuninstall.
Performinstallationwithnoreboot.Createaninstallation loginthetempdirectoryfortheRescueandRecovery program.
PerforminstallationwithoutinstallingthePredesktopArea.
setup.exe/a
setup.exe/a/s/v"/qnTARGETDIR="F: \TVTRR""
setup.exe/s/x/v/qn
setup.exe/v"REBOOT="R"/L*v%temp% \rrinstall423.log"
Note:ForWindowsXPoperatingsystems,thelogleis namedasrrinstall423.log.ForWindowsVistaoperating systems,thelogleisnamedasrrinstall423v.log.
setup.exe/vPDA=0
ThefollowingtableshowsexamplesofinstallationusingtheRescueandRecovery.msile:
Table2.
DescriptionExample
Performinstallation.
Performsilentinstallationwithnoreboot.
Performsilentunintall.
PerforminstallationwithoutinstallingthePredesktopArea.
msiexec/i"C:\TVTRR\RescueandRecovery.msi"
msiexec/i"C:\TVTRR\RescueandRecovery.msi"/qn REBOOT="R"
msiexec/x"C:\TVTRR\RescueandRecovery.msi"/qn
msiexec/i"C:\TVTRR\RescueandRecovery.msi"PDA=0

Installationcomponents

TheRescueandRecoveryinstallationconsistsofseveralcomponents.Thosecomponentscanbe downloadedfromtheLargeEnterpriseindividuallanguagelesWebpage.ToaccesstheWebpage,goto
Chapter2.Installation9
Page 18
theLenovoSupportWebsiteathttp://www.lenovo.com/support.NavigatetoThinkVantageT echnologies RescueandRecovery.SelecttheappropriateversionnumberoftheRescueandRecoveryprogram,and clicktheIndividuallanguagelesforLargeEnterpriselink.
Maininstallationpackage(required)Themaininstallationpackageisaself-extractinginstallation packagethatextractstheinstallationsourcelesandlaunchestheinstallationusingWindowsInstaller. ItcontainstheinstallationlogicandtheWindowsapplicationles.Thepackagedoesnotcontainany ofthePredesktopAreales.
Example:
–FortheWindowsXPoperatingsystem,themaininstallationpackagecanbenamedas
Z696ZISXXXXCC00.EXE.
–FortheWindowsVistaoperatingsystem,themaininstallationpackagecanbenamedas
Z695ZISXXXXCC00.EXE.
Note:TheXXXXisthebuildID.TheCCrepresentsthelanguage.
PredesktopAreaBase(required)ThisisthepasswordprotectedlethatcontainstheentirePredesktop Areabase.ThisleisrequiredtoinstallthePredesktopAreaonalllanguagesystems.Thislemustbe inthesamedirectorywherethemaininstallationpackageislocated.Theexceptionstothisareifthe PredesktopAreaisalreadyinstalledanddoesnotneedtobeupgraded,orifthepropertyPDA=0isset onthecommandlinewhenyouexecutetheinstallationandanyversionofthePredesktopAreadoes notexistbefore.
Example:
–FortheWindowsXPoperatingsystem,thelecanbenamedasz696ZABXXXXCC00.TVT.
–FortheWindowsVistaoperatingsystem,thelecanbenamedasz695ZABXXXXCC00.TVT.
Note:TheABdeterminesthecompatibilityofthePredesktopArea.TheXXXXrepresentsthebuild ID.TheCCrepresentsthelanguage.
Theinstallationexecutablecontainsaleandthepdaversion.txtle.Thepdaversion.txtlecontains theminimumversionofthePredesktopAreathatcanworkwiththatversionoftheWindowsoperating system.TheinstallationexecutablewilllookforaPredesktopArealeusingthefollowinglogic:
OldPredesktopArea(theRescueandRecovery1.0or2.Xprogram)existsornoPredesktopArea
exists:TheinstallerwilllookforaTVTlewithacompatibilitycode,forexampleAAorAB,thatisequal totheminimumversioncompatibilitycodeandalevelthatisgreaterthanorequaltotheminimum version.AllotherversioneldsintheTVTlenamemustmatchtheminimumversionexactly.Ifale meetingthesecriteriaisnotfound,theinstallationwillbehalted.
New(theRescueandRecovery3.0orlaterprogram)PredesktopAreaexists:Theinstallerwill
comparethecurrentPredesktopAreacompatibilitycodewiththeminimumversioncompatibilitycode andtakethefollowingactionsbasedontheresults:
Thecurrentcodeisgreaterthantheminimumcode.Theinstallerpresentsamessage,sayingthat
thecurrentenvironmentisnotcompatiblewiththisversionoftheRescueandRecoveryprogram.
Thecurrentcodeisequaltotheminimumcode.Theinstallercomparesthecurrentversionlevel
withtheminimumversionlevel.Ifthecurrentlevelisgreaterthanorequaltotheminimumlevel,the installerlooksforaTVTlewithacompatibilitycode,forexampleAAorAB,thatisequaltothe minimumversioncompatibilitycodeandalevelthatisgreaterthanthecurrentversionlevel.All otherversioneldsintheTVTlenamemustmatchtheminimumversionexactly.Ifitdoesnotnd ale,theinstallationprocesscontinueswithoutupdatingthePredesktopArea.Ifthecurrentlevelis lessthantheminimumlevel,theinstallerwilllookforaTVTlewithacompatibilitycode,forexample AAorAB,thatisequaltotheminimumversioncompatibilitycodeandalevelthatisgreaterthanor equaltotheminimumversionlevel.AllotherversioneldsintheTVTlenamemustmatchthe minimumversionexactly.Ifalemeetingthesecriteriaisnotfound,theinstallationwillbehalted.
10RescueandRecovery4.23DeploymentGuide
Page 19
Thecurrentcodeislessthantheminimumcode.TheinstallerwilllookforaTVTlewitha
compatibilitycode,forexampleAA,AB,thatisequaltotheminimumversioncompatibilitycode andalevelthatisgreaterthanorequaltotheminimumversion.AllotherversioneldsintheTVT lenamemustmatchtheminimumversionexactly.Ifalemeetingthesecriteriaisnotfound, theinstallationwillbehalted.
PredesktopArealanguagepacks(approximately5–30MBeach)Thereare16languagepacksfor WindowsPEthataresupportedintheRescueandRecovery4.23program.Eachlanguagepackis namedinaformatsimilartothefollowingexample:
z696ZABXXXXCC00.tvt
TheXXXXisthebuildID.TheCCrepresentsthelanguage.Oneoftheselesisrequired,ifthePredesktop Areaisbeinginstalledonanon-Englishsystemorasystemwithanon-supportedlanguage.The PredesktopArealanguagelemustbeinthesamedirectoryasthemaininstallationandtheUS PredesktopAreaTVTle.IfthePredesktopAreaisbeinginstalledorupdatedandalanguagepackis required,theinstallationlooksfortheminimumleveloflanguagepackrequiredinaversionlecontained withintheinstallationexecutable.TheinstallationalsolooksforalanguagepackTVTlethatisgreater thananycurrentlanguagepackthatisalreadyinstalledandgreaterthanorequaltotheminimum versionrequired.
ThefollowingtableprovidesthelanguagessupportedintheRescueandRecovery4.23programandthe representationforminthelename.
Table3.
LanguagesRepresentationforminthelename
BrazilianPortugueseBR
DanishDK
DutchNL
EnglishEN
FinnishFI
FrenchFR
GermanGR
ItalianIT
JapaneseJP
KoreanKR
Norwegian
Portuguese
RussianRU
SpanishSP
SwedishSV
SimpliedChineseSC
TraditionalChineseTC
NO
PO

RescueandRecoverycustomizedpublicproperties

TheinstallationpackagefortheRescueandRecoveryprogramcontainsasetofcustomizedpublic propertiesthatcanbesetinthecommandlinewhenrunningtheinstallation.Theavailablecustomized publicpropertiesare:
Chapter2.Installation11
Page 20
Table4.
PropertyDescription
PDA
CIMPROVIDERSpecieswhethertoinstalltheCommonInformation
EMULATIONMODESpecieswhethertoinstallinemulationmodeevenifa
HALTIFTPMDISABLED
SpecieswhethertoinstallthePredesktopArea.
Thepossiblevaluesare:
1:installPredesktopArea
0:donotinstallPredesktopArea
Thedefaultvalueis1.
Note:Thissettingisnotusedifanyversionofthe PredesktopAreaalreadyexists.
Model(CIM)Providercomponent.
UseCIMPROIVIDER=1inthecommandlinetoinstallthe component.
Thedefaultsettingisnottoinstallthecomponent.
TrustedPlatformModule(TPM)exists.
UseEMULATIONMODE=1inthecommandlinetoinstallin emulationmode.
Thedefaultsettingofthispropertyistoproceedthe installationinemulationmode,iftheTPMisinadisabled stateandtheinstallationisrunninginsilentmode.
UseHAL TIFTPMDISABLED=1whenrunningtheinstallationin silentmodetohalttheinstallationiftheTPMisdisabled.
ENABLETPMUseENABLETPM=0inthecommandlinetopreventthe
installationfromenablingtheTPM.
SUPERVISORPW
UseSUPERVISORPW="password"inthecommandlineto supplythesupervisorpasswordtoenabletheTPMin silentornon-silentinstallationmode.
IftheTPMisdisabledandtheinstallationisrunningin silentmode,thecorrectsupervisorpasswordmustbe suppliedtoenabletheTPM;otherwisetheTPMwillnot beenabled.

RescueandRecoveryenvironmentalvariables

ThefollowingtablecontainsenvironmentalvariablesthatarecreatedwhentheRescueandRecovery programisinstalled.Thesevariablescanbeusedwhencreatingscriptsorwhenchangingtoadesired directoryfromacommandprompt.Forexample,tochangetotheRescueandRecoveryfolderfroma commandprompt,typeCD%rr%andpressEnter.
Table5.
EnvironmentalvariableDirectory
%rr%
%SWSHARE%c:\SWSHARE
c:\ProgramFiles\Lenovo\RescueandRecovery
12RescueandRecovery4.23DeploymentGuide
Page 21
Table5.(continued)
EnvironmentalvariableDirectory
%TVT%
%TVTCOMMON%c:\ProgramFiles\CommonFiles\Lenovo
c:\ProgramFiles\Lenovo
Note:Foracompletelistofvariables,runthesetcommandonacomputerthathastheRescueand Recoveryprograminstalled.

IncludingtheRescueandRecoveryprograminadiskimage

YoucancreateadiskimagethatincludestheRescueandRecoveryprogram.Thisdeploymentguidetakes PowerQuestandGhostasexamples.
Note:Ifyouplantocreateanimage,youmustcapturetheMasterBootRecord.TheMasterBootRecordis criticalfortheRescueandRecoveryenvironmenttofunctioncorrectly.

UsingPowerQuestDriveImagebasedtoolswiththeRescueand Recoveryprogram

IfthePowerQuestDeployCentertool,PQIMGCTR,isinstalledintheX:\PQdirectory,youcancreateand deployanimageusingtheRescueandRecoveryprogramwiththefollowingscripts:
Minimumscriptles
Table6.X:\PQ\RRUSAVE.TXT
ScriptlanguageResult
SELECTDRIVE1
SELECTPARTITIONALL(Neededifyouhaveatype12partition
orifyouhavemultiplepartitionsinyourimage.)
Storewithcompressionhigh
Table7.X:\PQ\RRDEPL Y .TXT
ScriptlanguageResult
SELECTDRIVE1
DELETEALL
SELECTFREESPACEFIRST
SELECTIMAGEALL
RESTORE
Selectstherstharddiskdrive.
Selectsallpartitions.
Storestheimage.
Selectstherstharddiskdrive.
Deletesallpartitions.
Selectstherstfreespace.
Selectsallpartitionsinimage.
Restorestheimage.
Imagecreation
Table8.X:\PQ\PQIMGCTR/CMD=X:\PQ\RRUSAVE.TXT/MBI=1/IMG=X:\IMAGE.PQI
ScriptlanguageResult
SELECTDRIVE1
X:\PQ\PQIMGCTR
/CMD=X:\PQ\RRUSAVE.TXT
/MBI=1
/IMG=X:\IMAGE.PQI
Selectstherstharddiskdrive.
Createstheimageprogram.
CreatesthePowerQuestscriptle.
CapturestheRescueandRecoveryBootManager.
Createstheimagele.
Chapter2.Installation13
Page 22
Imagedeployment
Table9.X:\PQ\PQIMGCTR/CMD=X:\PQ\RRDEPL Y .TXT/MBI=1/IMG=X:\IMAGE.PQI
ScriptlanguageResult
SELECTDRIVE1
X:\PQ\PQIMGCTR
/CMD=X:\PQ\RRDEPL Y.TXT
/MBR=1
/IMG=X:\IMAGE.PQI
Selectsrstharddiskdrive.
Createstheimageprogram.
CreatesthePowerQuestscriptle.
RestorestheRescueandRecoveryBootManager.
Createstheimagele.

UsingSymantecGhostbasedtoolswiththeRescueandRecovery program

WhenyoucreatetheGhostimage,youmustusethecommandlineswitch-ibtocapturetheRescueand RecoveryBootManager.Also,theimagemustcapturethewholediskandallpartitions.Refertothe documentationprovidedbySymantecforspecicdetailsonGhost.

CompatibilitywithBitLocker

ToachievecompatibilitywithBitLockerDriveEncryption,itisrecommendedtoinstalltheRescueand RecoveryprogramtoyouroperatingsystemafterthepartitionsareproperlysetupwiththeMicrosoft BitlockerDrivePreparationTool.
WhensettinguptheBitLockerpartition,itisrecommendedtousetheMicrosoftBitLockerDrivePreparation Tool.Thebootpartitionshouldbeatleast2GBinsize.
IfyoudonotusetheBitLockerDrivePreparationT ooltopreparetheBitLockerpartition,youmusthavetwo partitionsonyoursystemwheninstallingtheWindowsVistaoperatingsystem.Onepartitionshouldbe2 GBandmarkedasactive;thisiswherethebootlesreside.Theotheriswhereyouroperatingsystemis installedandwhereyourdatawillreside.WhentheWindowsVistaoperatingsystemisinstalled,itwilldetect thetwopartitionsandinstallonlythebootlestothesmallerpartition.Bothpartitionsshouldbetype0x07.

CompatibilitywithBitLockerwithoutTPM

IftheTPMisnotactivatedintheBIOSSetupUtility,toachievecompatibilitywithBitLockerwithoutTPM, dothefollowing:
1.Rungpedit.mscfromtheStartmenu.TheGroupPolicyEditorwindowopens.
2.ClickComputerCongurationWindowsComponentsBitLockerDriveEncryption OperatingSystemDrives.
3.EnabletheRequireadditionalauthenticationatstartupoption.
4.SelecttheoptionAllowBitLockerwithoutacompatibleTPM.

BestpracticeofBitLockerencryptiononasystemwiththeRescueand Recoveryprogram

TohavetheRescueandRecoveryprogramworkcorrectlywithBitLockerintheWindowsVistaoperating system,thebestpracticeis:
1.UninstalltheRescueandRecoveryprogramifithasbeeninstalled.
2.RestartthecomputerandusetheBitLockerDrivePreparationTooltopreparethesystemforBitLocker DriveEncryption.
14RescueandRecovery4.23DeploymentGuide
Page 23
3.InstalltheRescueandRecoveryprogramandrestartthecomputer.
4.StartBitLockerfromControlPanelandchoosethepartitiontoencrypt.
Note:ItisrecommendedtoencryptonlytheWindowsoperatingsystempartition(usuallydriveC).
5.ClickTurnonBitLocker,andfollowtheinstructiononthescreentoencryptthechosenpartition. Afterthat,arecoverykeyisautomaticallycreated.
6.SavetherecoverykeytoaUSBstoragedevice.
Note:KeeptheUSBstoragedeviceinasecuredplace.Therecoverykeyisneededwhenyouwantto boottotheWindowsVistaoperatingsystemortheRescueandRecoveryworkspace.TheBitLocker encryptionwillbelostiftheharddiskdriveisclearedbytheDiskpartcommandsorotherharddisk drivetools.
7.Waituntiltheencryptionprocesscompletes.Afterthat,youcanusetheRescueandRecoveryprogram toperformbackupandrestoreoperations.
FormoreinformationaboutBitLocker,gototheMicrosoftWebsiteat: http://support.microsoft.com/kb/933246/
Notes:
1.WhensettingupBitLockerintheWindowsVistaoperatingsystem,theBitLockerpartitionshouldbe placedaftertheWindowsoperatingsystempartitionforbestresults.IfitisplacedbeforetheWindows operatingsystempartition,thepartitionnumberwillneedtobeupdatedintheRescueandRecovery ADMle.
2.WhenrestoringasystemthatisusingtheWindowsVistaoperatingsystemandBitLocker,amessage willbedisplayed,indicatingthattherewasanerroratshutdown.Themessagecanbeignoredand everythingshouldoperatenormally.
3.Y oumightneedtocleartheTPMandencryptthepartitionsagainafterrestoringthesystemfrom abackupwithBitLockerencryption.
Chapter2.Installation15
Page 24
16RescueandRecovery4.23DeploymentGuide
Page 25
Chapter3.Congurations
ThischapterprovidesinformationthatyouwillneedtoconguretheRescueandRecoveryprogramfor yourenterprise.Withinthischapter,youwillndthefollowingtopics:
“XMLandADMlecongurations”onpage17
“Recoverymethods”onpage17
“Backups”onpage21
“CongurationsintheRescueandRecoveryWindowsenvironment”onpage27
“CongurationsintheRescueandRecoveryPredesktopArea”onpage30
“Logles”onpage52
Note:Makesurethatthesystemisconnectedtoanacpoweradapterbeforeinitiatingabackup,restore, rejuvenate,orarchiveprocedure.Failuretodosocanresultindatalossoranirretrievablesystemfailure.
XMLandADMlecongurations
CongurationsfortheRescueandRecoveryprogramaredonewiththeXMLle,throughtheregistry,and withActiveDirectory.OncetheXMLleiscustomizedandinstalled,settingsfortheRescueandRecovery programaremanagedwiththeregistryorActiveDirectory.
Formoreinformation,seetheXML/ADMSupplementinsidetheThinkVantage TechnologiesAdministratorTools,whichcanbedownloadedfromthefollowingWebsite: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN-ADMIN#rnr

Recoverymethods

Withinthissection,youwillndinformationforrestoretypesandrecoverymethodssuchasrejuvenation andcustomrecovery.Thefollowingmethodsareusedforrestoringles:
“Singlelerestore”onpage17
“Filerescue”onpage18
“Operatingsystemandapplicationsrestore”onpage18
“Rejuvenation”onpage18
“Fullrestore”onpage19
“Customrecovery”onpage19
Notes:
1.TheRescueandRecoveryprogramcannotcapturecachedcredentialsforadomainuserafterarestore operation.
2.TheRescueandRecoveryprogramcannotrestorepartitionsthatarecreatedandplacedphysically beforethesystemdrive.
Singlelerestore
ThesinglelerestoreoperationpromptstheuserfortheBackupStoragelocation,andthentheuserselects abackup.TheRescueandRecoveryprogramwilldisplaylesthattheuserisauthorizedtoaccess.The userthenselectstheles,folders,orbothtoberestoredandthesystemwillrestorethemtotheiroriginal locations.
©CopyrightLenovo2008,2010
17
Page 26

Filerescue

Thelerescueoperationisusedbeforetherestoreoperation.Itpromptstheuserforthebackupstorage locationandthentheuserselectsabackup.TheRescueandRecoveryprogramwilldisplaythelesthatthe currentuserisauthorizedtoaccess.Theuserthenselectstheles,folders,orbothtoberescued.Excluding thelocalharddiskdrive,thesystemwilldisplayavailablelelocationswherethelescanberescued.The userwillneedtochooseadestinationwithsufcientspacefortherescuedlesandthesystemrestoreles.

Operatingsystemandapplicationsrestore

TheRestoreonlytheWindowsOperatingsystemandApplicationsfromabackuprestoreoperation givestheusertheoptiontoselectabackupbeforethesystemdeletesles.Filesdesignatedtobedeleted aredenedbytherulesintheregistry.Whenabackuphasbeenselected,thesystemwillrestoretheles denedbytheregistryfromtheselectedbackup.Thereareoptionsintheregistrylethatcanspecifya programtorunbeforearestoreoperationorafterarestoreoperation.SeetheXML/ADMSupplementinside theThinkVantageTechnologiesAdministratorT oolsformoreinformationaboutregistrysettingsandvalues.
Notes:
1.TheRestoreonlytheWindowsOperatingsystemandApplicationsfromabackuprestoreoperation alwaysusepasswordpersistence.
2.TheRestoreonlytheWindowsOperatingsystemandApplicationsfromabackuprestoreoperation isnotavailablefromCD/DVDbackup.
Youcanaddcustomtaskstorunbeforeandafterbothbackupandrestoreoperations.SeetheXML/ADM SupplementinsidetheThinkVantageTechnologiesAdministratorToolsforthebackupandrestoresettings.

Rejuvenation

Whenyouneedtorejuvenateyoursystem,theRescueandRecoveryprogramwilloptimizesystem performancebytakinganewincrementalbackupandthendefragmentyourharddiskdrive.Therejuvenation processhelpseliminateviruses,adwareandspyware,whilemaintainingyourcurrentsettingsanddata.
Torejuvenateyoursystem,dothefollowing:
1.FromtheRescueandRecoveryinterface,clickRestoreyoursystemfromabackup.TheRestoreyour systemwindowisdisplayed.
2.IntheRestoreyoursystemwindow,selectRejuvenateyoursystem.
3.T ochoosethedriveandbackupthatyouwanttousetorejuvenateyoursystem,dothefollowing:
a.Selecttheappropriatedrivefromthedrop-downlistoftheavailabledrives.Backuplesonthe
selecteddrivearedisplayedintheRescueandRecoveryinterface.
b.Selectthebackuplethatyouwanttousetorejuvenateyoursystem.
c.ClickNext.
d.Conrmthattheselectedbackupistheonethatyouwanttousetorejuvenateyoursystem,and
thenclickNexttobegintherestoreoperation.
Note:Donotturnoffyourcomputerduringthisoperation.
e.ClickOK.Aprogressbarisdisplayed.
Youcanaddcustomtaskstoruneitherbeforeorafterarejuvenateoperation.SeetheXML/ADM SupplementinsidetheThinkVantageTechnologiesAdministratorT oolsfortherejuvenationsettings.
Note:Someoperatingsystemsettingsarestoredintheregistry.Consideringrejuvenationrestoresyour registryfromabackupandrestorescertainregistrykeyscapturedfromthecurrentsystemsettings,youmay ndsomeinconsistenciesaftertherejuvenationprocess.Forexample,ifafolderissharedafterthecreation
18RescueandRecovery4.23DeploymentGuide
Page 27
ofabackup,thenafteryouusethebackuptoperformarejuvenatingoperation,thefolderwillstillbein asharedstatus.Also,ifyouhaveasharedfolderatthetimeoftherejuvenateprocessbutitwasnotin thebackup,thefolderwillstillbesharedafterrejuvenationnishes.

Fullrestore

Thefullrestoreoperationdeletesalllesonthelocaldrive,andthenrestoresthelesfromtheselected backup.IfPasswordPersistenceisselected,themostrecentavailablepasswordwillberestored.

Customrecovery

AsanextensionoftheRescueandRecoveryprogram,customrecoverytechnologyhasbeenaddedtothe recoveryprocess.UserswillinteractwiththiscustomrecoverymethodthroughtheRescueandRecovery programandtheLenovoBaseSoftwareSelectorprogram.Byperformingacustomrecovery,usershavethe optionofincludingandexcludingindividualcomponentssuchasapplications,devicedriversoroperating systemsaspartoftherecoveryprocess.Administratorswilldenewhatoptionsauserwillhaveduringa customrecoveryprocesswiththeThinkVantageBaseSoftwareAdministratorprogram.
TheBaseSoftwareAdministratorprogramisaversatilesoftwareutilitythatyoucanusetoaccomplish customrecoveryandpreinstallationrelatedtasks.WiththeBaseSoftwareAdministratorprogram,youcan customizetherecoveryprocessforusersandyoucancreatepersonalizationlesusedtoautomatethe preinstallationsetupforWindowsoperatingsystems.
Customizingtherecoveryprocess
Intoday'selectronicenvironment,computersystemsarethreatenedbymaliciousactivitywiththe distributionofviruses,worms,andTrojanhorses.Technologiesandanti-virusprogramshavebeenimproved intheghtagainstmaliciousactivities;however,therearetimeswhenthesoftwareonacomputerwill needtoberenewedbyremovingmaliciouslesandstartingover.TheRescueandRecoveryprogramis avaluabletoolintherenewalprocessbyprovidingmethodstorestoreacomputerintheeventthatthe computerissold,recycled,transferredtoanotherareaorneedstobeputinanoperationalstateafterall othermethodsofrecoveryhavefailed.
Varioustypesofrecoverymethodscanbeusedtorenewcomputersystems.TheBaseSoftware Administratorprogramutilizesthefullfactoryrecoverymethodandthecustomfactoryrecoverymethod.The fullfactoryrecoverymethodrestoresthefactorycontentsoftheharddiskdrivethatconsistofcomponents suchasapplications,devicedrivers,andtheoperatingsystem.Factorycomponentsareinstalledatthe factorypriortothepurchaseofacomputer.UsingtheBaseSoftwareAdministratorprogram,youcan controltherecoveryoptionsthatareavailabletotheuserduringtherecoveryprocess.Thefollowinglist providestherecoverymethodsthatyoucandesignateausertoperform:
•Fullfactoryrecoveryonly
•Customfactoryrecoveryonly
•Eitherafullfactoryrecoveryoracustomfactoryrecovery
Componentsconsistofapplications,devicedrivers,andoperatingsystems.Thesecomponentsareina custompackagedformatandarecontainedintheservicepartitionofthecomputer.Fromarecovery standpoint,componentsarecategorizedasfollows:
•Requiredcomponentsthatarealwaysinstalleduponrecovery.
•OptionalcomponentsthataredisplayedfortheuserontheBaseSoftwareSelectormenu.
•Restrictedcomponentsthatarenotinstalleduponrecoveryandarenotdisplayedtotheenduser.
Chapter3.Congurations19
Page 28
Manifestles
Customizingtherecoveryprocessiscontrolledwithmanifestles.TheBaseSoftwareAdministratorprogram cancreatecustommanifestles.Manifestleshavetheextensionof.c,andcontaininformationabout thecomponentswithintheservicepartitionwheretheyresides.Manifestlesalsocontroltheselections availabletotheuserduringacustomrecoveryoperation.Theinformationcontainedinamanifestle includescomponentcategorizationsuchasrequired,optional,andrestricted.Inaddition,manifestles containmeta-data,suchasdescriptionsandcomments.
Preinstallationsetup
Toaccomplishpreinstallationsetup,youcanusetheBaseSoftwareAdministratorprogramtocreate personalizationles.Apersonalizationlehastheleextensionof.perandcontainsinformationneeded toautomatethepreinstallationsetupforWindowsoperatingsystems.Therecoveryprocessreadsthe personalizationle,extractsthedatafromthepersonalizationleandplacesthedatainthecorrect Windowscontrolles.Y oucansavetimeandeffortbyusingtheBaseSoftwareAdministratorprogramto customizepersonalizationlesandthendeployingthosepersonalizationlesontousercomputers.For example,youcancreateapersonalizationletosettheTimeZoneforWindowsoperatingsystemsand thendeploythatpersonalizationletoauser'scomputer;therefore,theuserwillnotneedtomanually validatetheTimeZonesettings.
Personalizationles
PersonalizationlesarecustomizedbydeningthesettingswiththeBaseSoftwareAdministratorprogram. Thefollowingtablesprovideadescriptionofeachtypeofsettingthatcanbedened.
Thegeneralsettingstableprovidesthesettingsusedtodenetheusername,organizationandtimezone foracomputer:
Table10.Generalsettings
SettingWindowscontrollekeywordDescription
NameFullName=
OrganizationOrgName=Setstheorganizationthecomputer
TimezoneTimeZone=
Setstheusernameforthecomputer.
belongsto,suchasaspecic departmentorlocation.
Setsthetimezoneforthecomputer.
Thenetworksettingstableprovidesthesettingsusedtoassignthecomputername,administratorpassword andtheworkgroupordomainofthedestinationcomputer:
Table11.Networksettings
SettingWindowscontrollekeywordDescription
ComputernameComputerName=Setsthenameforthecomputer.
AdministratorpasswordAdminPassword=
EncryptedadministratorpasswordEncryptedAdminPassword=
WorkgroupJoinWorkgroup=
DomainJoinDomain=
DomainadministratorDomainAdmin=
DomainadministratorpasswordDomainAdminPassword=
Setstheadministratorpassword.
Setstheencryptedadministrator password.
Setstheworkgroupforthecomputer.
Setsthedomainforthecomputer.
Setsthedomainadministratorforthe computer.
Setsthedomainadministrator passwordforthecomputer.
20RescueandRecovery4.23DeploymentGuide
Page 29
Advancedsettingsareusedtodeneoneormorecommandsthatcanberunatthersttimewhenauser logsontohisorhersystem.
Commandlineinterface
ThefollowingexecutablesupportsacommandlineinterfacefortheBaseSoftwareAdministratorprogram andissupportedunderWinPEandtheWindowsenvironment:
TBSADMIN.EXE[/DEPLOY[/SILENT][/BOOTSP=YES|NO]
[/MANIFEST="<path>"][/PERSONALIZATION="<path>"]]
ThefollowingtableprovidestheswitchesfortheBaseSoftwareAdministratorprogram.
Table12.Switches
SwitchDescription
/DEPLOYRequiredtotriggeradeployment.If/BOOTSP,/MAN
or/PERisalsospecied,thedeploymentwizardisnot displayed.
/SILENTSuppressesanymessageboxesforerrororsuccessful
completion.(Forreturncodes,seethefollowingtable.)
/BOOTSP
TakesanexplicitYorNvaluetoindicatewhetherthe servicepartitionshouldbesetactive,forexample /BOOTSP=Y.AvalueofNallowstheadministratorto resettheC:partitionactiveagain,sorecoverydoesnot automaticallyoccuronnextreboot.
Theexecutablereturnsthefollowingcodes:
Table13.Returncodes
ReturncodeReturnmessage
0
1Unabletoaccessservicepartition
2
3
4
5
6Errorsettingservicepartitionactive
Success
Errorcopyingmanifestleintoservicepartition
Errorcopyingpersonalizationleintoservicepartition
Errordeletinglefromservicepartition
ErrorwritingAUTO.TAGleinservicepartition

Backups

ThefollowingsectionsprovidecustomizationinformationforRescueandRecoverybackups.

Schedulingbackupsandassociatedtasks

TheschedulerisnotdesignedtobespecictotheRescueandRecoveryprogram;however,the congurationisstoredintheregistry.WhentheRescueandRecoveryprogramisinstalled,itwillpopulate theschedulerwiththeappropriatesettings.
Thefollowingisadescriptionofthestructureofthescheduler:
•Location:C:\ProgramFiles\CommonFiles\Lenovo.
Chapter3.Congurations21
Page 30
Notes:
1.TheRescueandRecoveryprogramsynchronizesbackupsfromtheprimarybackuplocationtothe secondarybackuplocation(aUSBharddiskdrive,secondharddiskdrive,ornetworkdrive).The previousbackupsonthesecondarybackuplocationwillbeoverwrittenafterthesynchronization.
2.WhencreatingabackuptoaUSBharddiskdriveforthersttimethroughthesimplieduser interface,thebackupoperationwillbecancelledautomatically.BackinguptotheUSBharddisk drivewillbesuccessfulfromthesecondtime.
•Entryforeachscheduledtask.
•Scripttorun.
•Namedpipetobeusedforprogressnotications.Thisisanoptionalsetting.
•Scheduleinformationmonthly,weekly,daily,onweekdays,oronweekends-multipleschedules. TuesdaysandFridays,forexample,canbesupportedbycreatingtwoschedules.
•Parameterstopasstotasks.
FortheRescueandRecoveryprogram,performincrementalbackupsonschedule,withcallbacksbefore andafterthebackupoperation.
IntheRescueandRecoveryADMle,thereisanoptiontoconguretheScheduleT ask1andSchedule Task2settings.Thefollowingregistrykeysmustbeaddedforthescheduledtasks:
•ForScheduleT ask1,thekeyis:
HKLM\Software\Lenovo\Scheduler\tasks\task1
•ForScheduleT ask2,thekeyis:
HKLM\Software\Lenovo\Scheduler\tasks\task2
Note:Ifthetaskneedstobeshown,addtheDWORDvaluenamedTaskShowandsetthevalueto1in thekey.Bydefault,tasksarehidden.

Mappinganetworkdriveforbackups

Themappingnetworkdrivefunctionreliesontheregistrysettingslocatedat:
HKLM\Software\Lenovo\MND
TheUniversalNamingConventionentrycontainsthecomputernameandshareofthelocationyouare attemptingtoattach.
TheNetPathentryisoutputfromthemapdrv.exele.Itcontainstheactualnamethatwasusedwhen makingtheconnection.
UserandPwdentriesaretheusernameandpasswordentries.Theyareencrypted.
Thefollowingisanexampleentryformappinganetworkdrive:
UNC=\\server\share
NetPath=\\9 .88 .77 .66\share
22RescueandRecovery4.23DeploymentGuide
Page 31
User=11622606415119207723014918505422010521006401209203708202015...
Pwd=11622606415100000000014918505422010521006401209203708202015...
Fordeployment,thislecanbecopiedontomultiplecomputersthatwillusethesameusernameand password.TheUNCentryisoverwrittenbytheRescueandRecoveryprogrambasedonavalueinthe rnrdeploy.xmlle.
Settingupuseraccountsfornetworkbackups
WhentheRRBACKUPSdirectoryiscreatedonthenetworkshare,theservicemakesthedirectorya read-onlyfolder,andassignsitaccessrights,sothatonlytheaccountthatcreatedthefolderhasfull controloverthefolder.
Tocompleteamergeoperation,grantthepermissionstotheuseraccount.Iftheuserlogsinwithan accountotherthantheaccountthatcreatedthefolderinitially,suchastheadministratoraccount,the mergeprocesswillfail.

Sysprepbackuporrestore

PasswordpersistencewillnotworkwithSysprepbackuporrestoreoperations,becauseinaSysprep backupimage,thepasswordpersistenceinformationdoesnotexist.Restartthecomputeraftercompleting aSysprepbackup.TorestorefromtheSysprepbackup,switchtotheadvancedinterfaceoftheRescue andRecoveryprogram,andselectDONOTPRESERVEmyWindowsUserIDandpassword.Donot performtherestoreoperationinthesimpliedinterfacethatisenabledtousethepasswordpersistenceby default.OnlyafullrestoreoperationcanbeperformedwithbasebackupsthatweretakenusingSysprep. Therejuvenateoperation,ortheoperatingsystemandapplicationsrestoreoperationwillnotworkwitha Sysprepbasebackup.
CapturingaSyspreputilityimageinthebasebackup
TheseinstructionsareintheLargeEnterpriseindividuallanguagelesWebpage.T oaccesstheWeb page,gototheLenovoSupportWebsiteat:http://www.lenovo.com/support.NavigatetoThinkVantage TechnologiesRescueandRecovery.SelecttheappropriateversionnumberoftheRescueand Recoveryprogram,andclicktheIndividuallanguagelesforLargeEnterpriselink.
TocaptureaSyspreputilityimageinthebasebackup,dothefollowing:
1.Performanadministrativeinstallation:
::ExtracttheWWWEXEtothedirectoryC:\TVTRR start/WAITz696zisxxxxus.exe/a/s/v"/qnTARGETDIR (WhereXXXXisthebuildID.) ="C:\TVTRR"REBOOT="R""/w
2.InstalltheRescueandRecoveryprogramusingtheMSIEXEle: a.ForallMSIles,addthefollowinginstallation-loggenerationcode:
/L*v%temp%\rrinstall.txt
b.T oinstallthesetuplesusingtheMSIEXEle,enterthefollowingcommand:
:PerformtheinstallofRescueandRecovery
msiexec/i"C:\TVTRR\RescueandRecovery.msi"
c.TosilentlyinstallthesetuplesusingMSIEXE:Withrebootattheend,enterthefollowingcommand:
Chapter3.Congurations23
Page 32
:SilentinstallusingtheMSIwithareboot :Typethefollowingcommandononeline
start/WAITmsiexec/i"C:\TVTRR\RescueandRecovery.msi"/qn
Withrebootsuppressed,enterthefollowingcommand:
:SilentinstallusingtheMSIwithoutareboot :Typethefollowingcommandononeline
start/WAITmsiexec/i"C:\TVTRR\RescueandRecovery.msi"/qnREBOOT="R"
3.Enterthefollowingcommands:
:StarttheRescueandRecoveryService netstart"TVTBackupService"
:CreateSysprepBaseBackuptoLocalHardDrive :Typethefollowingcommandononeline
cd"\ProgramFiles\Lenovo\RescueandRecovery" rrcmdsysprepbackuplocation=lname="SysprepBackup"
Ifyouwanttouseapassword,addthesyntaxpassword=pass.
4.RunyourspecicSysprepimplementationwhenyouseethefollowingmessage:
*************************************************** **Readytotakesysprepbackup.** **PLEASERUNSYSPREPNOWANDSHUTDOWN.** **** **Nexttimethemachineboots,itwillboot** **tothePredesktopAreaandtakeabackup.** ***************************************************
5.ShutdownandrebootthesystemwhenSysprepbackupiscomplete..
Note:TheoperatingsystemwillrebootintothePredesktopAreaoftheRescueandRecoveryprogram. Thestatusbarwiththemessage“SystemRestoreinProgress”willbedisplayed.
6.Restartthesystem.
7.Capturetheimagefordeployment.
CapturingamultiplepartitionsystemandexcludinglesinaSysprepbackup
TocapturemultiplepartitionsinaSyspreputilitybackup,dothefollowing:
1.Performanadministrativeinstallationaction:
::ExtracttheWWWEXEtothedirectoryC:\TVTRR start/WAITz696zisus00xxxx.exe/a/s/v"/qnTARGETDIR (whereXXXXisthebuildID) ="C:\TVTRR"REBOOT="R""/w
2.Addthefollowingcommandtotheendofthernrdeploy.xmlleinC:\tvtrr\ProgramFiles\Lenovo\Rescue andRecovery:
<Rescue__and__Recovery..Settings..Backuppath ="RescueandRecovery\Settings\Backup">
Toexcludeapartition,addthefollowingtothernrdeploy.xmlle:
24RescueandRecovery4.23DeploymentGuide
Page 33
<BackupPartitionsdword="20"/> </Rescue__and__Recovery..Settings..Backup>
Foradditionalinformationonhowtousethernrdeploy.xmlle,refertotheThinkVantageTechnologies XML/ADMSupplement.ThisdocumentcanbedownloadedfromtheLenovoWebsiteat http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN-ADMIN#rnr.
3.Ifyouwanttoexcludethe.mpgand.jpglesfromthebackups,settheregistryentrytoincludethem at:HKLM\SOFTWARE\Lenovo\RescueandRecovery\Settings\BackupList.Formoreinformationon includingandexcludingbackupswiththeregistry,see“Conguringregistrysettingstoincludeand excludebackuples”onpage27
.
4.InstalltheRescueandRecoveryprogramusingMSIEXE:
a.ForallMSIles,addthefollowinginstallation-loggenerationcode:
/L*v%temp%\rrinstall.txt
b.T oinstallthesetuplesusingMSIEXE,typethefollowingcommand:
:PerformtheinstallofRescueandRecovery
msiexec/i"C:\TVTRR\RescueandRecovery.msi"
c.TosilentlyinstallthesetuplesusingMSIEXE:Withrebootattheend,enterthefollowingcommand:
:SilentinstallusingtheMSIwithareboot
:Typethefollowingcommandononeline start/WAITmsiexec/i"C:\TVTRR\RescueandRecovery.msi"/qn
Withrebootsuppressed,enterthefollowingcommand:
:SilentinstallusingtheMSIwithoutareboot
:Typethefollowingcommandononeline start/WAITmsiexec/i"C:\TVTRR\RescueandRecovery.msi"/qnREBOOT="R"
5.Enterthefollowingcommands:
:StarttheRescueandRecoveryService netstart"TVTBackupService"
:CreateSysprepBaseBackuptoLocalHardDrive
:Typethefollowingcommandononeline
cd"\ProgramFiles\Lenovo\RescueandRecovery" rrcmdsysprepbackuplocation=Lname="SysprepBaseBackup"
Ifyouwanttouseapassword,addthesyntaxpassword=pass.
6.RunyourspecicSysprepimplementationwhenyouseethefollowingmessage:
*************************************************** **Readytotakesysprepbackup.** **PLEASERUNSYSPREPNOWANDSHUTDOWN.** ****
Chapter3.Congurations25
Page 34
**Nexttimethemachineboots,itwillboot** **tothePredesktopAreaandtakeabackup.** ***************************************************
7.ShutdownandrebootthesystemwhenSysprepbackupiscomplete.
Note:TheoperatingsystemwillrebootintothePredesktopAreaoftheRescueandRecoveryprogram. ThestatusbarwiththemessageSystemRestoreinProgresswillbedisplayed.
8.Restartthesystem.
9.Capturetheimagefordeployment.
SupportedSysprepmultipledrivecongurations
WindowsPEdriveenumerationmaybedifferentfromtheWindowsmainoperatingsystemenumerationfor primarypartitions.Ifyouwishtobackupapartitionotherthantheprimarypartition,forexampleC:\,you mustsettheBackuppartitiontypetoExtended.
Note:ASysprepbackupoperationwillfailifthedrivelettersofthepartitionsarechangedaftertheSysprep backupoperationstarts.

Passwordpersistence

Thefollowingtableshowsconsiderationsfordecidingwhethertousepasswordpersistence.
Table14.Passwordpersistenceconsiderations
IssueImpactifpasswordpersistenceisenabled
Ifauserlogsintoanoldbackupwiththecurrentaccount andpassword,thennoneoftheEncryptedFilesystemles andfolderswillworkbecausethoseleswereencrypted againsttheoriginalaccountandpassword,butnotthe currentaccountandpassword.
Ifauserdoesnotexistonabackup,theuserwillnothave anyofuserfoldersorles.AllInternetExplorerfavorites andapplicationdatadonotexist.
DeletingtheuserIDinthecurrentaccountsandpasswords willremovetheuserIDauthenticationinformationfromall thebackups.
Ifamanageroranetworkadministratorwantedtodelete theaccessofseveralex-employeesandwantedtorestore tothebasebackuptoresetthesystemtoremoveallof theemployeesauthenticationaccounts,theex-employees wouldstillhaveaccesswithpasswordpersistence.
•TheuserwillloseEncryptedFileSystemdata.
•YoucannotuseEncryptedFileSystemandpassword persistencetogether.
•TheUserIDdocumentssettingsarenotset.
•Potentialdataloss
•Userdoesnothaveaccesstodata.
•ThisisnotastandardoperationoftheMicrosoftUser IDmaintenancepracticesandrecommendations.
Whenrestoringfromalocalharddiskdrive,thecurrentpasswordwillbeusedwhenPasswordPersistence isselected.WhenrestoringfromtheUSBharddiskdriveorthenetwork,thepasswordofthemostrecent backupwillbeused.
EFSlelimitation
ThedateandtimestampattributesarenotpreservedforEFSlesrestoredbytheRescueandRecovery program.Allotherleswillretaintheiroriginaldateandtime.
26RescueandRecovery4.23DeploymentGuide
Page 35

Batterypowersettingsforbackups

WiththecorrespondingADMleinstalledfortheRescueandRecoveryprogram,ifyouhavetheBattery PercentRequirementsetinGroupPolicyat1%inthefollowingADMpath:ThinkVantage\Rescueand Recovery\Settings\Backup,andthesystemthatyouareattemptingtobackuphas1%remainingbattery power,settheNoBatterypolicysettingatthefollowinglocationtoHide:
ThinkVantage\RescueandRecovery\Settings\UserMessages
FormoreinformationonconguringActiveDirectoryfortheRescueandRecovery programusingGroupPolicy,seetheaccompanyingXML/ADMSupplementforthe deploymentguidelocatedontheThinkVantageT echnologiesAdministratorT oolspage: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN-ADMIN#rnr

MicrosoftMessageQueuing(MSMQ)

IfyouareusingMSMQ,youmighthaveproblemsstartingtheserviceafterperformingarestoreoperation fromanincrementalbackup.ThatishowtheRescueandRecoveryprogramknowswhatleshavechanged, soitcancreatebackups.Thus,ifallthoselesarenotbackeduponanincrementalbackup,thentheles couldgetoutofsynchronizationandcausetheservicetofail.Thefollowingaresomeregistrysettingsthat runacommandbeforetheRescueandRecoveryprogramtakesabackupthatsetstheArchivebitonallles intheMSMQdirectory.Thismeanstheentiredirectorywillbebackeduponeveryincrementalbackup.
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Lenovo\RescueandRecovery\Settings\Backup \PreBackup] "Pre"="cmd" "PreParameters"="/cattrib+A\"%windir%\\system32\\msmq\\*.*\"/S/D" "PreShow"=dword:00000000
CongurationsintheRescueandRecoveryWindowsenvironment
ThefollowingsectionsprovideinformationonusingtheRescueandRecoveryprogramintheWindows environmentandinthePredesktopArea.

Settingthebasebackuplocation

Tosetabasebackuplocationassoonasaninstallationiscomplete,congurethefollowingregistryentry:
HKLM\Software\Lenovo\RescueandRecovery\runbasebackuplocation DWord=locationvalue
Conguringregistrysettingstoincludeandexcludebackuples
TheRescueandRecoveryprogramcanincludeandexcludeanindividualle,afolder,oranentirepartition. WiththeRescueandRecovery4.23program,thesecapabilitiesarecontrolledbythefollowingregistry entriesthataretheREG_MUL TI_SZtype:
HKLM\SOFTWARE\Lenovo\RescueandRecovery\Settings\BackupList
HKLM\SOFTWARE\Lenovo\RescueandRecovery\Settings\ExcludeList
Chapter3.Congurations27
Page 36
HKLM\SOFTWARE\Lenovo\RescueandRecovery\Settings\OSAppsList
BackupList
Theregistryentryformatis:
HKLM\SOFTWARE\Lenovo\RescueandRecovery\Settings\BackupList
•Onelineperinclude/excluderuleentry.
•Ifmorethanonesettingisappliedtoaleorfolder,thelastsettingappliedisused.Entriesatthebottom oftheregistryentrytakeprecedence.
•Entriesmuststartwith:
;foracomment
Iforincludinglesorfoldersthatmatchtheentry
Xforexcludinglesorfoldersthatmatchtheentry
SforincludingSingleInstanceStorageinaleorafolder
iforlesorfoldersthatyoucanchoosetoinclude
xforlesorfoldersthatyoucanchoosetoexclude
sforlesorfoldersthattheusercanchoosetoaddtoSingleStorage
Thefollowingareexamplesofentries:
S=* X=*
i=* I=*.ocx I=*.dll I=*.exe I=*.ini I=*.drv I=*.com I=*.sys I=*.cpl I=*.icm I=*.lnk I=*.hlp I=*.cat I=*.xml I=*.jre I=*.cab I=*.sdb I=*.bat I=?:\ntldr I=?:\peldr I=?:\bootlog.prv I=?:\bootlog.txt I=?:\bootsect.dos I=?:\WINNT\* I=?:\WINDOWS\* X=?:\WINDOWS\pref etch\* I=?:\minint\* I=?:\preboot\* I=?:\ApplicationData\*
28RescueandRecovery4.23DeploymentGuide
Page 37
I=?:\DocumentsandSettings\* I=?:\ProgramFiles\* I=?:\msapps\*
X=?:\Recycled X=?:\RECYCLER
x=?:\DocumentsandSettings\*\Cookies\* x=?:\DocumentsandSettings\*\LocalSettings\History\* X=?:\DocumentsandSettings\*\LocalSettings\T emp\* x=?:\DocumentsandSettings\*\LocalSettings\T emporaryInternetFiles\* x=?:\DocumentsandSettings\*\Desktop\* x=?:\DocumentsandSettings\*\MyDocuments\*
s=?:\DocumentsandSettings\*\Desktop\*
s=?:\DocumentsandSettings\*\MyDocuments\*
x=*.vol
s=*.vol
ExcludeList
Withinthissectionoftheregistry,youcanchoosetoexcludesoftwareapplicationsfromtherecovery processinitiatedbytheRescueandRecoveryprogram.ThisGUIexcludelistismanagedthroughthe registryat:HKLM\SOFTWARE\Lenovo\RescueandRecovery\Settings\ExcludeList.
OSAppsList
TheRescueandRecovery4.23programprovidestheabilitytoselectivelyrestoreparticularlesand folderswhendoinganoperatingsystemandapplicationsrestoreoperationthroughthefollowingregistry keysettings:
HKLM\SOFTWARE\Lenovo\RescueandRecovery\Settings\OSAppsList
TheOSAppsListsettingwilldenewhatles,folders,orletypescomprisetheoperatingsystemand applications.Thissettingcanbecustomizedbytheadministratorandadefaultexternallewillbeprovided. Whentheuserchoosestorecovertheoperatingsystem,theywillseeamenuthatallowsthemtochoose Restore.
Onlylesthatmatchtherulescontainedintheexternallewillberestored.Theadministratorcancustomize thecontentsoftheexternalle.
ConguringtheRescueandRecoveryuserinterface
TheRescueandRecoveryuserinterfaceprovidestheoptiontoswitchbetweenthesimplieduserinterface andtheadvanceduserinterface.Thesimplieduserinterfacehasafewbasicoptions,whiletheadvanced userinterfacehasextendedoptions.Bydefault,youwillseethesimplieduserinterfaceeachtimewhenthe RescueandRecoveryprogramstartsunlessthesettingisdisabled.
IftheSimpleUserInterfacesettingisdisabled,theadvanceduserinterfacewillbedisplayedeachtime whentheRescueandRecoveryprogramstarts.Youcandisablethesimplieduserinterfaceusingthe followingActiveDirectorypolicy:
ThinkVantage\RescueandRecovery\UserInterf ace\SimpleUserInterf ace
Youcandisableinterfaceswitchingsothatauserwillnotbeabletoswitchbetweenthetwointerfaces.To disabletheinterfaceswitching,setthefollowingActiveDirectorypolicytoDisabled:
ThinkVantage\RescueandRecovery\UserInterf ace\Interf aceSwitching
Chapter3.Congurations29
Page 38
ForadditionalinformationaboutRescueandRecoverysettingsandworkingwithActive DirectoryandGroupPolicy,seetheXML/ADMSupplementinsidetheThinkVantage TechnologiesAdministratorTools,whichcanbedownloadedfromthefollowingWebsite: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN-ADMIN#rnr
CongurationsintheRescueandRecoveryPredesktopArea
TocustomizepartsoftheRescueandRecoveryPredesktopArea,usetherrutil.exeprogramtogetlesfrom andputlestothePredesktopAreaortheprotectedbackupsfolder.
Note:ThePredesktopAreacanbemanuallystartediftheoperatingsystemdoesnotstart.
Thelesordirectoriesalongwiththeircustomizationoptionsarelistedinthefollowingtable:
Table15.RRUTIL.exelesandcustomizationoptions
FileorDirectoryCustomizationoptions
\MININT\SYSTEM32WINBOM.INI
\MININT\INF
\MININT\SYSTEM32\DRIVERS
MAINBK.BMP
MINIMAL_TOOLBAR(1).INI
NORM1.INIConguretheOperabrowser,disabletheOperaaddressbar,change
OPERA_010.CMD
OPERA6.INIConguretheOperabrowserordisabletheaddressbar.
PDAGUIxx.INI(wherexxisthelanguage designation)
STANDARD_MENU.INIEnabletodisplaytheSaveAswindow.
AddastaticIPaddress;changevideoresolution. Note:Ifyoucustomizethewinbom.inilefortheRescueand Recoveryprogram,youmustcustomizeallwinbom.iniles.
Adddevicedrivers.
Modifyenvironmentbackground.
Disabletheaddressbar.
Operaproxysettings,specifyxeddownloaddirectory,addspecic leextensiontothedownloadableleslistorchangebehaviorofles withspecicextensions.
Excludeusers'favorites.
Prebootenvironment:mainGUIfonts,environmentbackground,left andrightpanelentriesandfunctions,andHTML-basedhelpsystem.

WindowsVistaconsiderations

The\minintdirectorydoesnotexistontheWindowsVistaoperatingsystemwiththeRescueandRecovery programinstalled.ThenewfolderintheWindowsVistaoperatingsystemiscalled\tvtosandtheentire preinstallationenvironmentoperatingsystemiscontainedinaWIMle.
FortheWindowsVistaoperatingsystem,youneedtoobtaintheimagex.exeleintheMicrosoftOPK(OEM PreinstallationKit)toedittheWIMle.
Note:Consideringthisformattingdevelopment,usethescenarioin“Scenario4-InstallingwithWIMles andWindowsVista”onpage83 theWindowsVistaoperatingsystem.
30RescueandRecovery4.23DeploymentGuide
wheninstallinganddeployingtheRescueandRecoveryprogramon
Page 39

UsingtheRRUTIL.EXEutility

TheRRUTIL.EXEutilityisdesignedtoaccesstheRescueandRecoveryservicepartitionandvirtualpartition data.Thisutilitywillworkwithbothvirtualpartitionsandtype12partitions.Thisutilityallowsadministrators tocustomizethePredesktopArea.OnlyanAdministratorusercanusethisutilitybydefault.
TheRRUTIL.EXEutilityworkswiththeRescueandRecoverylterdriveronavirtualpartition,andmounts type12partitionasadriveinordertogainaccess.
Note:TheRRUTIL.EXEutilityfortheRescueandRecovery4.23programisnotbackwardscompatiblewith earlierversionsoftheRescueandRecoveryprogram.
Youcanobtaintherrutil.exelefromthefollowingWebsite: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN-ADMIN#rnr
Touserrutil.exe,dothefollowing:
1.Copyrrutil.exetotherootoftheCdrive.
2.Createagetlist.txtlewiththefollowingsyntax:
\preboot\usrintfc\lename
Savetheleasc:\temp\getlist.txt.
3.Atacommandprompt,typetherrutil.execommandanditsswitchoptionsdenedinthefollowingtable.
Table16.Commandandswitchoptions
CommandandswitchoptionsResult
RRUTIL-l1
Listthecontentsofprebootdirectory.
RRUTIL-l2
RRUTIL-l4
RRUTIL-gc:\temp\getlist.txtC:\temp
RRUTIL-dc:\temp\dellist.txtDeletelesfromtheprebootpartition.
RRUTIL-pc:\temp
RRUTIL-rpath\oldname.extnewname.ext
RRUTIL-bpc:\temp
RRUTIL-blpath
RRUTIL-blliststoc:\rr-list.txt
rrutil-blc:\rrtemp
RRUTIL-bgc:\temp\bgetlist.txtC:\temp
RRUTIL-bs
Listthecontentsofminintdirectory.
ListthecontentsoftherootoftheCdriveorroot ofType-12partition.
Getlesfromprebootpartition.
Addorreplacelesintheprebootpartition.
RenamealeinthePredesktopArea.
UpdateorreplacelesinRRBACKUPSvirtual partition.
ListtheRRBACKUPSdirectory.
Copyindividuallesfrom\RRBACKUPS.
DisplayspaceusedbyRRBackupsdirectory.
4.AfteryouhaveperformedtheGETroutine,youcanthenedittheleusingastandardtexteditor.
Thisutilityallowsadministratorstoperformthefollowingfunctions:
Chapter3.Congurations31
Page 40
“ViewingthedirectoriesinthePredesktopArea”onpage32
“GettinglesfromthedirectoriesinthePredesktopArea”onpage32
“PuttinglestothedirectoriesinthePredesktopArea”onpage33
“DeletinglesfromthedirectoriesinthePredesktopArea”onpage33
“RenaminglesinthePredesktopArea”onpage34
“TestingtheRescueandRecoveryprograminthePredesktopArea”onpage34
“Viewingthe\RRbackupsdirectory”onpage34
“Gettinglesfromthe\RRbackupsdirectory”onpage35
“Puttinglestothe\RRbackupsdirectory”onpage35
“Displayingthebackupspace”onpage36
ViewingthedirectoriesinthePredesktopArea
Toexportalistofthe\preboot,\minint,orrootdirectorycontentsineitherthevirtualortype12partition, dothefollowing:
1.Thedataiswrittenasatextstreamofallthelesineachsubdirectorytoalenameddirlist.txtina
directorynamesuppliedbytheuser,ortotherootofdrivec:\ifnopathisgiven.
2.ThisistheequivalentofthefollowingDOSstylecommand("dir*/s>c:\temp\dirlist.txt")inthe directoryofinterest.ListingofthecontentsoftherootofthePEpartitionis"dir*>c:\temp\dirlist.txt" only.Example:
Directoryof\
10/20/0300:00:00AM42AUTOEXEC.ICR 03/12/0400:00:00AM42AUTOEXEC.bat 03/10/0400:00:00AM165BOOT.INI 08/16/0200:00:00AM53786COMMAND.COM 12/16/0300:00:00AM222CONFIG.ICR 12/16/0300:00:00AM222CONFIG.SYS 04/06/0000:00:00AM655FINDDRV.BAT 09/17/0300:00:00AM14320HIMEM.SYS
3.Anoptionalcommandlineinputwillbeatextletocapturetheoutputofthisoption.
4.Samplecommand:
RRUTIL/lx[<path>dirlist.txt]
Thefollowinglistprovidesthevaluesforx:
•1\preboot
•2\minint
•4<rootofc:\orrootoftype12partition>
Multiplelistingswouldbesimpleadditionofeachx.Thus,\prebootand\minintwouldbeavalueof3. Forexample,thedirlist.txtlecontentsareasfollows:
\minint\system32\drivers*.sys \preboot\startup\*.*
GettinglesfromthedirectoriesinthePredesktopArea
Tocopyindividuallesfromthe\preboot,\minint,orrootdirectoryineitherthevirtualortype12partition, dothefollowing:
32RescueandRecovery4.23DeploymentGuide
Page 41
1.Atextleidentiesthelesthatshouldbecopiedtoalocationspeciedinthecommandline.
2.The<copytolocation>mustbeanexistingdirectorythatwillreceivethelesfromthePredesktopArea. TheleswillbecopiedintothisdirectoryinthesametreestructureastheyarefoundinthePredesktop Area.Thiswillavoidcopyinglesoverexistingleswiththesamename.
3.Samplecommand:
RRUTIL/g<path>getlist.txt<copytolocation>
getlist.txtcontents:
\PELDR
\preboot\startup\Restore.cmd \preboot\usrintfc\PDAGUI.ini
Note:Wildcardsarenotsupportedinthisfunction.YoumustunderstandthePredesktopArea environmentbeforeattemptinganymodications.
PuttinglestothedirectoriesinthePredesktopArea
RRUTIL/p<path>
Toaddlestoorreplacelesfromthe\preboot,\minint,orrootdirectoryineitherthevirtualortype 12partition,dothefollowing:
1.Placeallthelesinatempfolderondrivec:\.Basedonlocationinthetempdirectory,theleswill becopiedintothePEpartitionsinthesamelocations.Forexample,toaddorreplacea.cmdlein \preboot\startup,theuserwillneedtoplacethe.cmdleinc:\tempdir\preboot\startupandthenrunthe command
RRUTIL/pc:\tempdir
2.Thesamplecommand
RRUTIL/pc:\PDAT emp
iscontainedinthec:\PDAT empdirectory,andthedirectoryisamirrorimageofthedirectorystructure ofthe\preboot,\minint,orrootdirectoryinthePredesktopArea.Thelesintherootofc:\PDATemp wouldputthelesintherootofthePEpartition.
DeletinglesfromthedirectoriesinthePredesktopArea
RRUTIL/dC:\temp\dellist.txt
Deletethele(s)inthe\preboot,\minint,orrootdirectoryineitherthevirtualortype12partition:
1.Deletethele(s)inthe\preboot,\minint,orrootdirectoryineitherthevirtualortype12partitionbased onthecontentsofatextle.
2.TheDellist.txtlemustcontainatreestructureofthelestobedeletedfromthePredesktopArea.
3.Forsamplecommand:RRUTIL/d<path>dellist.txt,thedellist.txtlecontentsarethefollowing:
\preboot\startup\custom.cmdSamplelenameonly \preboot\usrintfc\test.txtSamplelenameonly
Chapter3.Congurations33
Page 42
RenaminglesinthePredesktopArea
RRUTIL/r\<PDA-path>\oldlename.extnewlename.ext
RenamealelocatedinthePredesktopArea.ThisfunctiononlyworksonlesinthePredesktopArea.The pathtotheletoberenamedmustbeincludedwithoutthedriveletter.Thenewnameoftheleshould onlyincludethenamewithoutanypathinformation.
Example:
RRUTIL–r\preboot\usrintfc\peaccessibmen.inipeaccessibmen.old
TestingtheRescueandRecoveryprograminthePredesktopArea
RRUTIL/bq
Thiscommandcanbeusedinabatchletohelpinautomatedprocessing.IftheRescueandRecoverycode isnotinstalledonthesystemonly,thefunctionsthathelpusersaccessthePredesktopAreawillbeavailable.
Example:
RRUTIL–bq
Thiscommandwillresultintheenvironmentvariable%errorlevel%beingsetto-2,iftheRescueand Recoveryprogramisnotinstalledonthesystem,or0iftheRescueandRecoveryprogramisinstalled.Type echo%errorlevel%toseetheresultsofthecommand.
Viewingthe\RRbackupsdirectory
RRUTIL/bl<path>
Listallofthecontentsofthe\RRbackupsdirectory.Displaythelesizeanddateofeachleinthebackup aswellasinitslocation.Thelistbelowisanexampleofabackupdirectorywithabasebackupandone incrementalbackup.
Directoryof\RRbackups\C\0\
03/11/0408:02:44AM50003968Data0 03/11/0408:04:05AM50003968Data1 03/11/0408:07:10AM50003968Data10 03/11/0409:09:03AM50003968Data100 03/11/0409:10:39AM50003968Data101 03/11/0409:12:07AM50003968Data102 03/11/0409:13:24AM50003968Data103 03/11/0408:01:31AMEFSFile 03/15/0422:22:47PM338772HashFile 03/11/0409:17:44AM748Inf o 03/15/0422:22:47PM34443040TOCFile
Directoryof\RRbackups\C\1\
03/15/0422:29:29PM50003968Data0 03/15/0422:29:45PM50003968Data1
34RescueandRecovery4.23DeploymentGuide
Page 43
03/15/0422:44:50PM50003968Data10 03/15/0422:51:56PM50003968Data11 03/15/0422:56:39PM50003968Data12 03/15/0423:00:27PM43480478Data13 03/15/0422:30:00PM50003968Data2 03/15/0422:30:19PM50003968Data3 03/15/0422:30:34PM50003968Data4 03/15/0422:30:57PM50003968Data5 03/15/0422:32:25PM50003968Data6 03/15/0422:33:42PM50003968Data7 03/15/0422:34:40PM50003968Data8 03/15/0422:42:57PM50003968Data9 03/15/0422:22:47PMEFSFile 03/15/0423:00:27PM374742HashFile 03/15/0423:00:27PM748Info 03/15/0423:00:27PM38099990TOCFile
Gettinglesfromthe\RRbackupsdirectory
RRUTIL/bg<path>getlist.txt<copytolocation>
Copyindividuallesfromthe\RRbackupsdirectory:
1.Atextleidentiesthelesthatshouldbecopiedtoalocationspeciedinthecommandline.
2.The<copytolocation>mustbeanexistingdirectorythatwillreceivethelesfromthe\RRbackups directory.Theleswillbecopiedintothisdirectoryinthesametreestructureastheyarefoundinthe \RRbackupsdirectory.
3.Samplecommand:RRUTIL/bg<path>getlist.txt<copytolocation>.
Note:Wildcardsarenotsupportedinthisfunction.Youmustunderstandthe\RRbackupsdirectory environmentbeforeattemptingtomakemodications.
Puttinglestothe\RRbackupsdirectory
RRUTIL/bp<path>
Addlestoorreplacelesfromthe\RRbackupsvirtualpartition:
1.Placeallthelesinatempfolderondrivec:\.Then,basedonlocationinthetempdirectory,leswillbe copiedintothe\RRbackupsdirectoryinthesamelocation.
2.Thesamplecommand
RRUTIL/bpc:\RRTemp
iscontainedinthec:\RRTempdirectory,andthedirectoryisamirrorimageofthedirectorystructure ofthe\RRbackupsdirectory.
C:\RRTemp\C\0Data0Data1
EFSFileHashFileInf oTOCFile
to
C:\RRbackups\C\0Data0Data1
EFSFileHashFileInf oTOCFile
Chapter3.Congurations35
Page 44
Displayingthebackupspace
RRUTIL/bs
ThesamplecommandRRUTIL/bswilldisplaythebackupspaceontheconsole.
1.Determinetheamountofspacethatisconsumedby\RRbackups.
2.Displaytheconsumedspaceforeachbasebackupanditsincrementalbackups.
Examples
Example1:AddingdevicedriverstothePredesktopArea
Thefollowingexampleprovidesinstructionsonaddingdevicedrivers,suchasethernettothePredesktop Area:
1.Obtaindevicedriversfromthevendor'sWebsiteorothermedia.
2.Createthefollowingdirectorystructures:
C:\TEMP\MININT\INF
C:\TEMP\MININT\SYSTEM32\DRIVERS
3.Copyallnetworkdriver*.inflestothe\MININT\INFdirectory.(Forexample,E100B325.infneeds tobeinthe\MININT\INFdirectory.)
4.Copyall*.syslestothe\MININT\SYSTEM32\DRIVERSdirectory.(Forexample,E100B325.sysneeds tobeinthe\MININT\SYSTEM32\DRIVERSdirectory.)
5.Copyanyrelated*.dll,*.exe,orotherlestothe\MININT\SYSTEM32\DRIVERSdirectory.(Forexample, theE100B325.dinandINTELNIC.dlllesmustbeinthe\MININT\SYSTEM32\DRIVERSdirectory.)
Notes:
a.Cataloglesareunnecessary,astheyarenotprocessedbytheRescueandRecoveryenvironment.
Theprecedinginstructionsapplytoanydevicedriverthatmightberequiredtocongurethe computer.
b.WiththelimitationofWindowsPE,youmighthavetomanuallyapplysomecongurationapplications
orsettingsasregistryupdates.
6.T oputthedevicedriversintothePredesktopArea,enterthefollowingatacommandprompt:
C:\RRUTIL.EXE-pC:\temp
Example2:Addingmass-storagecontrollerdriverstothePredesktopArea
Thefollowingexampleprovidesinstructionsonaddingmass-storagecontrollerdrivers,suchasSATA tothePredesktopArea:
1.Createasubdirectoryunder\minint\system32\tocontainthedriver.
2.Copy*.sysinto\minint\systme32\drivers.
3.Update\minint\system32\winpeoem.siftoincludethesubdirectorycontainingthedriver(forexample, examinethislefrombuild37oftheRescueandRecovery4.23program).
4.Ensuretheiastorleandfolderareinthesubdirectoryyoucreated.
5.Makesurethesubdirectoryyoucreatedcontainingtheiastordriverhasavalidtxtsetup.oemle.
36RescueandRecovery4.23DeploymentGuide
Page 45
Usingthepdaguixx.inicongurationle
Byeditingthecongurationlepdaguixx.ini,wherexxisthelanguagedesignation,youcancustomizethe followingelementsoftheRescueandRecoveryenvironment:
“ChangingthemainGUIfonts”onpage37
“Changingtheenvironmentbackground”onpage38
“Editingpdagui.ini”onpage38
“Changingentriesandfunctionsintherightpanel”onpage40
•TheHTML-basedhelpsystemfortheRescueandRecoveryenvironment
Thefollowingtableprovidestwo-letterlanguageabbreviationsforthelanguagedestinationinthe pdaguixx.inile.
Table17.Languagecodes
Two-letterlanguagecodeLanguage
brdkenfrgritjpkrnlnoposcspsvtc
Toobtain,edit,andreplacethepdaguien.inile,seethefollowingexamples:
Example1:Gettingthepdaguien.inilefromtheRescueandRecoveryPredesktopAreaT ogetthe pdaguien.inilefromtheRescueandRecoveryPredesktopArea,dothefollowing:
1.Createthegetlist.txtlewiththefollowingparameters:
BrazilianPortugueseDanishEnglishFinnishFrench GermanItalianJapaneseKoreanDutchNorwegian PortugueseSimpliedChineseSpanishSwedish TraditionalChinese
\preboot\usrintfc\pdaguien.ini
2.Savetheleasc:\temp\getlist.txt.
3.Atacommandprompt,typethefollowingcommand:
c:\RRUTIL-gc:\temp\getlist.txtc:\temp
Example2:Puttingthepdaguien.inilebacktotheRescueandRecoveryPredesktopAreaAta commandprompt,typethefollowingcommand:
C:\RRUTIL.EXE-pc:\temp
Note:ThePUT(-p)routineusesthedirectorystructurecreatedintheGET(-g)routine.Forproper placementoftheeditedle,ensurethattheeditedleislocatedinthesamedirectoryasthegetlist.txt le,asfollows:
c:\temp\preboot\usrintfc\pdaguien.ini
ChangingthemainGUIfonts
Youcanchangethefontofthemaingraphicaluserinterface(GUI).Thedefaultsettingsmightnotdisplayall characterscorrectly,dependingonthelanguageandcharactersrequired.Inthepdaguixx.inile,wherexx isthelanguagedesignation,the[Fonts]sectioncontainsthedefaultsettingsforthecharacterstylethatis displayed.Thefollowingaredefaultsettingsformostsingle-bytecharactersetlanguages:
[Fonts]
Chapter3.Congurations37
Page 46
LeftNavNorm="Microsof tSansSerif"
LeftNavBold="ArialBold"
MenuBar="Microsof tSansSerif"
Dependingonyourvisualandcharactersetrequirements,afterbeingtested,thefollowingfontsare compatiblewiththeRescueandRecoveryenvironment:
•Courier
•TimesNewRoman
•ComicSansMS Otherfontsmightbecompatible,buthavenotbeentested.
Changingtheenvironmentbackground
Thebackgroundoftherightpanelisabitmapgraphicandisnamedmainbk.bmp.Themainbk.bmpleis locatedinthe\PREBOOT\USRINTFCdirectory.Ifyoucreateyourownbitmapimagefortheright-panel background,itmustconformtothefollowingdimensions:
•620pixelswide
•506pixelshigh
Youmustplacetheleinthe\PREBOOT\USRINTFCdirectoryinorderfortheRescueandRecoveryprogram topresentthedesiredbackground.
Note:Toget,edit,andreplacethemainbk.bmple,see“UsingtheRRUTIL.EXEutility”onpage31
.
Editingpdagui.ini
Changingtheleft-panelentriesrequireseditingthepdaguixx.inile,wherexxisthelanguagedesignation. Forinformationaboutgettingpdaguixx.inifromtheRescueandRecoveryenvironmentandreplacingthele, see“UsingtheRRUTIL.EXEutility”onpage31.
TheRescueandRecoveryprogramhastwenty-twoentriesintheleftpanel.Althoughfunctionsaredifferent, eachentryhasthesamebasicelements.Thefollowingisanexampleofaleft-panelentry:
[LeftMenu]button00=2,"Introduction",Introduction.bmp,1,
1,0,%tvtdrive%\Preboot\Opera\ENum3.exe,
Table18.Left-panelentriesandcustomizationoptions
EntryCustomizationoptions
00-01Fullycustomizable.
02
03-06Fullycustomizable.
07
08-10Fullycustomizable.
Mustremainabuttontype1(seeEntrytypeparameters).Textcanbechanged.An applicationorhelpfunctioncanbedened.Noiconcanbeadded.
Mustremainabuttontype1.T extcanbechanged.Anapplicationorhelpfunction canbedened.Noiconcanbeadded.
38RescueandRecovery4.23DeploymentGuide
Page 47
Table18.Left-panelentriesandcustomizationoptions(continued)
EntryCustomizationoptions
11
16
17–22Fullycustomizable.
Mustremainabuttontype1.T extcanbechanged.Anapplicationorhelpfunction canbedened.Noiconcanbeadded.
Mustremainabuttontype1.T extcanbechanged.Anapplicationorhelpfunction canbedened.Noiconcanbeadded.
Deningentrytype Button00mustbeauniqueidentier.Thenumberdeterminestheorderbywhichthebuttonsaredisplayed
intheleftpanel.
Button00=[0-8]determinesthebuttontype.Thisnumbercanbeaninteger0through8.Thefollowingtable explainsthetypeandbehaviorofeachbuttontype:
Table19.Entrytypeparameters
ParameterButtontype
0
1
2
3
4
5
6
7
8
9
10
Emptyeld.Usethisvaluewhenyouwanttoleavearowblankandunused.
Sectionheadtext.Usethissettingtoestablishamajorgroupingorsectionhead.
Applicationlaunch.Deneanapplicationorcommandletobestartedwhentheuser clicksthebuttonortext.
OperahelpfortheRescueandRecoveryenvironment.Deneahelptopictobe launchedusingtheOperabrowser.
Displayarestartmessagewindowbeforelaunching.Changethevaluetodirectthe GUItopresentamessagetotheuserthatthecomputermustberestartedbeforethe speciedfunctionisperformed.
Reserved.
Reserved.
Launchandwait.Usethisvaluetoforcetheenvironmenttowaitforareturncode fromthelaunchedapplicationbeforecontinuing.Thereturncodeisexpectedtobein theenvironmentvariable,%errorlevel%.
Launchapplication.TheGUIretrievestheCountryCodeandlanguagebeforestarting theapplication.ItisusedforWeblinksthathaveCGIscriptstoopenaWebpagefrom acertaincountryorinacertainlanguage.
Reserved.
Reserved.
Deningentryelds
Button00=[0-10],"title"
Button00=[0-10],"title",le.bmp
Thetextfollowingthebuttontypeparameter speciesthetextortitleofthebutton.Ifthetext exceedsthewidthoftheleftpanel,thetextiscut andellipsisisusedtoindicatethatmorecharacters follow.Thefulltitletextisdisplayedwhenusing hoverhelp.
Followingthetitletext,specifythelenameofthe bitmaplethatyouwanttouseasaniconforthe buttonbeingcreated.Thebitmaplemustbeno largerthan15pixelsx15pixelstotcorrectly.
Chapter3.Congurations39
Page 48
Button00=[0-10],"title",le.bmp,[0or1]
Thissettingdirectstheenvironmenttodisplayor hidetheentry.Thevalue0hidestheentry.Ifthe valueissetto0,thenablanklineisdisplayed.The value1displaystheentry.
Button00=[0-10],"title",le.bmp,[0or1],1
Thisisareservedfunctionandmustalwaysbeset to1.
Button00=[0-10],"title",le.bmp,[0or1],1,[0or1]
Torequireapasswordpriortostartingan application,placeavalueof1inthisposition.Ifyou setthisvalueto0,nopasswordisrequiredbefore aspeciedapplicationisstarted.
Button00=[0-10],"title",le.bmp,[0or1],1,[0or 1],%tvtdrive%[pathname\executable]
Thevalueof%tvtdrive%mustbethebootdrive letter.Followingthebootdriveletter,youmust provideafullyqualiedpathtoanapplicationor commandle.
Button00=[0-10],"title",le.bmp,[0or1],1,[0or 1],%tvtdrive%[pathname\executable],[parameters]
Providetheparametersrequiredbythetarget applicationthatisbeingstarted.
Ifyouarenotprovidingvaluesforvariouselds,youmustprovidetherequiredcommasinorderforthe buttondenitiontobeacceptedandtoruncorrectly.Forexample,ifyouarecreatingagroupheading, "RescueandRecover,"thefollowingwouldbethecodefortheentry:
Button04=1,"RescueandRecover",,,,,,
Entries02,07,11and16mustremaintype0(orheader)entries,andtheyalwaysfallintheirnumerical places.Theavailabilityofentriesthatfallundertheheaderscanbedisabledbysettingfullycustomizable entriestotype0-blanklinesintheleftpanel.However,thetotalnumberofentriescannotexceed23.
Thefollowingtableshowsthefunctionandexecutablethatyoucanstartfromtheleft-panelentries:
Table20.Left-panelfunctionsandexecutables
FunctionExecutable
Recoverles
Restorefrombackup
Createmigrationle
OpenbrowserOPERA.EXE
MapanetworkdriveMAPDRV .EXE
Diagnosehardware
CreatediagnosticdiskettesDDIAGS.CMD
WIZRR.EXE
WIZRR.EXE
WIZRR.EXE
PCDR.CMD
Note:ThePCDR.CMDexecutablehelpslaunchthePCDoctorapplicationthatisonlyprovidedforthe Lenovo-brandedpreinstallationmodels.
Changingentriesandfunctionsintherightpanel
Changingtheright-panelentriesrequiresthatthepdaguixx.inileisedited,wherexxisthelanguage designation.Forinformationaboutgettingpdaguixx.inifromtheRescueandRecoveryenvironmentand replacingthele,seetheexampleprovidedin“Usingthepdaguixx.inicongurationle”onpage37
.
40RescueandRecovery4.23DeploymentGuide
Page 49
Customizingthefunctionlinksintherightpanel
Tochangethefunctionsofthelinksthatspanthetopoftherightpanel,modifythe[TitleBar]sectionofthe pdaguixx.inile,wherexxisthelanguagedesignation.Theselinksoperatethesamewayastheleft-panel entries.Thebuttonnumbervaluesare00through04.Thesameapplicationsthatcanbestartedfromthe leftpanelcanbestartedfromthe[TitleBar]entries.See“UsingtheRRUTIL.EXEutility”onpage31 completelistofexecutablesthatcanbestartedfromthetitlebar.
Modifyingusermessagesandwindowstatus
Thepdaguixx.inile,wherexxisthelanguagedesignation,containstwosectionsthatyoucanmodify:
[Welcomewindow]
[Rebootmessages]
TheWelcomewindowisdenedinthe[Welcome]sectionofthepdaguixx.inile,wherexxisthelanguage designation.Dependingonthechangesthatyouhavemadetotheleftpanel,youcanchangethe informationinthetitlelineandlines01through12.Youcansetthefontforthetitleandotherlines.Youcan alsospecifywhethertomakethetitleandotherlinesbold.
Thefollowingsettingsareanexampleofthe[Welcome]section:
[Welcome] Title="WelcometoRescueandRecovery" Line01="TheRescueandRecovery(R)workspaceprovidesanumberoftools tohelpyourecoverfromproblemsthatpreventyoufromaccessingtheWindows(R) environment." Line02="Youcandothef ollowing:" Line03="*Rescueandrestoreyourles,f olderorbackupsusingRescueand Recovery(R)" Line05="*Congureyoursystemsettingsandpasswords" Line06="yoursystemsettingsandpasswords" Line07="*CommunicateusingtheInternetandlinktotheLenovosupportsite" Line08="usetheInternetandlinktotheLenovosupportsite" Line09="*Troubleshootproblemsusingdiagnostics" Line10="diagnoseproblemsusingdiagnostics" Line11="Featuresmayvarybasedoninstallationoptions. Foradditionalinformation,clickIntroduction intheRescueandRecoverymenu." Line12="NOTICE:" Line13="Byusingthissoftware,youareboundbythe termsoftheLicenseAgreement.T oviewthelicense, clickHelpintheRescueandRecoverytoolbar, andthenclickViewLicense." Continue="Continue" NowShow="Donotshowagain" NoShowCk=0 WelcomeTitle="ArialBold" WelcomeT ext="Arial" WelcomeBold="ArialBold"
fora
ThefollowingsettingsarefortheTitleBarHelpfunctionsontheuserinterface:
Command0AnHTMLpagetobestartedforthebasehelppage.
Command1LenovoLicenseAgreementHTMLpage.
HELPHelp
Chapter3.Congurations41
Page 50
LICENSELicense
CANCELCancel
Command0%tvtdrive%Preboot\Helps\en\f_welcom.htm
Command1%tvtdrive%Preboot\Helps\en\C_ILA.htm
TohidetheWelcomewindow,changeNoShowCk=0toNoShowCk=1.Tochangethedisplayfontsforthetitleand welcometext,editthelastthreelinesoftheprecedingexampleaccordingtoyourfontdesignpreferences.
Note:Donotchangeordeletelines13and14.
Inthe[REBOOT]sectionofthepdaguixx.inile,wherexxisthelanguagedesignation,youcanmodifythe valuesinthefollowinglines:
NoShowChk=
RebootT ext=
Thetwovaluesfor"NoShowChk"are0and1.Tohidethemessage,selectthecheckbox.Whenthecheck boxisselected,thevalueissetto0.T ohavethemessagedisplayed,changethevalueto1.
Ifnecessary,thefontformessagesinthe[REBOOT]sectioncanbechanged.Forexample,thisvalue canbesetasfollows:
RebootT ext="Arial"
Note:Thefollowingsectionsofthepdaguixx.inile,wherexxisthelanguagedesignation,areavailablein thele,butcannotbecustomized:[Messages],[EXITMSG],and[HelpDlg].

RemovingFactoryRestore

TohidetheRestoretoFactoryContentsoptionintheWindowsPE,renamethe \preboot\recovery\Recover.cmdleandthatoptionwillnotappearinthewizard.Thatrenamed.cmdle canlaterberuntorestorethesystemfromfactorycontents.Iftheservicepartitionhasbeenremoved, thenthisstepisnotnecessary.

Troubleticket

BecausethereisnowaytotransmitinformationthroughletransferintheRescueandRecovery environment,theenduserisdirectedtousethee-mailfunctionintegratedinthebrowser.Thelogging functionpackagesthelogeventsintoale,anddirectstheendusertoe-mailtheleafterheorshe completestherecoveryprocessandlogsontoWindows.ThelereceivedfromtheendusercreatestheReq 115TroubleTicketXMLle,whichcombinesCurrent,HW,InvAgent,andPCDRdiagnosticloginformation, andwillbeplacedinalocationthatcanbeeasilyfoundandaccessiblefromboththeRescueandRecovery environmentandoperatingsystem–C:\SWSHARE.
TheDiagnosticstoolavailableinthePredesktopAreaoftheRescueandRecoveryprogramaidsinproblem determination.OutputfromtestsperformedbytheDiagnosticstoolarestoredinamannerthatcanbe viewedortransmittedtoahelpdesk.
42RescueandRecovery4.23DeploymentGuide
Page 51
ConguringtheOperabrowser
TheOperabrowserhastwocongurationles:thedefaultcongurationleandtheactivecongurationle. Userscanmakechangestotheactivecongurationle,butwilllosechangesmadewhentheRescueand Recoveryprogramisrestarted.
Tomakepermanentchangestothebrowser,editthecopiesofboththeopera6.iniandthenorm1.inilesthat areonthe%systemdrive%(C:)inthefollowingfolderpath:C:\PREBOOT\OPERA\PROFILE.Thetemporary, activecopyofopera6.iniisontheramdrive(Z:)intheZ:\PREBOOT\OPERA\PROFILEdirectory.
Notes:
1.T oget,edit,andplacetheopera6.iniandnorm1.iniles,see“UsingtheRRUTIL.EXEutility”onpage31.
2.TheOperaworkspacehasbeenmodiedtoprovideenhancedsecurity.Somebrowserfunctions havebeendeleted.
Operawillnotsavesettingsafteritisclosed
IfyouareusingtheRescueandRecoveryprogramundertheMicrosoftVistaoperatingsystemandwantto havetheOperabrowserrememberitspreferencesduringthecurrentboottothePreDesktopArea,modifythe opera.exele.Specifythefullpathtothesettingsleonthefthlineofthe\preboot\opera\opera_web.cmd lefrom
startopera.exe/Settingsopera_def ault.ini%1
to
startopera.exe/Settings%tvtdrive%\preboot\opera\opera_default.ini%1
Note:Ifyourebootthesystem,yourchangedpreferenceswillbelostevenwiththischange.
E-mail
TheRescueandRecoveryprogramprovidessupportforsendingWeb-basede-mailsthroughOpera.Opera providesanIMAP-basede-mailprogramthatcanbeenabledthroughthelargeenterpriseconguration,but bydefault,thisprogramisnotsupportedbytheOperabrowserinthePredesktopArea.Togetthereference informationonhowtoenabletheprogram,seetheSystemAdministrator'sHandbookat: http://www.opera.com/support/mastering/sysadmin/
Disablingtheaddressbar
TodisabletheaddressbarinOpera,dothefollowing:
1.GettheleMINIMAL_TOOLBAR(1).INIfromC:\PREBOOT\OPERA\PROFILE\TOOLBARbyusingthe RRUTILprocessdescribedin“UsingtheRRUTIL.EXEutility”onpage31
2.Opentheleforediting.
3.Locatethe[DocumentToolbar]sectionofthele.
4.Locatethe"Address0"entry.
5.Placeasemicolon(;functioningasacommentdelimiter)infrontofthe"Address0"entry.
Note:StoppinghereandcontinuingwithstepdisablestheOperatoolbar,butleavesthenonfunctional Gobuttonandtoolbar.ToremovetheGobuttonandthetoolbar,continuewithstep.
6.Locatethefollowingentriesandthenplaceasemicoloninfrontofeach:
.
Button1,21197=GoZoom2
7.Savethele.
8.PutthelebyusingtheRRUTILprocessasdescribedin“UsingtheRRUTIL.EXEutility”onpage31. TheaddressbarisdisabledwhenOperaruns.
Chapter3.Congurations43
Page 52
Customizingbookmarks
Operaisconguredtoreadthebookmarksestablishedinthisramdrivele:Z:\OPERADEF6.ADR.Thisle isgeneratedwhentheRescueandRecoveryprogramisstartedfromcodeinthestartuproutine.The startuproutineautomaticallyimportsWindowsInternetExplorerbookmarksandaddssomeadditional bookmarks.Becausetheramdrivelethatisgeneratedonstartupisnotpermanent,itaddsbookmarks totheInternetExplorerWebbrowser,whichisautomaticallyimportedwhentheRescueandRecovery environmentisstarted.
YoucanexcludesomeoralloftheInternetExplorerfavorites.ToexcludespecicWindowsusers'favorites, dothefollowing:
1.GettheC:\PREBOOT\STARTUP\OPERA_010.CMDlebyusingtheRRUTILprocessdescribedin “UsingtheRRUTIL.EXEutility”onpage31.
2.Opentheleforediting.
3.LocatethefollowinglineintheCMDle:PYTHON.EXE.FAVS.PYCZ:\OPERADEF6.ADR
4.Attheendofthislineofcode,typeinquotationsthenamesoftheWindowsuserswhosefavoritesyou wanttoexclude.Forexample,ifyouwanttoexcludethefavoritesforAllUsersandAdministrator, enterthefollowing:
python.exefavs.pycz:\Operadef6.adr"AllUsers,Administrator"
5.Savethele.
6.PutthelebackbyusingtheRRUTILprocessdescribedin“UsingtheRRUTIL.EXEutility”onpage31.
IfyoudonotwantanyoftheInternetExplorerfavoritestobedisplayedinthebrowserprovidedinthe RescueandRecoveryenvironment,dothefollowing:
1.GettheC:\PREBOOT\STARTUP\OPERA_010.CMDleforeditingbyusingtheRRUTILprocessas describedin“UsingtheRRUTIL.EXEutility”onpage31.
2.Opentheleforediting.
3.LocatethefollowinglineintheCMDle:PYTHON.EXE.FAVS.PYCZ:\OPERADEF6.ADR
4.Completeoneofthefollowing: a.TypeREMatthebeginningoftheline,asfollows:
REMpython.exef avs.pycz:\Operadef6.adr
b.Deletethelineofcodefromthele.
5.Savethele.
6.PutthelebackbyusingtheRRUTILprocessdescribedin“UsingtheRRUTIL.EXEutility”onpage31.
Changingproxysettings
TochangetheproxysettingsfortheOperabrowser,dothefollowing:
1.GettheleC:\PREBOOT\OPERA\PROFILE\norm1.inibyusingtheRRUTILprocessdescribedin“Using theRRUTIL.EXEutility”onpage31
2.Opentheleforediting.
3.Addthefollowingsectionstothebottomofthenorm1.inile:
Note:The[0or1]variableindicatesthatthecheckitemiseitherenabled(1)ordisabled(0).
[Proxy]
UseHTTPS=[0or1]
UseFTP=[0or1]
.
44RescueandRecovery4.23DeploymentGuide
Page 53
UseGOPHER=[0or1]
UseWAIS=[0or1]
HTTPServer=[HTTPserver]
HTTPSServer=[HTTPSserver]
FTPServer=[FTPserver]
GopherServer=[Gopherserver]
WAISServerEnableHTTP1.1forproxy=[0or1]
UseHTTP=[0or1] UseAutomaticProxyConguration=[0or1] AutomaticProxyCongurationURL=[URL]
NoProxyServersCheck=[0or1]
NoProxyServers=<IPaddresses>
4.Savethele.
5.PutthelebackbyusingtheRRUTILprocessdescribedin“UsingtheRRUTIL.EXEutility”onpage31.
ToaddanHTTP,HTTPS,FTP,Gopher,orWAISproxyserver,type=<addressofproxy>aftertheappropriate line.Forexample,iftheaddressofyourproxyserverishttp://www.yourcompany.com/proxy,theHTTP Serverlinewouldreadasfollows:
HTTPServer=http://www.yourcompany.com/proxy
Toaddtheporttotheentry,placeacolonaftertheaddressandtypetheportnumber.Thesameistruefor theNoProxyServersandAutomaticProxyCongurationURLelds.
z:\preboot\opera\prole\opera6.ini
Enablingorspecifyingthefulldownloadpath
TherearenumeroussettingsthatyoucansettodisplaytheSaveAswindow.Themoststraightforward methodis:
1.GettheC:\PREBOOT\OPERA\DEFAUL TS\STANDARD_menu.inilebyusingtheRRUTILprocess describedin“UsingtheRRUTIL.EXEutility”onpage31
2.Locatethefollowingstring:
.
;;Item,50761
3.Opentheleforediting.
4.Locatethe[LinkPopupMenu].
Chapter3.Congurations45
Page 54
5.Removethetwosemicolons,andthensavethele.WhentheRescueandRecoveryprogramisclosed andreopened,auserisabletoright-clickalinkandtheSaveTargetAsoptionisdisplayed.Thenthe SaveAswindowisdisplayed.
Note:Straightlinks(notredirectedlinks)workwiththeprecedingprocedure.Forexample,ifalink targetsa.phpscript,Operasavesthescriptonly,butnottheletowhichthescriptpoints.
6.PutthelebackbyusingtheRRUTILprocessdescribedin“UsingtheRRUTIL.EXEutility”onpage31.
Tospecifyaxeddownloaddirectory,dothefollowing:
1.GettheC:\PREBOOT\OPERA\norm1.inilebyusingtheRRUTILprocessdescribedin“Usingthe RRUTIL.EXEutility”onpage31.
2.Opentheleforediting.
3.Inthele,locatethisline:
DownloadDirectory=%OpShare%
4.Change%OpShare%tothefullpathofthedirectorytowhichyouwantdownloadedlestobesaved.
5.Savethenorm1.inile.WhentheRescueandRecoveryprogramisclosedandreopened,Opera savesdownloadedlestothespecieddirectory.
6.PutthelebackbyusingtheRRUTILprocessdescribedin“UsingtheRRUTIL.EXEutility”onpage31.
Notes:
1.Customizingthefullpathfordownloadingdoesnotenableuserstosavethetargetle,evenifthe linkisredirected.
2.ForthepurposesoftheRescueandRecoveryprogram,thenumberofrecognizedletypesislimited.If anotherletypeneedstobetransferred,createa.ziple,whichcanthenbeextracted.
3.FiletypesarerecognizedbyMIME(MultipurposeInternetMailExtensions)typeratherthanbyle extension.Forexample,ifa.txtleisnamedwith.euyasanextension,theleisstillopeninthe Operabrowserasatextle.
Addingaspecicleextensiontothedownloadableleslist
YoucanaddspecicleextensiontothelistoflesthatcanbedownloadedthroughtheRescueand Recoverybrowser.Toaddspecicleextensiontothelist,completethefollowingprocedure:
1.MakesurethatOperaisclosedandthatallOperawindowsareclosed,includingtheRescueand Recoveryhelples.
2.GettheC:\PREBOOT\OPERA\norm1.inileusingtheRRUTILprocessdescribedin“Usingthe RRUTIL.EXEutility”onpage31.
3.Opentheleforediting.
4.Locatethe[FileTypes]sectionofthele.
5.Usethesearchfunctiontondthedesiredle.Thendooneofthefollowing:
•Iftheextensionisfound,butleswiththatextensiondonotworkcorrectly,completethefollowing
steps: a.Changethevaluefollowingtheextensionfrom8to1.(Avalueof8tellsthebrowsertoignorethe
le.Avalueof1instructsthebrowsertosavethele.)Forexample,changethefollowing:
video/mgpeg=8,,,,mpeg,mpg,mpe,m2v,m1v,mpa,|
to
video/mgpeg=1,,,,mpeg,mpg,mpe,m2v,m1v,mpa,|
b.Scrolluptothe[FileTypesExtension]sectionofthenorm1.inile,andthensearchforthemime
typeofthele.Forexample,ndthefollowing:VIDEO/MPEG=,8
c.Changethe,8valuetothefollowing:
46RescueandRecovery4.23DeploymentGuide
Page 55
%opshare%\,2
Note:Ifthespeciedvalueisalreadyset,donotchangethevalue.
d.Savethele,andthencopytheletoopera6.ini,andthenrestarttheRescueandRecovery
programforthechangestobeeffective.
•Iftheextensionisnotpresentandlesofthedesiredtypedonotworkcorrectly,dothefollowing: a.Inthe[FileT ypesExtension]sectionofnorm1.ini,locatethetemporarymimeentry.Thefollowing
isanexample:temporary=1,,,,lwp,prz,mwp,mas,smc,dgm,|
b.Addtheletypeextensiontothelist.Forexample,ifyouwanttoadd.CABasarecognized
extension,additaccordingtothefollowingsampleentry:
temporary=1,,,,lwp,prz,mwp,mas,smc,dgm,cab,|
Note:Thetrailingcommaandpipesymbolareessentialforthissettingtowork.Ifeitheris
omitted,allleextensionsinthelistmightbedisabled. c.SavetheletothedirectorypathC:\TEMP\. d.Copytheletoopera6.ini. e.RestarttheRescueandRecoveryworkspaceforthechangestobeeffective.
Changingthebehaviorofleswithspecicextensions
Youcanchangethebehavioroflesbyreplacingvaluesinthenorm1.inile.Tochangelebehavior byextension,dothefollowing:
1.CloseOperaandallactiveOperawindows,includinghelples.
2.Getthepreboot\opera\norm1.inilebyusingtheRRUTILprocessdescribedin“UsingtheRRUTIL.EXE utility”onpage31
3.Opentheleforediting.
4.Locatethe[FileTypes]sectionofthele.Searchfortheextensionyouwanttoworkwith.Forexample, youwantall.txtlestobesavedtotheSWSHAREfolder.
5.Findthefollowingentry:TEXT/PLAIN=2,,,,TXT,|
.
Note:Avalueof2instructsthebrowsertodisplaythetextinOpera.Avalueof1instructsthebrowser tosavethetargetleintheSWSHAREfolder.
6.Continuingwiththe.txtexample,changethelinetoreadasfollows:
TEXT/PLAIN=1,,,,TXT,|
7.Savethele.
8.PutthelebackbyusingtheRRUTILprocessasdescribedin“UsingtheRRUTIL.EXEutility”onpage31.
9.RestarttheRescueandRecoveryworkspaceforchangestobeeffective.
AddingastaticIPaddress
ToaddastaticIPaddress,completethefollowingsteps:
1.Getthe\MININT\SYSTEM32winbom.inilebyusingtheRRUTILprocessdescribedin“Usingthe RRUTIL.EXEutility”onpage31.
2.Opentheleforediting.
3.Adda[WinPE.Net]sectionbefore[PnPDriverUpdate]inthewinbom.inile.Example:
[Factory]
WinBOMType=WinPE
Reseal=No
Chapter3.Congurations47
Page 56
[WinPE]
Restart=No
[PnPDriverUpdate]
[PnPDrivers]
[NetCards]
[UpdateInis]
[FactoryRunOnce]
[Branding]
[AppPreInstall]
YoumustaddthefollowinglinestotheWinPE.Netsection.
[WinPE.Net]
Gateway=9.44.72.1
IPCong=9 .44.72.36
StartNet=Yes
SubnetMask=255.255.255.128
4.Getthe\PREBOOT\SWWORKNETSTART.TBIlebyusingtheRRUTILprocessdescribedin“Using theRRUTIL.EXEutility”onpage31.
5.Change
factory-minint
to
factory-winpe
6.Commentoutthefollowinglines:
regsvr32/snetcfgx.dll
netcfg-v-winpe
48RescueandRecovery4.23DeploymentGuide
Page 57
netstartdhcp
netstartnla
7.PuttheNETSTART.TBIleunderthe\SWWORKdirectoryandtheSYSTEM32winbom.inileunder the\MININTdirectorybackbyusingtheRRUTILprocessdescribedin“UsingtheRRUTIL.EXEutility” onpage31.
Note:ThedefaultenvironmentsupportsonlytheDHCPenvironment.
ThefollowingtableprovidestheentryanddescriptionforIPcongurations:
Table21.StaticIPaddressentries
EntryDescription
Gateway
IPCongSpeciestheIPaddressthatWindowsPEusestoconnecttoanetwork.
StartNet
SubnetMask
SpeciestheIPaddressofanIProuter.Conguringadefaultgatewaycreatesa defaultrouteintheIProutingtable.Syntax:
Gateway=xxx.xxx.xxx.xxx
Syntax:IPCong=xxx.xxx.xxx.xxx
Specieswhethertostartnetworkingservices.Syntax:StartNet=Yes|No
Speciesa32-bitvaluethatenablestherecipientofIPpacketstodistinguish thenetworkIDandhostIDportionsoftheIPaddress.Syntax:SubnetMask=
xxx.xxx.xxx.xxx

Changingthevideoresolution

YoucanchangethevideoresolutionbychangingthedefaultPredesktopArearesolutionsettingsof800× 600×16-bit.Tochangethesettings,completethefollowingprocedures:
1.Getthe\MININT\SYSTEM32\WINBOM.INIlebyusingtheRRUTILprocessdescribedin“Usingthe RRUTIL.EXEutility”onpage31
.
2.Opentheleforediting.
3.Addthefollowingentries:
[ComputerSettings]
DisplayResolution=800x600x16or1024x768x16
WhentheRescueandRecoveryenvironmentstarts,youseeanadditionalwindowduringstartupthatis titled“Factorypreinstallation”.Thecolorsarereducedfromthousandsto256.
4.Putbackthe\MININT\SYSTEM32\WINBOM.INIlebyusingtheRRUTILprocessdescribedin“Using theRRUTIL.EXEutility”onpage31
.

Startupapplications

TheRescueandRecoveryWindowsPEenvironmentsupportsstartupscripts,programs,andcustomized programs.ThesescriptsorprogramswillbeprocessedbeforetheRescueandRecoveryWindowsPE environmentreachesthemainPEinterfacepage.
Thedirectorytoplacethescriptsorprogramsis\Preboot\Startup.Scriptsorprogramsinthisdirectoryare processedalphanumerically.Forexample,ascriptcalleda.batwouldbeprocessedbefore1.exe.
Chapter3.Congurations49
Page 58
Toplaceascriptorprograminthisdirectory,completethefollowingsteps:
1.GettheRRUTILfromtheLenovoRescueandRecoveryAdministrationT oolssiteat: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN-ADMIN#rnr
2.CreateaTempdirectory.
3.Inthe\Tempdirectory,createthefollowingdirectorytree:
\preboot\startup
4.Putthescriptorprogramintothe\Temp\preboot\startuppath.
5.Fromacommandline,typeinRRUTIL–p\Temp.
6.T overifythatthescriptorprogramwascopiedsuccessfully,typeinRRUTIL–gfromacommand line.Thiswillgeneratealenamedgetlist.txt.
7.Examinethecontentsofgetlist.txtforthe\preboot\startupdirectory.Thescriptorprogramshouldbe listedunderthistree.

Passwords

ThefollowingarefourpasswordoptionsavailableinthePredesktopArea:
•PredesktopAreaorMasterpassword
•UserIDandpasswordorpassphrase
•Backuppassword
•Nopassword
PredesktopAreaormasterpassword
ThePredesktopAreapasswordormasterpasswordisasinglepasswordthatallowsyouaccesstothe PredesktopAreaandbackups.Thisissetbyusingthecommandlineinterface,andistheonlypassword optionifonlytheRescueandRecovery4.23programisinstalledonthesystem.
YoucancreatethePredesktopAreapasswordormasterpasswordbyusingthefollowingcommand: C:\ProgramFiles\Lenovo\RescueandRecovery\pe_masterpw_app.exe.Thefollowingtableprovides availableparametersforthiscommand:
Table22.
ParameterDescription
pe_masterpw_app.exe-create
pe_masterpw_app.exe-verifyVeriesthatthepasswordisvalidandthatitcanbeused.
pe_masterpw_app.exe-remove
pe_masterpw_app.exe-exists
pe_masterpw_app.exe-silentHidesallthemessages.
Createstheactualpassword.
Removesthepassword.
Checkstoseeifthepasswordexists.
UserIDandpasswordorpassphrase
ThisoptionusestheClientSecuritySolutioncodeforpasswordorpassphrasemanagement.TheClient SecuritySolutionGINAwillprompttheuserforthispasswordorpassphraseonstartupofthePredesktop Area.Thisprovidesbettersecurityforamulti-userenvironment.IfauserlogsonusingtheGINA,thatuseris allowedaccesstothatuser'slesonly,andnooneelse’s.
ThisoptioncanbesetthroughthecommandlineinterfaceortheGUI.
50RescueandRecovery4.23DeploymentGuide
Page 59
Backuppassword
ThebackuppasswordcanbesetthroughtheRescueandRecoverygraphicaluserinterfaceortheRescue andRecoverycommand-lineinterface(RRCMD)withspeciedparameters.Oncethepasswordisset,itwill beusedtoprotectallbackupsunlessthepasswordisdisabledorchanged.
Youcanset,change,disable,orenableabackuppasswordaccordingtothefollowingexamples.
UsingtheRescueandRecoverygraphicaluserinterfaceThepasswordcanbesetthroughtheSet scheduleandpreferencesoption.
–SettinganewpasswordSelecttheProtectyourbackupswithapasswordcheckboxandtype
yourpassword.
–ChangingthepasswordClickSetPasswordandtypeboththeoldandnewpasswords.
–DisablingthepasswordCleartheProtectyourbackupswithapasswordcheckbox.Thebackup
passwordwillbedisabledandallfuturebackupdatawillhavenopasswordprotected.
Note:Ifyouhaveoldbackupsthatweremadewithapreviouspassword,youwillstillberequiredto typethepreviousbackuppasswordinthePDAwhenrestoringthosebackups.Whennewbackups havebeencreatedtomergealloldbackups,thebackuppasswordwillnolongerberequiredfor restoringincrementalbackups.However,becausethebasebackupispasswordprotected,restoring thebasebackupwillstillrequirethepreviouspassword.
–EnablingthepasswordSelecttheProtectyourbackupswithapasswordcheckbox.Theprevious
passwordwillremainvalidifnonewpasswordisset.
UsingtheRRCMDcommand-lineinterfaceAllcommandsrelatedtobackuppasswordsettingare providedbelow.
–SettinganewpasswordY oucancreateapasswordusingthefollowingsyntax:
rrcmdcreatepasswordpassword=xxx
xxxisthepasswordyousetforthebackup.
Youcanalsosetthebackuppasswordfollowingabackupoperation.Thebackup,basebackup,and sysprepbackupoptionsinthefollowingsyntaxsupportusingthepasswordparametertocreatea backuppassword,forexample:
rrcmd[backup|basebackup|sysprepbackup]location=Lname=mybackuppassword=xxx
xxxisthepasswordyousetforthebackup.
Note:Thebackuppasswordinformationwillbecreatedafteryouperformthecommandsabove andyouwillusethispasswordforfuturebackups.Onceabackuppasswordiscreated,the abovepassword=xxxcommandcannotbeused.Thecommandchangepassword=xxxmustbeused subsequently.
–ChangingthepasswordY oucanchangetheoldpasswordtoanewpasswordusingthefollowing
syntax:
rrcmdchangepasswordpassword=xxxnew_password=yyy
xxxistheoldpassword,andyyyisthenewpasswordyousetforthebackup.
–DisablingthepasswordYoucandisablethebackuppasswordfrombeingusedinfuturebackups
usingthefollowingsyntax:
rrcmddisablepasswordpassword=xxx
Chapter3.Congurations51
Page 60
–EnablingthepasswordCurrentlynoparameterintheRRCMDcanbeusedtoenablethebackup
password.T oenablethebackuppassword,youneedtousetheRescueandRecoveryadvanced graphicaluserinterfacebyselectingtheProtectyourbackupswithapasswordcheckboxorusing GroupPolicy.
Nopassword
ThisoptionusesnoauthenticationandallowstheusertoenterthePredesktopAreawithoutusinga password.
Logles
Herearelogleslocatedinthec:\swsharedirectory:
•Engine.logLogsallfunctionsbytheengineandthemainbackupservice.
•rr.logLogsfunctionsbythemainRescueandRecoveryGUIinterface.
•Restore.logLogsrestoreoperationslikefullrestore,rejuvenate,andsinglelerestoreoperations.
•tvtsched.logLogfortheschedulerservicethatcallsRescueandRecoveryandInvAgent.
•Rescue.logLogforantidote,specicallyforthemailman.exefunction.
52RescueandRecovery4.23DeploymentGuide
Page 61

Chapter4.Rejuvenationandmigration

AspartoftheRescueandRecoveryprogram,rejuvenationandmigrationtoolsareutilizedtohelpyou rejuvenateandmigrateyourdataandsettings.MigrationmethodsaremanagedwithSystemMigration Assistant.ForadditionalinformationaboutSystemMigrationAssistant,seethedeploymentguideorthe usersguideat:http://www.lenovo.com/supportT oassistyouwithrejuvenationandmigration,thischapter providesthefollowinginformation:
“Creatingacommandle”onpage53
“Filecommands”onpage53
“File-migrationcommands”onpage57
“Examplesofle-migrationcommands”onpage60
“Migratingadditionalapplicationsettings”onpage62
Creatingacommandle
Duringthecapturephase,SystemMigrationAssistantreadsthecontentsofthecommandleandarchives settings.Thissectioncontainsinformationaboutcommandlesandthestatementsthattheycancontain.
SystemMigrationAssistantprovidesadefaultcommandle(command.xml),thatyoucanuseasatemplate tocreateacustomizedcommandle.IfyouinstalledSystemMigrationAssistantinthedefaultlocation,this leislocatedinthec:\%RR%\migration\bindirectory.
Note:XMLtechnologyisusedtodescribecommandlecommands.
Considerthefollowingpointsconcerningcommandles:
•XMLCommandlemustbesavedinUnicode(UTF-16)format.
•ThecommandlefollowsXMLversion1.0syntax,andiscase-sensitive.
•Eachcommandandparametersectionmuststartwith<TagName>andendwith</TagName>,and itsvaluemustbedescribedbetweenthosetags.
•SyntaxerrorsmightcauseanerrorwhenyourunSystemMigrationAssistant.IfSystemMigration Assistantencountersanerror,itwritestheerrortothelogleandcontinuestheoperation.Dependingon theseverityoftheerror,theendresultsmaybecorrupted.

Filecommands

Thefollowingtablecontainsinformationaboutthecommands,withtheexceptionofthoseconcerningle migrationortheregistry,thatcanbeusedinacommandle:
©CopyrightLenovo2008,2010
53
Page 62
Table23.
CommandParametersParameterValuesandExamples
<Desktop>•<accessibility>
<Network>
•<active_desktop>
•<colors>
•<desktop_icons>
•<display>
•<icon_metrics>
•<keyboard>
•<mouse>
•<pattern>
•<screen_saver>
•<sento_menu>
•<shell>
•<sound>
•<start_menu>
•<taskbar>
•<wallpaper>
•<window_metrics>
•<desktop_settings>
•<time_zone>
•<ip_subnet_gateway_conguration>
•<dns_conguration>
•<wins_conguration>
•<computer_name>
•<computer_description>
•<domain_workgroup>
•<mapped_drives>
•<shared_folders_drives>
•<dialup_networking>
•<odbc_datasources>
Toselectadesktopsetting,settheparameter toTrue.Otherwise,settheparametertoFalse orleaveitunspecied.
Forexample:
<Desktop>
<colors>
true </colors> <desktop_icons>
true </desktop_icons> <screen_saver>
true </screen_saver> <start_menu>
false </start_menu> <time_zone>
true </time_zone>
</Desktop>
Toselectadesktopsetting,settheparameter toTrue.Otherwise,settheparametertoFalse orleaveitunspecied.
Forexample:
<Network>
<computer_name>
true <computer_name> <mapped_drives>
false </mapped_drives>
</Network>
54RescueandRecovery4.23DeploymentGuide
Page 63
Table23.(continued)
CommandParametersParameterValuesandExamples
<Applications><Application>
Forexample:T ocaptureallapplications
supported,set$(all). Foralistofalltheapplicationsthatare supported,seetheThinkVantageSystem MigrationAssistantUser'sGuidelocatedat:
http://www.lenovo.com/thinkvantage
<Applications>
<Application>
LotusNotes </Application> <Application>
Microsof tOfce </Application>
</Applications>
or
<Applications>
<Application>
$(all) </Application> </Applications>
<Registries>•<Registry>
•<hive>
•<keyname>
•<value>
<IncUsers><UserName>
<ExcUsers><UserName>
Tocaptureorapplytheregistrysettings, specifythehive,keynameandvalueasthe parametersinthecommandle.Forexample: <HKEY_CURRENT_USER><Control Panel><Colors><MenuBar><236.233.218>.
Tocapturealluserproles,set$(all)oruse*\* asawildcardforallusers.Otherwise,specify usersindividually.
Thefollowingwildcardsareavailable.
•*\*foravariablelengthwildcard
•%foraxedlengthwildcard(1character)
Forexample:
<IncUsers>
<UserName>
Administrator </UserName> <UserName>
domain\Kelli </UserName>
</IncUsers>
Toexcludeusersfromthemigrationprocess, specifythedomainandusernameoftheuser.
Thefollowingwildcardsareavailable.
•*foravariablelengthwildcard
•%foraxedlengthwildcard(1character)
Chapter4.Rejuvenationandmigration55
Page 64
Table23.(continued)
CommandParametersParameterValuesandExamples
<Printers><Printer>
<PrinterName>
Thiscontrolstatementiseffectiveforboththe sourceandthetargetcomputer.
Tocaptureallprinters,settheparameter to$(all).Specifyeachprinterindividually tocapturethedefaultprinteronly.Setthe parameterto$(DefaultPrinter).
Forexample:
<Printers>
<Printer> $(all)
</Printer>
</Printers>
or
<Printers>
<Printer>
<PrinterName>
Lenovo5589-L36
</PrinterName>
</Printer>
</Printers>
or
<Printers>
<Printer> $(Def aultPrinter)
</Printer>
</Printers>
<MISC>
<bypass_registry>Todeselectallregistrysettings,settoT rue.
Otherwise,settoFalseorleaveitunspecied.
<overwriteexistingles>Tooverwriteexistingles,settoTrue.
Otherwise,settoFalseorleaveitunspecied.
<log_le_location>Tospecifythedirectorytowhereloglesare
written,enterafullyqualieddirectoryname. Youcanspecifyashareddirectoryonanother system.
Ifyoudonotsetthisparameter,thelogles writetoc:/InstDir/,wherecisthedriveletterof theharddiskdriveand/InstDir/isthedirectory wheretheapplicationsareinstalled.
56RescueandRecovery4.23DeploymentGuide
Page 65
Table23.(continued)
CommandParametersParameterValuesandExamples
<temp_le_location>Tospecifythedirectorytowheretemporary
lesarewritten,enterafullyqualieddirectory name.Youcanspecifyashareddirectoryon anothersystem.
Ifyoudonotsetthisparameter,temporary lesarewrittentoc:/InstDir/etc/data,where cisthedriveletteroftheharddiskdriveand /InstDir/isthedirectorywheretheapplications areinstalled.
<resolve_icon_links>Tocopyonlythoseiconsthathaveactive
links,settoT rue.Otherwise,settheparameter toFalseorleaveitunspecied.

File-migrationcommands

SystemMigrationAssistantprocessesle-migrationcommandsinthefollowingorder:leinclusion commandsareperformedrst,thenleexclusioncommandsareperformedfromtheinclusionles.
SystemMigrationAssistantselectsanddeselectslesonthebasisoftheoriginallocationoflesandfolders onthesourcecomputer.Fileredirectionstatementsarestoredintheproleandareinterpretedduringthe applyphase.Filemigrationisrecursiveintosub-directories.
Theprocessingofleanddirectorynamesisnotcasesensitive.
Thefollowingtablecontainsinformationaboutthele-migrationcommands.Alllemigrationcommands areoptional.
Table24.
CommandParameterDescriptionExample
<FilesAndFolders>
<Exclude_drives><Drive>
<run>
Startstheprocessofa command.The</run> parameterendstheprocess ofacommand.
Speciesthedriveletterto excludedrivesfrombeing scanned.
Tocaptureorapplylemigration,set theparametertoTrue.Otherwise, settheparametertoFalseorleave itunspecied.
Forexample:
<FilesAndF olders> <run>true</run> </FilesAndF olders>
Forexample:
<ExcludeDrives> <Drive>D</Drive> <Drive>E</Drive> </ExcludeDrive>
Chapter4.Rejuvenationandmigration57
Page 66
Table24.(continued)
CommandParameterDescriptionExample
<Inclusions><IncDescription>
<Description>
<DateCompare>
<Operand>
<Date>
•<Description>isthe fully-qualiedlename. Youcanusewildcard characterforboth lenameandfolder name.
•<DateCompare>isan optionalparameterthat youcanusetoselect lesbasedonthedate whentheywerecreated.
–<Operand>iseither
NEWERorOLDER.
–<Date>isthebaseline
dateinmm/dd/yyyy format.
Tosearchformatchinglesinthe specieddirectories.
Forexample:
Example1
<Inclusions> <IncDescription> <Description> c:\MyWorkFolder\ls </Description> </IncDescription> </Inclusions>
Note:Tospecifythefoldername, add.\.attheendofthedescription.
58RescueandRecovery4.23DeploymentGuide
Page 67
Table24.(continued)
CommandParameterDescriptionExample
<Inclusions>
<SizeCompare>
•<SizeCompare>isthe
optionalparameterto
<Operand>
selectlesbasedon theirsize.
<Size>
<Dest>
<Operation>
–<Operand>is
eitherLARGERor SMALLER.
–<Size>isthelesize
inMB.
where
•<Dest>isanoptional
parameterthatspecies thenameofthe destinationfolderon thetargetsystemwhere theleswillbewritten.
•<Operation>isan
optionalparameter thatspecieshowthe lepathistobehandled. Specifyeitherofthe following:
–P-preservesthe
pathoftheleand recreatestheleon thetargetsystem startingatthelocation speciedbythe <Dest>parameter.
–R-removesthepath
oftheleandplaces theledirectlyinthe locationspeciedby the<Dest>parameter.
Note:IfthePorR commandisnotused inthe<Operation> tag,thedefaultisto leavethe<Operation> empty,forexample, <Operation></Operation>.
Example2
<Inclusions> <IncDescription> <Descriptin> C:\MyWorkFolder\*.* </Decsription> <DateCompare> <Operand> NEWER </Operand> <Date>07/31/2005</Date> </DateCompare> </IncDescription> </Inclusions>
Example3
<Inclusions> <IncDescription> <Description> C:\MyWorkFolder/*.* </Description> <SizeCompare> <Operand> SMALLER </Operand> <Size>200</Size> </SizeCompare> </IncDescription> </Inclusions>
Example4
<Inclusions> <IncDescription> <Description> C:\MyWorkFolder\*.* </Description> <Dest> D:\MyNewWorkFolder </Dest> <Operation> </Operation> <IncDescription> </Inclusions>
Chapter4.Rejuvenationandmigration59
Page 68
Table24.(continued)
CommandParameterDescriptionExample
<Exclusions><ExcDescription>
<Description>
<DateCompare>
<Operand>
<Date>
<SizeCompare>
<Operand>
<Size>
where
•<Source>isafully qualiedlenameor foldername.Youcanuse thewildcardcharacter forbothlenameand foldername.
•<DateCompare>isan optionalcommandthat youcanusetoselect lesbasedonthedate whentheywerecreated.
–<Operand>iseither
NEWERorOLDER.
–<Date>isthebaseline
dateinmm/dd/yyyy format.
•<SizeCompare>Optional parametertoselectles basedontheirsize.
–<Operand>is
eitherLARGERor SMALLER.
–<Size>isthelesize
inMB.
Todeselectallmatchinglesina specieddirectory
Forexample:
Example1
<Exclusions> <ExcDescription> <Description> C:\YourWorkFolder </Description> </ExDescription> </Exclusions>
Example2
<Exclusions> <ExcDescription> <Description> C:\YourWorkFolder </Description> <DateCompare> <Operand> OLDER </Operand> <Date>07/31/2005</Date> </DateCompare> </ExcDescription> </Exclusions>
Example3
<Exclusions> <ExcDescription> <Description> C:\YourWorkFolder </Description> <SizeCompare> <Operand> LARGER </Operand> <Size>200 </Size> </SizeCompare> </ExcDescription> </Exclusions>
Examplesofle-migrationcommands
Thissectioncontainsexamplesofle-migrationcommands.Theseexamplesdemonstratehowtocombine le-inclusionandle-exclusioncommandstoreneyourleselection.Onlythele-handlingsectionsof thecommandleareshown.
60RescueandRecovery4.23DeploymentGuide
Page 69
Selectinglesduringthecapturephase
Thissectioncontainsthreeexamplesofcodeusedtoselectlesduringthecapturephase.
Example1
Thefollowingcodeexampleselectsallleswitha.docextension(MicrosoftWorddocuments)andrelocates theminthe"d:\MyDocuments"directory.Itthenexcludesalllesthatareinthed:\No_Longer_Used directory.
<Inclusions> <IncDescription> <Description>*:\*.doc/s</Description> <Dest>d:\MyDocuments</Dest> <Operation>r</Operation> </IncDescription> </Inclusions> <Exclusions> <ExcDescription> <Description>d:\No_Longer_Used\</Description> </ExcDescription> </Exclusions>
Example2
Thefollowingcodeexampleselectsthecontentsofthedrive,excludingallleslocatedintherootofthed driveandallleswitha.tmpextension.
<Inclusions> <IncDescription> <Description<d:\*.*/s<\Description> </IncDescription> </Inclusions> <Exclusions> <ExcDescription> <Description>d:\*.*</Description> </ExcDescription> <ExcDescription> <Description>*:\*.tmp/s</Description> </ExcDescription> </Exclusions>
Example3
Thefollowingcodeexampleselectstheentirecontentsofthecdrive,excludingallleslocatedinthe directory:%windir%.The%windir%directoryspeciestheWindowsdirectory.
<Inclusions> <IncDescription>C:\*.*/s</Description> </Inclusion> <Exclusions> <ExcDescription> <Description>/Description> </ExcDescription> </Exclusions>
Chapter4.Rejuvenationandmigration61
Page 70
Example4
Thefollowingcodeexampleselectstheentirecontentsofthe%USERPROFILE%folderthatistheUser ProlePathofthecurrentlogonuser,excludingallleswitha.datextensionandtheLocalSettingssubfolder.
<Inclusions> <IncDescription> <Description>/Description> </IncDescription> </Inclusions> <Exclusions>

Migratingadditionalapplicationsettings

Tocreatecustomapplicationles,youmusthaveathoroughknowledgeoftheapplication,includingthe storagelocationsofcustomizedsettings.Bydefault,SystemMigrationAssistantispre-conguredto migratesettingsforseveralapplications.Y oucanalsocreateacustomapplicationletomigratesettings foradditionalapplications.Thislemustbenamedapplication.xmlorapplication.smaappandlocatedin thec:\%RR%\Migration\bin\Apps,whereAppsspeciestheapplicationandcisthedriveletterofthe harddiskdrive.Priorityisgiventotheapplication.smaapplewhenboththeapplication.smaappleand application.xmlcustomapplicationsleofthesameapplicationexist.
Tosupportanewapplication,youcancopyanexistingapplicationleandmakethenecessarychanges. Forexample,Microsoft_Access.xmlisanexistingapplicationle.
Considerthefollowingpointsaboutapplicationles:
•application.xml
–Bydefault,onlyapplication.xmlexists.
–The<tag>enclosedwith"<!--"and"-->"istreatedascomments.Forexample:
<!–Files_From_Folders> <!-Files_From_Folder>%AppDataDirectory%\Adobe\Acrobat\Whapi\*.*/s </Files_From_Folder>
<Files_From_Folder>%PersonalDirectory/Files_from_Folder>
</Files_From_folders–>
–Eachcommandmustbedescribedinaseparatesection.
–Eachsectionbeginswithacommandenclosedbytags,forexample,<AppInfo>or<Install_Directories>.
Youcanenteroneormoreeldsinasection;eacheldmustbeonaseparateline.
–Iftheapplicationlecontainssyntaxerrors,theoperationcontinuesandwritestheerrorstothelogle.
Thefollowingtableshowsinformationaboutapplicationles:
Table25.
SectionCommandValueWhatitdoes
<Applications>
62RescueandRecovery4.23DeploymentGuide
Page 71
Table25.(continued)
SectionCommandValueWhatitdoes
<Family>Atextstring.
Leadingspaces areignored;do notenclosethe textstringin quotationmarks.
Speciesthenon-version-specicnameoftheapplication. Whenyouruninbatchmode,youusethisstringinthe applicationssectionofthecommandle.
Forexample:
<Family>AdobeAcrobatReader</F amily>
<SMA_Version>
Anumericvalue.
SpeciestheSystemMigrationAssistantversionnumber.
Forexample,
<SMA_Version>SMA5.0</SMA_Version>
<App>
ShortName where
Speciesaversion-specicshortnameforoneormore
applications. ShortNameisa version-specic
Forexample, shortnameforan application.
<APP>Acrobat_Reader_50</APP>
<ApplicationShortName=ShortName>whereShortNameistheshortnameforanapplicationthatyouspeciedin theApplicationssection.
<Name>Atextstring
<Version>Anumericvalue
Speciesthenameoftheapplication.
Speciestheversionoftheapplication.
Chapter4.Rejuvenationandmigration63
Page 72
Table25.(continued)
SectionCommandValueWhatitdoes
<Detects>
<Detect>
<Install_Directories>
Forexample:
<Install_Directories> <Install_Directory> <OS>WinXP</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\5.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory> <Install_Directory> <OS>Win2000</OS> <Registry> <hive>HKLM</hive> <keyname>Software\adobe\AcrobatReader\5.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory> </Install_Directories>
Root, PathAndKey
Speciesaregistrykey.SystemMigrationAssistantdetectsan applicationbysearchingforthespeciedregistrykey.
Forexample,
<Detects> <Detect> <hive>HKLM</hive> <keyname> Software\Adobe\AcrobatReader\5.0\ </keyname> </Detect> </Detects>
<OS>
<Registry>hiveiseitherHKLM
Atextstring
orHKCU.
keynameisthe keyname.
valueisanoptional commandthat speciesthe registryvaluethat ismigrated.
64RescueandRecovery4.23DeploymentGuide
Speciestheoperatingsystem,andcanbeoneofthefollowing:
•WindowsVista
•WindowsXP
•Windows2000
•WindowsNT
•Windows98
Speciestheinstallationdirectoryasitappearsintheregistry.
Page 73
Table25.(continued)
SMAVariable\Location[|File][/s]
Speciesthecustomizationlesthatyouwanttomigrate.
where
•SMAvariableisoneofthefollowing variablesthatspecifythelocationofthe customizationles:
–%WindowsDirectory%(locationof
operating-systemles)
–%InstallDirectory%(locationof
theapplicationasdenedinthe Install_Directoriessection)
–%AppdataDirectory%(theApplication
Datadirectory,whichisasubdirectoryof theuserproledirectory)
–%LocalAppdataDirectory%(the
ApplicationDatadirectoryintheLocal Settingsfolder,whichisasubdirectory oftheuserproledirectory)
–%CookiesDirectory%(theCookies
directory,whichisasubdirectoryofthe userproledirectory)
–%FavoritesDirectory%(theFavorites
directory,whichisasubdirectoryofthe userproledirectory)
–%PersonalDirectory%(thePersonal
directory,whichisasubdirectory(My Documents)oftheuserproledirectory. Thisenvironmentvariablecannotbe usedbyWindowsNT4.)
Forexample:
<Files_From_Folder> %AppDataDirectory%\Adobe\Acrobat\Whapi </Files_And_F olders>
SystemMigrationAssistantcapturesthelesin%AppData Directory%\Adobe\Acrobat\Whapifolder.Thelesinthe subdirectoriesarenotincluded.
<Files_From_Folder> %AppDataDirectory%\Adobe\Acrobat\Whapi\/s </Files_From_Folder>
SystemMigrationAssistantcapturesthelesin%AppData Directory%\Adobe\Acrobat\Whapifolder.Thelesinthe subdirectoriesareincluded.
<Files_From_Folder> %AppDataDirectory%\Adobe\Acrobat\Whapi\*.* </Files_From_Folder>
SystemMigrationAssistantcapturesthelesin%AppData Directory%\Adobe\Acrobat\Whapifolder.Thelesinthe subdirectoriesarenotincluded.
<Files_From_Folder> %AppDataDirectory%\Adobe\Acrobat\Whapi\*.*/s </Files_From_Folder>
SystemMigrationAssistantcapturesthelesin%AppData Directory%\Adobe\Acrobat\Whapifolder.Thelesinthe subdirectoriesareincluded.
<Files_From_Folder> %AppDataDirectory%\Adobe\Acrobat\Whapi </Files_From_Folder>
When"\"doesnotfollow"Whapi",SystemMigrationAssistanttreats "Whapi"notasafolderbutasale.
Chapter4.Rejuvenationandmigration65
Page 74
Table25.(continued)
•Locationspeciesafullyqualiedleor directory.Youcanusewildcardcharacters inthelenamebutnotthepath.Ifyou specifyadirectory,alllesarecopied.
•[File]isanoptionalparameterthatcanbe usedonlyifLocationspeciesadirectory, andFileistheletobecopied.Youcan usewildcardcharactersinthelenamebut notthepath.
•[/s]isanoptionalparameter.Ifyouuse[/s], alllesinsubdirectoriesarecopied.
•SMA5.0usercanuseWindowsenvironment variable.Theenvironmentvariableofthe userwhostartedSMAisusedasthevalue ofaWindowsenvironmentvariable.
<Registries>
Optional
hiveiseitherHKLMorHKCU.
Speciestheregistryentriesthatyouwanttomigrate.
keynameisthekeyname.Valueisanoptional commandthatspeciestheregistryvaluethat ismigrated.
<Registry_Excludes>
Optional
hiveiseitherHKLMorHKCU.
keynameisthekeyname.Valueisanoptional commandthatspeciestheregistryvaluethat ismigrated.
Forexample:
<Registries> <Registry> <hive>HKCU</hive> <keyname> Software\Adobe\Acrobat </keyname> <value></value> </Registry> </Registries>
Speciesregistrykeysandvaluesthatyouwanttoexcludefromthe selectedregistryentries.
Forexample:
<Registry_Excludes> <Registry> <hive>HKCU</hive> <keyname> Software\Adobe\AcrobatReader\5.0\AdobeViewer </keyname> <value>xRes</value> </Registry> </Registry_Excludes>
<Files_Through_Registry>
66RescueandRecovery4.23DeploymentGuide
Page 75
Table25.(continued)
<OS>
Speciescustomizationlestobemigrated
speciestheoperatingsystemandisoneof thefollowingvalues:
•WindowsVista
•WinXP
•Win2000
•WinNT
•Win98
<Registry>speciestheregistryentryandis intheformathive,keyname,value,where:
•hiveiseitherHKLMorHKCU.
•keynameisthekeyname.
•valueisanoptionalcommandthatspecies
theregistryvaluetheismigrated.Fileisthe lename.Y oucanusewildcardcharacters.
Fileisthelename.Y oucanusewildcard characters.
<Files_From_Folders>
Optional
<PreT argetBatchProcessing>
<PreTargetBatchProcessing> <!CDAT[batchcommands]] <PreTargetBatchProcessing>
Forexample:
<Files_Through_Registries> <Files_Through_Registry> <OS>WinXP</OS> <Registry> <hive>HKCU</hive> <keyname> Software\Lotus\Organizer\99 .0\Paths </keyname> <value>Backup</value> </Registry> <File>*.*/s</File> </Files_Through_Registry> </Files_Through_Registries>
<PreT argetBatchProcessing>performsBatchprocessingbefore <Registries>processingbyApply.
Forexample:
<PreTargetBatchProcessing> <!CDATA[copy/yc:\temp\*.*c:\migration delc:\migration\*.mp3 </PreTargetBatchProcessing>
<TargetBatchProcessing>
<TargetBatchProcessing> <!CDAT[batchcommands]] <TargetBatchProcessing>
<TargetBatchProcessing>performsBatchprocessingafter <Registries>processingbyApply.
Forexample:
<TargetBatchProcessing> <!CDATA[copy/yc:\temp\*.*c:\migration delc:\migration\*.mp3 <TargetBatchProcessing>
Creatinganapplicationle
Todeterminewhichapplicationsettingsmustbemigratedforcustomapplicationles,youmustcarefully testtheapplications.
Completethefollowingstepstocreateanapplicationle:
Chapter4.Rejuvenationandmigration67
Page 76
1.UseatexteditorthatcanhandleUnicodetoopenanexistingapplication.xmlle.IfyouinstalledSMAin thedefaultlocation,theapplication.xmllesarelocatedinthec:\%RR%\Migration\bin\Appsdirectory, wheredisthedriveletteroftheharddiskdrive.
2.Modifythisapplication.xmllefortheapplicationandapplicationssettingsthatyouwanttomigrate.
3.Modifytheinformationinthe<Applications>section.
4.Modifythe<Name>and<Verison>commandsinthe<ApplicationShortname=Shortname>section.
5.Determinetheregistrykeysthatmustbemigrated:
a.ClickStart,andthenclickRun.TheRunwindowopens.IntheOpeneld,typeregeditandclick
OK.TheRegistryEditorwindowopens.
b.Intheleftpane,expandtheHKEY_LOCAL_MACHINEnode.
c.ExpandtheSoftwarenode.
d.Expandthevendor-specicnode,forexample,Adobe.
e.Continuenavigatinguntilyouhavelocatedtheregistrykeyfortheapplication.Inthisexample,the
registrykeyisSOFTWARE\Adobe\AcrobatReader\6.0.
f.SetthevalueoftheDetecteld.Forexample:
<Detects> <Detect <hive>HKLM</hive> <keyname>Software\Adobe|acrobatReader\6.0<keyname> </Detect </Detects
6.ModifythenameandversioncommandsintheInstall_Directoriessection.
7.Determinethepathtotheinstallationdirectoriesfortheapplication.
a.FromtheRegistryEditorwindow,navigatetotheHKLM\SOFTWARE\Adobe\Acrobat
Reader\6.0\InstallPathnode.
b.AddtheappropriatecommandtotheInstall_Directoriessectionoftheapplicationle.Forexample:
<Install_Directory> <OS>WinXP</OS> <Registry> <hive>HKLM</hive <keyname>Software\Adobe\AcrobatReader\6.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory>
Note:Ifyoudonotndanapplication-specicdirectoryinthe HKLM\Software\Microsoft\Windows\CurrentVersion\AppPathsdirectory,youmustlocateadirectory thatcontainstheinstallationpathelsewhereintheHKLM\Softwaretree.Then,usethatkeyin the<Install_Directories>section
8.Inthe<Files_FromFolders>section,specifythecustomizationlesyouwanttomigrate.
a.SincemanyapplicationsbydefaultsavelesintheDocumentsandsettingssubdirectory,checkthe
Applicationdatadirectoryfordirectoriesthatpertaintotheapplication.Ifoneexists,youcanusethe followingcommandtomigratethedirectoryandles:
<Files_From_Folder>SMAvariable\Location\[File][/s]</Files_From_Folder>
68RescueandRecovery4.23DeploymentGuide
Page 77
whereLocation\isafullyqualiedleordirectory,and[File]isanoptionalparameterthatcan beusedonlyifLocation\speciesadirectory.IntheAdobeReaderexample,thecustomization lesareinthePreferencesdirectory.
b.Checkallrelateddirectoriesforpersonalsettingsthatmightbestoredthere.
c.ChecktheLocalSettingsdirectory.
9.Determineregistryentriesthatyouwanttomigrate.TheywillbeinHKCU(HKEY_CURRENT_USER).In the<Registries>sectionoftheapplicationle,addtheappropriatecommands.
10.Savetheapplication.xmlleinthec:\programles\lenovo\SystemMigrationAssistant\Migration\bin\apps directory,wherecisthedriveletteroftheharddiskdrive.
11.T estthenewapplicationle.
Exampleofanapplication.xmlleforAdobeReader
ThissectioncontainsanapplicationleforAdobeReader.
<?xmlversion="1.0"?> <Applications> <Family>AdobeAcrobatReader</Family> <SMA_Version>SMA5.0</SMA_Version> <APP>Acrobat_Reader_70</APP> <APP>Acrobat_Reader_60</APP> <APP>Acrobat_Reader_50</APP> <ApplicationShortName="Acrobat_Reader_50"> <AppInf o> <Name>Acrobat_Reader_50</Name> <Version>5.0</Version> <Detects> <Detect> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\5.0</keyanme> </Detect> </Detects> </AppInf o>
<Install_Directories> <Install_Directory> <OS>WinXP</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\5.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory>
<Install_Direcotry> <OS>Win2000</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\5.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory>
<Install_Directory> <OS>Win98</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\5.0\InstallPath<keyname> <value>(Default)</value> </Registry> </Install_Directory>
Chapter4.Rejuvenationandmigration69
Page 78
<Install_Directory> <OS>WinNT</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\5.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory> </Install_Directories>
<Files_From_Folders> <Files_From_Folder>%AppDataDirectory%\Adobe\Acrobat\Whapi\*.*/s </Files_From_Folder> <Files_From_Folder>%PersonalDirectory%\*.pdf </Files_From_Folder> </Files_From_Folders> <Files_Through_Registries> </Files_Through_Registries>
<Registries> <Registry> <hive>HKCU</hive> <keyname>Software\Adobe\Acrobat</keyname> </Registry> <Registry> <hive>HKCU</hive> <keyname>Software\Adobe\AcrobatReader</keyname> </Registry>
<Registry> <hive>HKCU</hive> <keyname>Software\Adobe\PersistentData</keyname> </Registry> </Registries>
<Registry_Excludes> <Registry> <hive>HKCU</hive> <keyname>Software\Adobe\AcrobatReader\5.0\AdobeViewer</keyname> <value>xRes</value></Registry>
<Registry> <hive>HKCU</hive> <keyname>Software\Adobe\AcrobatReader\5.0\Adobe\Viewer</keyname> <value>yRes</value> </Registry>
<Registry_Excludes> <SourceBatchProcessing> </SourceBatchProcessing>
<PreTargetBatchProcessing> </PreTargetBatchProcessing>
<TargetBatchProcessing> </TargetBatchProcessing> </Application>
<ApplicationShortName="Acrobat_Reader_6.0"> <AppInf o> <Name>AdobeAcrobatReadr6.0<\Name> <Version>6.0</Version> <Detects> <Detect> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\6.0</keyname>
70RescueandRecovery4.23DeploymentGuide
Page 79
</Detect> </Detects> <\AppInf o>
<Install_Directories> <Install_Directory> <OS>WinXP</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\6.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory>
<Install_Directory> <OS>Win2000</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\6.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory>
<Install_Directory> <OS>Win98</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\6.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory>
<Install_Directory> <OS>WinNT</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\6.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory> </Install_Directories>
<Files_From_Folders> <Files_From_Folder>%AppDataDirectory%\Adobe\Acrobat\6.0\*.*/s </Files_From_Folder> <Files_From_Folder>%PersonalDirectory%\*.pdf </Files_From_Folder> </Files_From_Folders> <Files_Trough_Registries> </Files_Trough_Registries>
<Registries> <Registry> <hive>HKCU</hive> <keyname>Software\Adobe\Acrobat</keyname> </Registry>
<Registry> <hive>HKCU</hive> <keyname>Software\Adobe\AcrobatReader</keyname> </Registry> </Registries>
<Registry_Excludes> <Registry> <hive>HKCU</hive> <keyname>Software\Adobe\AcrobatReader\6.0\AdobeViewer</keyname>
Chapter4.Rejuvenationandmigration71
Page 80
<value>xRes</value> </Registry>
<Registry> <hive>HKCU</hive> <keyname>Software\Adobe\AcrobatReader\6.0\Adobe\Viewer</keyname> <value>yRes</value> </Registry>
<Registry_Excludes>
<SourceBatchProcessing> </SourceBatchProcessing>
<PreTargetBatchProcessing> </PreTargetBatchhProcessing>
<TargetBatchProcessing> <![CDATA[if/i"%SourceApp%"=="Acrobat_Reader_50"gotoUpdate50 gotoDone:Update50 regx "HKCU\Software\Adobe\AcrobatReader\5.0" "HKCU\Software\Adobe\AcrobatReader\6.0" regx "HKLM\Software\Adobe\AcrobatReader\5.0\AdobeViewer" "HKLM\Software\Adobe\AcrobatReader\6.0\AdobeViewer" :Done]]> </TargetBatchProcessing> </Application>
<ApplicationShortName="Acrobat_Reader_7 .0"> <AppInf o> <Name>AdobeAcrobatReader7.0<\Name> <Version>6.0</Version> <Detects> <Detect> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\7.0</keyname> </Detect> </Detects> <\AppInf o>
<Install_Directories> <Install_Directory> <OS>WinXP</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\7.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory>
<Install_Directory> <OS>Win2000</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\7.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory>
<Install_Directory> <OS>Win98</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\7.0\InstallPath</keyname> <value>(Default)</value>
72RescueandRecovery4.23DeploymentGuide
Page 81
</Registry> </Install_Directory>
<Install_Directory> <OS>WinNT</OS> <Registry> <hive>HKLM</hive> <keyname>Software\Adobe\AcrobatReader\7.0\InstallPath</keyname> <value>(Default)</value> </Registry> </Install_Directory> </Install_Directories>
<Files_From_Folders> <Files_From_Folder>%AppDataDirectory%\Adobe\Acrobat\7.0\*.*/s </Files_From_Folder> <Files_From_Folder>%PersonalDirectory%\*.pdf </Files_From_Folder> </Files_From_Folders>
<Files_Through_Registries> </Files_Through_Registries>
<Registries> <Registry> <hive>HKCU</hive> <keyname>Software\Adobe\Acrobat</keyname> </Registry> <Registry> <hive>HKCU</hive> <keyname>Software\Adobe\AcrobatReader</keyname> </Registry> </Registries>
<Registry_Excludes> <Registry> <hive>HKCU</hive> <keyname>Software\Adobe\AcrobatReader\7.0\AdobeViewer</keyname> <value>xRes</value> </Registry>
<Registry> <hive>HKCU</hive> <keyname>Software\Adobe\AcrobatReader\7.0\Adobe\Viewer</keyname> <value>yRes</value> </Registry>
<Registry_Excludes> <SourceBatchProcessing> </SourceBatchProcessing>
<PreTargetBatchProcessing> </PreTargetBatchProcessing>
<TargetBatchProcessing> <![CDATA[ if/i"%SourceApp%"=="Acrobat_Reader_50"gotoUpdate50 if/i"%SourceApp%"=="Acrobat_Reader_60"gotoUpdate60 gotoDone:Update50 regx "HKCU\Software\Adobe\AcrobatReader\5.0" "HKCU\Software\Adobe\AcrobatReader\7 .0" regx "HKLM\Software\Adobe\AcrobatReader\5.0\AdobeViewer" "HKLM\Software\Adobe\AcrobatReader\7 .0\AdobeViewer" gotoDone:Update60 regx
Chapter4.Rejuvenationandmigration73
Page 82
"HKCU\Software\Adobe\AcrobatReader\6.0" "HKCU\Software\Adobe\AcrobatReader\7 .0" regx "HKLM\Software\Adobe\AcrobatReader\6.0\AdobeViewer" "HKLM\Software\Adobe\AcrobatReader\7 .0\AdobeViewer" :Done]]> </TargetBatchProcessing> </Application> </Applications>
74RescueandRecovery4.23DeploymentGuide
Page 83

Chapter5.Bestpractices

ThischapterprovidesbestpracticescenariostoinstallandcongureRescueandRecoveryforyour enterprise.Withinthischapter,youwillndthefollowingtopics:
“Scenario1-Newrollouts”onpage75
“Scenario2-InstallingonOEMsystems”onpage80
“Scenario3-InstallingonT ype12servicepartition”onpage82
“Scenario4-InstallingwithWIMlesandWindowsVista”onpage83
“Scenario5-StandaloneinstallforCDorscriptles”onpage83
“Scenario6-WorkingwithActiveDirectoryandADMles”onpage83
“Scenario7-PerformingaBareMetalRestorefromanAdminBackup”onpage84
“Scenario8-ManuallycreatingtheServicePartitionofSdrive”onpage85

Scenario1-Newrollouts

ThissectiondescribesinstallingRescueandRecoveryinanewrolloutonLenovo-brandedand
®
IBM
-brandedcomputers.

Preparingtheharddiskdrive

Therststeptoconsiderwhendeployingasystemispreparingtheharddiskdriveofyourdonorsystem. Inordertomakesureyouarestartingwithacleanharddiskdrive,youmustcleanouttheMasterBoot Recordontheprimaryharddiskdrive.
1.Removeallstoragedevices,suchassecondharddiskdrives,USBharddiskdrives,USBmemory keysandPCCardMemoryfromthedonorsystem,excepttheprimaryharddiskthatyouaregoing toinstallWindowson.
Attention:Runningthiscommandwillerasetheentirecontentsofthetargetharddiskdrive.After running,youwillbeunabletorecoveranydatafromthetargetharddiskdrive.
2.CreateaDOSbootdisketteandplacethecleandrv.exeleonit.
3.Bootthediskette(onlyonestoragedeviceattached).AttheDOSprompt,typethefollowingcommand:
CLEANDRV/HDD=0
4.Installtheoperatingsystemandapplications.Buildyourdonorsystemasthoughyouwerenotinstalling RescueandRecovery.ThelaststepintheprocessistoinstallRescueandRecovery.

Installing

ThisrststepintheinstallationprocessistheextractionoftheInstallShieldexecutabletotheC:\RRTEMP directory.IfyouaregoingtoinstallRescueandRecoveryonmultiplesystems,performingthisprocessone timewillreducetheinstallationtimeoneachmachinebyroughlyone-half.
1.AssumingthattheinstallationleislocatedintherootoftheCdrive,createaleEXE_EXTRACT.cmd, whichwillextractthelez696zisXXXXus00.exeforWindowsXPorthelez695zisXXXXus00.exefor WindowsVista(whereXXXXisthebuildID)totheC:\RRTEMPdirectory:
::ThispackagewillextracttheWWWEXEtothedirectoryc:\RRT empforan
::administrativeinstallation.
©CopyrightLenovo2008,2010
75
Page 84
@ECHOOFF ::ThisisthenameoftheEXE(Withoutthe.EXE)
setBUILDID=z696zisXXXXus00.exe
::Thisisthedriveletterforthez696zisXXXXus00.exe
::NOTE:DONOTENDTHESTRINGWITHA"\".ITISASSUMEDTONOTBETHERE.
SETSOURCEDRIVE=C:
::CreatetheRRT empdirectoryontheHDDfortheexplodedWWWEXMDc:\RRTemp
::ExplodetheWWWEXEtothedirectoryc:\RRTemp
start/WAIT%SOURCEDRIVE%\%BUILDID%/a/s/v"/qnTARGETDIR=c:\RRT emp"
Copyz696ZAB10YYUS00.tvtandZ333ZAA10ZZUS00.tvttoC:\rrtemp\
(whereYYandZZarebuildIDs)
copyz696ZAB10YYUS00.tvttoC:\RRT emp
copyZ333ZAA10ZZUS00.tvtC:toC:\RRT emp
Ifyouwantinstallationf orsupportedlanguagesbesidesUS,
copyz696ZAB10YYUS00.tvttoC:\RRT emp
(whereYYisthebuildIDandCCisthecountrycode).
copyz696ZAB10YYUS00.tvttoC:\RRT emp
2.Y oucanmakemanycustomizationsbeforetheinstallationoftheRescueandRecoveryprogram. Someexamplesinthisscenarioare:
•Changemaximumnumberofincrementalbackupsto4.
•SetRescueandRecoverytoperformanincrementalbackupeverydayat1:59p.m.tothelocal
harddiskdriveandcallitScheduled.
•HidetheRescueandRecoveryuserinterfacetoallusersnotinthelocalAdministratorsGroup.
3.Customizethedefaultrnrdeploy.xmlle.Someparameterscanbemodied.SeetheThinkVantage TechnologiesXML/ADMSupplementformoreinformation.
4.InthesamedirectoryastheinstallMSIle,createaninstall.cmdle,whichwillperformseveralactions:
•Copythecustomrnrdeploy.xmlleintotheinstallationpackagecreatedintheC:\RRTempdirectory:
76RescueandRecovery4.23DeploymentGuide
Page 85
•PerformasilentinstallationoftheRescueandRecoveryprogramwithoutarebootattheend.
•StarttheRescueandRecoveryprogramsothatabasebackupcanbeperformed.
•Aftertheserviceisstarted,setuptheenvironmenttocreateanISOimageoftheRescueand RecoveryCD(thisisnormallyperformedaspartofareboot).
•CreatetheISOimage.
•Createthebasebackupandrebootthesystem.
5.Modifytheinstall.cmdcode.Thefollowingrepresentsthecodeforinstall.cmd:
::Copycustomrnrdeploy.xmlhere
copyrnrdeploy.xml"c:\RRTemp\ProgramFiles\Lenovo\RescueandRecovery"
::InstallusingtheMSIwithnoreboot(Remove"REBOOT="R""toforceareboot)
start/WAITmsiexec/i"c:\RRT emp\RescueandRecovery.msi"/qnREBOOT="R"
::Starttheservice.Thisisneededtocreateabasebackup.
start/WAITnetstart"RescueandRecoveryService"
::MakeanISOlehere-ISOwillresideinc:\ProgramFiles\Lenovo\Rescueand Recovery\rrcd
Note:Youdonotneedtosetuptheenvironmentifthesystemisrebooted.
::Setuptheenvironment
setPATH=%SystemDrive%\ProgramFiles\CommonFiles\Lenovo\Python24
setPATHEXT=.PYW;.PYO;.PYC;.PY
setTCL_LIBRARY=%SystemDrive%\ProgramFiles\CommonFiles\Lenovo\Python24 \tcl\tcl8.4
setTK_LIBRARY=%SystemDrive%\ProgramFiles\CommonFiles\Lenovo\Python24 \tcl\tk8.4
setPYTHONCASEOK=1
setRR=C:\ProgramFiles\Lenovo\RescueandRecovery\
setPYTHONPATH="C:\ProgramFiles\CommonFiles\Lenovo\Python24"
::ThenextlinewillcreatetheISOsilentlyandnotburnit
Chapter5.Bestpractices77
Page 86
C:\ProgramFiles\CommonFiles\Lenovo\Python24\python C:\ProgramFiles\CommonFiles\Lenovo\spi\mkspiim.pyc
::T akethebasebackup...servicemustbestarted
c:
cd"C:\ProgramFiles\Lenovo\RescueandRecovery"
RRcmd.exebackuplocation=Lname=Baselevel=0
::Rebootthesystem
C:\ProgramFiles\CommonFiles\Lenovo\BMGR"/bmgr32.exe/R

Updating

Youmayneedtomakeamajorchangetoyoursystem,suchasaservicepackupdatetoWindows.Before youinstalltheservicepack,youforceanincrementalbackuponthesystemandidentifythatbackupby namebyperformingthefollowingsteps:
1.CreateaFORCE_BU.CMDleandpushitdowntoyourtargetsystems.
2.LaunchtheFORCE_BU.CMDleonceitisonthetargetsystems.
ThecontentsoftheFORCE_BU.CMDleare:
::Forceabackupnow
"%RR%rrcmd"backuplocation=Lname="BackupBef oreXP-SP2Update"

EnablingtheRescueandRecoverydesktop

AfterrealizingthebenetsoftheRescueandRecoveryprogramforaperiodoftime,youmaywanttobenet fromtheRescueandRecoveryenvironment.Fordemonstrationpurposes,asampleUPDATE_RRE.CMD scriptisprovidedinthefollowingsectionthatwillextractthecontrollefortheRescueandRecovery environment,whichyoucaneditandthenputbackintotheRescueandRecoveryenvironmentusing rrutil.exe.See“UsingtheRRUTIL.EXEutility”onpage31
TomodifythePredesktopArea,theUPDATE_RRE.CMDscriptdemonstratesseveralprocesses:
•Userrutil.exetogetalefromtheRescueandRecoveryenvironment.Thelestobeextractedfromthe RescueandRecoveryenvironmentaredenedbyinlegetlist.txt.
•CreateadirectorystructuretoputlesbackintothePredesktopAreaaftereditingtheappropriatele.
•Makeacopyoftheleforsafekeepingandtheneditit.
Inthisexample,youwanttochangethehomepagethatisopenedwhenanenduserclickstheOpenBrowser buttonintheRescueandRecoveryenvironment.TheWebpagehttp://www.lenovo.com/thinkvantageopens.
Tomakethechange,whenNotepadopenswiththepdaguien.inile:
1.Changetheline:
formoreinformation.
78RescueandRecovery4.23DeploymentGuide
Page 87
button13=8,"Openbrowser",Internet.bmp,1,1,0,
%tvtdrive%\Preboot\Opera\Opera.EXE,http://www.pc.lenovo.com/cgi-
bin/access_IBM.cgi?version=4&link=gen_support&country=__
COUNTRY__&language=__LANGUAGE__
TO
button13=8,"Openbrowser",Internet.bmp,1,1,0,
%tvtdrive%\Preboot\Opera\Opera.EXE,
http://www.lenovo.com/thinkvantage
2.PutthenewversionintothedirectorystructureforplacinglesintotheRescueandRecovery environment.Fordetails,referto“UsingtheRRUTIL.EXEutility”onpage31.
3.RebootthesystemintotheRescueandRecoveryenvironment.
4.Afteryouanalyzethesystemanddeterminethattherearelesthatyoumustbackup,updatethe registrykeyatHKLM\SOFTWARE\Lenovo\RescueandRecovery\Settings\BackupList.
Chapter5.Bestpractices79
Page 88
Table26.UPDATE_RR.CMDscript
@ECHOOFF ::ObtainthePDAGUIen.inilefromtheRR c:\RRDeployGuide\RRUTIL\RRUTIL-ggetlist.txt c:\RRDeployGuide\GuideExample\RROriginal ::MakeadirectorytoputtheeditedleforimportbackintotheRR mdc:\RRDeployGuide\GuideExample\put\preboot\usrintfc ::Openthelewithnotepadandeditit. ECHO. ECHOEditthele c:\RRDeployGuide\GuideExample\RROriginal\PDAGUIen.ini
Filewillopenautomatically
pause ::Makeacopyoforiginalle copy c:\RRDeployGuide\GuideExample\RROriginal\preboot\usrintfc\PDAGUIen.ini c:\RRDeployGuide\GuideExample\RROriginal\preboot\usrintfc\ PDAGUIen.original.ini notepad c:\RRDeployGuide\GuideExample\RROriginal\preboot\usrintfc\PDAGUIen.ini pause copyc:\RRDeployGuide\GuideExample\RROriginal\preboot\usrintf c\ PDAGUIen.inic:\RRDeployGuide\GuideExample\put\preboot\usrintfc ::PlacetheupdatedversionofthePDAGUIenintotheRR c:\RRDeployGuide\RRUTIL\RRUTIL-pc:\RRDeployGuide\GuideExample\put ECHO. ECHOReboottotheRRtoseethechange pause c:\ProgramFiles\Lenovo\Common\BMGR\bmgr32.exe/bw/r
Creategetlist.txt:
\preboot\usrintfc\pdaguien.ini

Scenario2-InstallingonOEMsystems

ThissectiondescribesinstallingtheRescueandRecoveryprogramonOEMcomputers.T oinstallthe RescueandRecoveryprogram,eightfreesectorsmustbeavailableintheMasterBootRecordonthe harddiskdrive.TheRescueandRecoveryprogramusesacustomBootManagerinordertoenterinto theRecoveryarea.
SomeOEMsstorepointerstotheirproductrecoverycodeintheMasterBootRecordsector.OEMproduct recoverycodemayinterferewiththeRescueandRecoveryBootManagerinstallation.
ConsiderthefollowingscenariosandbestpracticestoensuretheRescueandRecoveryprogramprovides thedesiredfunctionsandfeatures:
80RescueandRecovery4.23DeploymentGuide
Page 89

Bestpracticesforharddrivesetup:Option1

ThisscenariocoversnewimagedeploymentsthatincludetheRescueandRecoveryprogram.Ifdeploying theRescueandRecoveryprogramtoexistingOEMclientsthatcontainOEMproductrecoverycode,run thefollowingtesttodetermineiftheOEMproductrecoverycodeinterfereswiththeRescueandRecovery program:
1.SetupatestclientwiththeimagethatcontainstheOEMproductrecoverycode.
2.InstalltheRescueandRecoveryprogram.IfeightfreesectorsintheMasterBootRecord(MBR)donot existasaresultoftheOEMproductrecoverycode,youwillseethefollowingerrormessage:
Error1722.ThereisaproblemwiththisWindows
Installerpackage.Aprogramrunaspartofthe
setupdidnotnishasexpected.Contactyour
personnelorpackagevendor.
IfyouareusinganOEMimageforthebaseoperatingsystem,ensurethattheMasterBootRecorddoesnot containtheproductrecoverydata.Y oucandothisinthefollowingway:
Attention:Runningthefollowingcommandwillerasetheentirecontentsofthetargetharddiskdrive.After running,youwillbeunabletorecoveranydatafromthetargetharddiskdrive.
1.Usethecleandrv.exeavailablefromtheRescueandRecoveryat: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN-ADMIN#rnrtoensureall sectorsareclearedfromtheMasterBootRecordontheharddiskdrivethatyouplantouseto createyourbaseimage.
2.Packagetheimageaccordingtoyourproceduresfordeployment.

Bestpracticesforharddrivesetup:Option2

DeployingtheRescueandRecoveryprogramonexistingclientsrequiressomeeffortandplanning.This scenarioprovidesanotheroptionforaharddrivesetup.
Note:IfyoureceiveError1722andneedtocreateeightfreesectors,calltheLenovohelpdesktoreport theerrorandobtainfurtherinstructions.
CreatingabootableRescueandRecoveryCD
TheRescueandRecoveryprogrambuildsandburnstherescuemediaCDfromthecurrentservicearea contents,ratherthanfromapre-assembledISOimage.However,ifanappropriateISO(.iso)imageis alreadypresent,becauseitwaspreloadedorbecauseithadbeenbuiltbefore,thatimagewillbeused toburntheCD,ratherthantocreateanewone.
Becauseoftheresourcesinvolved,onlyoneinstanceoftheCDburningapplicationmayberunningatany giventime.Ifitisrunning,attemptingtostartasecondinstancewillproduceanerrormessageandthe secondinstancewillabort.Inaddition,duetothenatureofaccessingprotectedareasoftheharddrive,only administratorscancreatetheISO.TheselesanddirectoriesareincludedontherecoveryCD:
•minint
•preboot
•win51
Chapter5.Bestpractices81
Page 90
•win51ip
•win51ip.sp2
Note:IfyoucreateanewISOimage,youmusthaveatleast400MBoffreespaceavailableonthesystem driveinordertocopythedirectorytreesandbuildtheISO.Movingthismuchdataaroundisaharddisk drive-intensivetask,andmighttakefteenormoreminutesonsomecomputers.
CreatingtherecoveryISOleandburningtoaCDsamplescriptle
TocreatetherecoveryISOleandburnittoaCDsamplescriptle,preparethefollowingcode.
::MakeanISOlehere-ISOwillresideinc:\SWTOOL S\rrcd
Note:Thefollowingsevenlinesofcode(inboldfont)areneededonlyifthesystemisnotrebootedafter install.
::Setuptheenvironment
setPATH=%SystemDrive%\ProgramFiles\CommonFiles\Lenovo\Python24 setPATHEXT=.PYW;.PYO;.PYC;.PY setTCL_LIBRARY=%SystemDrive%\ProgramFiles\CommonFiles\Lenovo\Python24 \tcl\tcl8.4 setTK_LIBRARY=%SystemDrive%\ProgramFiles\CommonFiles\Lenovo\Python24 \tcl\tk8.4 setPYTHONCASEOK=1 setRR=c:\ProgramFiles\Lenovo\RescueandRecovery\ setPYTHONPATH=C:\Programles\CommonFiles\Lenovo\logger
::ThenextlinewillcreatetheISOsilentlyandnotburnit
c:\ProgramFiles\CommonFiles\Lenovo\Python24\pythonc:\ProgramFiles\ \CommonFiles\Lenovo\spi\mkspiim.pyc/scripted
::ThenextlinewillcreatetheISOwithuserinteractionandnotburnit
::c:\ProgramFiles\CommonFiles\Lenovo\Python24\pythonc:\ProgramFiles\ \CommonFiles\Lenovo\spi\mkspiim.pyc/scripted/noburn

Scenario3-InstallingonType12servicepartition

ThissectiondescribesinstallingtheRescueandRecoveryprogramonaType12servicepartition.Youmust havethefollowinginordertoinstalltheRescueandRecoveryprogramintoatype12servicepartition:
•TheSP.PQIle.Thisleincludesbasebootablelestocreateaservicepartition.
•PowerQuestPQDeploy
•LatestinstallerfortheRescueandRecoveryprogram
ThereareseveraloptionsrelatedtoinstallingtheRescueandRecoveryenvironmentinaservicepartition.
Note:Thetype12partitionmustresideinthelastusedentryinthepartitiontableonthesamedrivethat containsWindows.Y oucanusetheinformationonBMGR32todeterminewherethetype12partition residesontheharddiskdrive.Formoreinformation,see“TheRescueandRecoveryBootmanagercontrol (BMGR32)”onpage92
.
82RescueandRecovery4.23DeploymentGuide
Page 91
Toperformtheinstallation,completethefollowingprocedure:
1.Leaveatleast700MBofunallocatedfreespaceattheendofthedrive.
2.UsingPowerQuestPQDeploy,restoretheSP .pqiletotheunallocatedfree-space.Ifyouneed additionalassistancewithPowerQuestPQDeploy,referencedocumentationfromPowerQuest.
3.Deletetheprimarypartitionscreatedinstep1(excepttheCdrive),andthenreboot.
Note:Systemvolumeinformationmaybeonthenewlycreatedservicepartition.Thesystemvolume informationneedstobedeletedthroughWindowsSystemRestore.
4.InstalltheRescueandRecoveryprogramandrestartwhenprompted.
Scenario4-InstallingwithWIMlesandWindowsVista
WindowsVistadeploymentisbasedondiskimagingwithImageX.ImageXutilizeslebasedimaging withWIMlesinsteadofsector-basedimageformats.Consideringthisformattingdevelopment,usethe followingstepswheninstallinganddeployingRescueandRecoveryonWindowsVista:
1.BoottoWindowsPE2.0
2.LaunchDiskpart
3.SelectDisk
4.CleanDisk
5.Createdesiredprimarypartitionofsizedesired
6.Makethepartitionactive
7.Assignthedriveletter(C)
8.ExitDiskpart
9.Formatdisksuchasc:/fs:ntfs/q/y/v:WinXP
10.Runbootsect/nt52
11.RunBMGR32.EXE/Fbootmgr.bin/M1/IBM/THINK
12.UseImagex.exetoapplyyourWIMletoC:
13.Reboot
FormoreinformationaboutWindowsVista,WIMles,orImageX,seethefollowingWebsite: http://www.microsoft.com
Scenario5-StandaloneinstallforCDorscriptles
ForastandaloneinstallforCDorscriptle,completethefollowingsteps:
1.UseonebatchletosilentlyinstallRescueandRecovery.
2.CongureBIOSpasswordrecoverysilently.
Scenario6-WorkingwithActiveDirectoryandADMles
ThefollowingexampleillustrateshowtheAdministrativeTemplatele(.adm)canbeusedlocallyandhowthe settingscanbeexportedthrougharegistryleandthenimportedtoallintendedmachines.Thisexample documentshowtohidetheAdvancedmenuinthemainuserinterface.
1.InstalltheRescueandRecovery4.21programonanimagemachine.
2.FromtheWindowsStartmenu,rungpedit.msc.
3.RightclickonAdministrativeTemplatesunderComputerConguration.
4.SelectAdd/RemoveT emplates.
Chapter5.Bestpractices83
Page 92
5.PresstheAddbuttonandthenselectthernr.admle.Thernr.adm lecanbeobtainedfromtheAdministrativetoolspackagelocatedat: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN-ADMIN#rnr
6.PresstheclosebuttonontheAdd/RemoveTemplatedialogbox.
7.ClicktheAdministrativeT emplatestabundertheComputerConguration.Anewtabnamed ThinkVantageispresent.UndertheThinkVantagetabtherewillbeaRescueandRecoverytab.Allthe availablesettingcanbecongurednowforthismachine.
8.GotoThinkVantage>RescueandRecovery>UserInterface>MenusanddoubleclickontheAdvanced Menutab.
9.SelectEnabledontheSettingstaboftheAdvancedMenuPropertiesdialogbox.
10.SelectHidefromthedropdownboxlabeledAdvancedMenu.
11.ClickOKontheAdvancedMenuPropertiesdialogbox.
12.FromtheWindowsStartmenu,runregedit.
13.Navigatetoandrightclickonthefollowingregistrykey:HKLM\Software\Policies\Lenovo\Rescueand Recovery.
14.ClickExport.
15.T ypethelenameintheFileNameeldontheExportRegistryFiledialogbox.
16.NavigatetoyourintendedpathintheSaveAseldontheExportRegistryFiledialogbox.
17.PresstheSavebutton.
Now,youcancreateaninstallationpackagethatwillinstallRescueandRecoverysilentlyandhavethe packageimportthisnewregistrykeysothatallmachineswillhavetheadvancedmenuhidden.Thiscanbe usedforanyofthesettingsintheADMle.

CorporateActiveDirectoryRollout

ForacorporateActiveDirectoryrollout,completethefollowingsteps:
1.InstalleitherthroughActiveDirectoryorLANDesk. a.TakebackupsandgetreportsthroughActiveDirectoryandLANDeskofwhoandwhentheywere
taken.
b.Givecertaingroupsabilitiestotakebackups,deletebackups,scheduleoptions,andpassword
restrictions,thenchangegroupsandseeifsettingspersists.
c.ThroughActiveDirectory,enableAntidoteDeliveryManager.Placepackagestoberunandmake
surereportingiscaptured.

Scenario7-PerformingaBareMetalRestorefromanAdminBackup

ThissectiondescribeshowtoperformaBareMetalRestorefromanadminbackupcreatedbyusinga command-linesuchasbelow:
rrcmdbasebackuplocation=Ulevel=100name="adminbackuponUSBHDD"
Note:Youcanchangethevalueofthenameparametertocreatebackupstootherlocations.Formodifying theRRCMDparameters,see“RRCMDcommand-lineinterface”onpage87.
SelecteitherofthefollowingmethodstoperformtheBareMetalRestore:
•MethodA:restorethesystembyusingthefollowingcommand-line:
rrcmdrestorelocation=Ulevel=100
84RescueandRecovery4.23DeploymentGuide
Page 93
•MethodB:completetheprocedureasfollows:
1.LaunchtheadvanceduserinterfacefromPDA.
2.ClickRestoreyoursystem.
3.MakesuretoselectDonotpreservewindowspasswordsduringthefollowingrestoringprocess.

Scenario8-ManuallycreatingtheServicePartitionofSdrive

TomanuallycreatetheServicePartition(SP)ofSdriveintheWindowsVistaoperatingsystem,dothe following:
1.BootfromtheWindowsVistainstallationdiscandproceedtothedriveselectionmenu.
2.PressShift+F10toaccessthecommandline.
3.T ypediskpart,thenpressEnter.
4.T ocleantheharddiskdrive,followthecommandsbelow:
Note:Thecommandsarecasesensitive.
a.Diskpart>seldisk0
b.Diskpart>clean
5.Restartthecomputer.
6.BootfromtheWindowsVistainstallationdiscagainandproceedtothedriveselectionmenu.
7.CreatePartition1witha1GBsizefortheservicepartition.
8.CreatePartition2fortheoperatingsystem.
9.FormatPartition2andleavePartition1unformatted.
10.PressShift+F10toaccessthecommandline.
11.T ypediskpart,thenpressEnter.
12.Followthecommandsbelow:Note:Thecommandsarecasesensitive.
a.Diskpart>seldisk0
b.Diskpart>selpar1
c.Diskpart>formatfs=ntfslabel="SERVICEV003"quick
13.InstallWindowsVistaoperatingsystemonPartition2.
14.Wheninstallationcompletes,logintoWindows.
15.ChangethedriveletterofthePartition1toS.
16.ActivatePartition1.
17.CopyC:\boot*.*toS:\,andrestartthecomputer.
18.BootfromtheWindowsVistainstallationDVD,andclickRepairyourcomputertorepairtheoperating system.
19.RestartandlogintoWindows.
Whenyoucompletetheaboveprocedures,theServicePartitionwillbecreated,andthePredesktopArea leswillbecopiedtotheSdriveinsteadofthevirtualServicePartition.
Chapter5.Bestpractices85
Page 94
86RescueandRecovery4.23DeploymentGuide
Page 95

AppendixA.Administrativetools

ThinkVantagetechnologiesofferstoolsthatcanbeimplementedbycorporateIT administrators.ThesetoolscanbedownloadedfromtheLenovoWebsiteat: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN-ADMIN#rnr

Commandlinesupport

ThefollowingsectionsprovidecommandlinesupportforRescueandRecoveryinadditiontoAntidote DeliveryManager.

RRCMDcommand-lineinterface

TheprimaryRescueandRecoverycommand-lineinterfaceisRRCMD.Thecommandislocatedinthe C:\ProgramFiles\Lenovo\RescueandRecovery\subdirectory.Thefollowingtableprovidesinformationto usethecommand-lineinterfacefortheRescueandRecoveryprogram:
Syntax:
RRcmdcommandlter=lterlelocation=c[name=abc|level=x][silent]
Table27.RRcmdparameters
CommandResult
Backup
Restore
List
Basebackup
Sysprepbackup
Initiateanormalbackupoperation(mustincludelocationandnameparameters).
Initiateanormalrestoreoperation(mustincludelocationandlevel).
Listlesthatareincludedinthebackuplevel(mustincludelocationandlevel).
Initiateanalternativebasebackup.Thisisnottobeusedasabasisforincremental backups,andmustincludethelocation,nameandlevel.Thelevelmustbelessthan
99.Ifanotherbasebackupwiththesamelevelalreadyexists,itwillbeoverwritten.
StageabackupoperationinthePreDesktopAreaafterthecomputerisrebooted.The primaryuseforthisfeatureistocaptureaSysprepbackup.
Notes:
1.Insomecases,theprogressbardoesnotmove.Ifthisoccurs,youcanverify thebackupisoccurringbylisteningtotheharddiskdrive.Whenthebackupis complete,youwillreceiveamessagethatthebackupiscomplete.
2.IfyouaresettingapasswordwhencreatingaSysprepbackuptothenetworkthen thepasswordlewillnotbewrittentothebackuplocationuntilanincremental backupistaken.Thefollowinginformationprovidestwoworkalternatemethods:
a.CreatealocalSysprepbackupandcopythebackupstoeitherthenetwork
ortheUSB.
b.CreateanincrementalbackuptothenetworkortheUSBaftertheSysprep
backupandeitherkeepordeletetheincrementalbackup.
©CopyrightLenovo2008,2010
87
Page 96
Table27.RRcmdparameters(continued)
CommandResult
Copy
Copybackupsfromonelocationtoanother.Thiscommandisalsoknownasarchive andmustincludethelocation.
Rejuvenate
Delete
Changebase
Migrate
Filter=lterle
Location=c
Rejuvenateoperatingsystemtothespeciedbackup.
Deletebackups.Thiscommandmustincludethelocation.
Changelesinallbackupsbasedonle.txtcontents.Optionsinle.txtare:
AAdd
DDelete
RReplace
Createmigrationlefromabackup.
Filesandfoldersthatwillberestored.ThiscommandisusedonlywiththeRestore command.
Oneormoreofthefollowingcanbeselectedwiththeassociatedresult:
LForprimarylocalharddrive
UForUSBharddrive
SForsecondlocalharddrive
name=abc
level=x
NFornetwork
CForCD/DVDRestore
Whereabc,isthenameofthebackup.
Wherexisanumberfrom0(forthebase)tomaximumnumberofincrementalbackups (onlyusedwiththerestoreoption.Forbackupcommands,thelevel=xcommandis onlyrequiredifperforminganadministratorbackup(equaltoorgreaterthan100, forexample).
Notes:
1.T orestorefromthelatestbackup,donotprovidethisparameter.
2.Allbackupandrestorefeaturesareroutedthroughtheservicesothatthe appropriatesequencingcanbemaintained,callbacksareperformed,forexample. Thebackupcommandisreplacedwiththecommand-lineoptions.)
88RescueandRecovery4.23DeploymentGuide
Page 97
Table27.RRcmdparameters(continued)
CommandResult
BootmanagerConguration FileFormat
Theformatofthebootmanagercongurationleisbackwardcompatiblewiththe previousversionofbootmanager.Anyswitchnotshowbelowisnotsupported.The leformatisatextlewitheachentryisonaseparateline.
<PROMPT1=thisisthetextthatwillappearonF11prompt> <KEY1=F11> <WAIT=40>
Oslter
Thiscommandisusedonlywiththerestorecommand.Itusestheregistrysettings forOsAppsListtolterlesbeingrestored.Thiscommandlineentrycanbeusedto doanOsAppsrestore.
Howtoreplacelesinabasebackup
Toreplacealeinyourbackups:
1.Modifyaleorlesthatexistinthebackups,forexample:c:\install.log
2.Createaleintherootofc:\,calledle.txt.
3.Editle.txtandaddthefollowingpathfortheleyoumodied:R=<fullpathtotheleyoumodied>. Thefollowingprovidesanexample:
R=c:\install.log
Note:Y oumusthavethisle.txtclosed.
4.RunRRCMDChangebaselename=c:\le.txtdrive=c:destination="c:\RRBACKUPS"
Note:Checksinglelerestorewiththeuserinterfacetonoticechangeinsize.

CLEANDRV.EXE

Thecleandrv.exelecleansthedriveofallles.Therewillbenooperatingsystemafterrunningthis command.See“Scenario4-InstallingwithWIMlesandWindowsVista”onpage83
formoreinformation.

CONVDATE

TheCONVDATEutilityisprovidedaspartoftheRescueandRecoveryAdministrationtools.Thisutilityis usedtodeterminetheHEXvaluesofdateandtimeandtoconvertdateandtimevaluesintoHEXvalues,and canbeusedtosetacustomdateandtimeinabackupeldoftheregistry.
[Backup0] StartTimeLow=0xD5D53A20 StartTimeHigh=0x01C51F46
ToruntheCONVDATEutility,completethefollowingsteps:
1.ExtracttheRescueandRecoveryAdministrationtoolsfrom: http://www.lenovo.com/support/site.wss/document.do?lndocid=TVAN-ADMIN#rnr
2.OpenaCMDwindows
3.T ypeinConvdate
4.T oconvertDWORDValues,typethedateandtimeintheSelectdateandtimeelds.
Notes:Thecorrespondingregistrylevaluesare:
AppendixA.Administrativetools89
Page 98
•HighDWORD=StartTimeHigh
•LowDWORD=StartTimeLow

CREATSP

ThiscommandcreatesapartitionforServicePartitionbydesiredmegabytes.Thedriveletterisoptional.
Thesyntaxis:
createspsize=xdrive=x/y
TheparametersforCREATSPare:
Table28.
ParametersDescription
size=x
drive=x
/ySuppressesconrmationofthedrivebeingcleaned.This
Sizeofservicepartitiontocreate,inmegabytes.
Thedrivenumbertocreatetheservicepartitionon.Ifnot specied,therstnon-USBdriveisused.Thisparameter isoptional.
parameterisoptional.
Note:Thebmgr32.exelemustbeinthesamedirectoryasthecreatesp.exele,andshouldberunfrom WinPE.

InvAgent

TheInvAgentcommandcanbefoundinC:\ProgramFiles\CommonFiles\Lenovo\InvAgent\IA.exe.
TheIA.execreatesalocalXMLoutputlethatitstoresinthesamefolder.
OneXMLlewillbecreated.ThenameoftheXMLleiscreatedbycombiningmanufacturer,model-type, andserialnumber,forexample,Lenovo-2373Q1U-99MA4L7.XML.
Thescannercanberunfromacommand-linebyusingthefollowingcommand-linesyntax:
-helpShowashorthelpmessage.
-listsectionsListalloftheavailablesectionsofsysteminformation.
-listtablesListallofthesectionsandthetablesofsysteminformation.
-silentRunwithnooutputtothescreen.
-sectionsection1sectiont2...ReturnintheXMLoutputleonlythedatafromthespeciedsection(s).
-vpdOnlycollectthevitalproductdata.
-levelnSectionsaregroupedintolevels;n=1istheleastamountofinformation,n=5isthemost information.
-querydata.element.strReturnsthevalueofthespecieddataelement.
-registerlename.ccdRegistersacustomcollectorDLLwiththeagent.
-unregisterlename.ccdRemovesacustomcollectorDLLfromtheregisteredlist.
-deletelename.ccdDeletesthecustomcollectorDLLandanyassociatedles.
-installRunbyanadminaccounttoinstallanydriversneededfordatacollection.
90RescueandRecovery4.23DeploymentGuide
Page 99

MapDrv

MapDrvprovidesnetworksharefunctionsforThinkVantageTechnologyproducts.MapDrvisusedto connectanddisconnectThinkVantageTechnologyproductswithnetworkshares.Thenetworkshare informationiscontainedintheregistryandincludesthenetworksharenameasanencryptedstring.Network shareinformationisstoredintheregistryatHKLM\Software\Lenovo\MND\<appid>.
IfanActiveDirectorypolicyisused,thesevaluesarestoredat:HKLM\Software\Policies\Lenovo\MND\<app id>.
MapDrvallowsyoutousetheencryptionenginetogenerateanencryptedusernameandpassword,which canbeusedtopre-populatenetworkshareinformationonmultiplesystems.Byusingtheencryptionengine, itdoesnotupdatetheregistryinthesystemit'srunningon.
Thecommand-lineinterfacetoMapDrvisasfollows:
mapdrv/<function><appid>/unc<sharename>/user<username>/pwd<password>[/timeout<seconds>] [/s]
TheMapDrvcommandwillimplementtheuserinterfacetomapanetworkdrive.Themapdrv.execommand canbefoundintheC:\ProgramFiles\CommonFiles\Lenovo\MNDdirectory.Themapnetworkdrive interfacesupportsthefollowingparameters:
Syntax:
mapdrv[switches]
Enteringthecommandwithnoparameterslaunchestheapplicationandtheinformationmustbeentered manually.
Thereturncodesforallparametersare:
0=success
>0=failed
WhenMapDrvislaunchedwithnoparameters,theuserispromptedforthenetworkshare,username,and password.Itthenattemptstoconnecttothespeciednetworkshareusingthespeciedcredentials.
ThefollowingtableprovidesinformationabouttheparametersandtheresultofeachparameterforMapDrv:
Table29.MapDrvparameters
ParameterResult
/view
/pwd
Allowsaviewofthenetworkshare.
Providestheencryptedpasswordforthisshare.
/store
/s
StoresapplicationID,sharename,username,passwordandtimeoutvalues.
SettoSilent.Donotprompttheuserregardlessofwhetherconnectionismade.
AppendixA.Administrativetools91
Page 100
Table29.MapDrvparameters(continued)
ParameterResult
/timeout
Setsthetimeoutvalue.
/unc
/user
/NetPath
Thestorednetworkshare.
Setsthestoredencryptedusernameforthisshare.
SetsthevalueoutputfromMapDrvtoindicatetheactualconnectionpath.
UsingMapDrv
ThefollowingexamplesprovideinstructiononhowtouseMapDrv:
TostorenetworkshareinformationforaThinkVantageTechnologyproduct
ThisfunctionstoresthenetworkshareinformationintheregistrytodenethesubkeyfromthemainMapDrv registrykey.ThefollowingcommandsetstheUnc,UserandPwdvaluesintheregistry:
mapdrv/store<appid>/unc<sharename>/user<username>/pwd<password>
[/timeout<seconds>]
ToconnectanetworkshareandaThinkVantageTechnologyproduct
ThefollowingcommandconnectstotheshareusingtheUnc,User,andPwdvaluesintheregistry:
mapdrv/connect<appid>[/s]
TodisconnectanetworkshareandaThinkVantageTechnologyproduct
ThefollowingcommanddisconnectsthenetworkshareforthespeciedThinkVantageTechnology ifcurrentlyconnected:
mapdrv/disconnect<appid>
Todisplayencryptedusernameandpasswordstrings
Thefollowingcommandisusedtodisplaythenetworkshareinformationsavedintheregistrykey:
mapdrv/view<appid>/user<username>/pwd<password>

TheRescueandRecoveryBootmanagercontrol(BMGR32)

Thebootmanagerinterfacecommand-lineinterfaceisBMGR32.ItresidesinthedirectoryC:\Program Files\CommonFiles\Lenovo\BMGR.ThefollowingtablepresentstheswitchesandtheirresultsforBMGR32.
92RescueandRecovery4.23DeploymentGuide
Loading...