User Tools

Site Tools


howtos:how_to_make_more_than_one_copy
no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


howtos:how_to_make_more_than_one_copy [02/12/2018 21:34] (current) – created - external edit 127.0.0.1
Line 1: Line 1:
  
 +
 +Lenovo, in their infinite wisdom, have changed how they store the fact that the recovery image has already been created in newer versions of their recovery software. Amusingly they have not bothered to correct the "Microsoft Window" typo as well!
 +
 +Process Monitor reveals that recovburncd.exe reads the file Q:\FactoryRecovery\RECOVERY.INI:DONE before bugging out. The colon indicates the use of an alternate File Stream. After a recovery image has been created, this stream contains the string 1\r\n. Deleting the stream does not work, but replacing the stream contents with the string 0\r\n works. This can be done from the command prompt:
 +
 +<code>
 +echo 0 > Q:\FactoryRecovery\RECOVERY.INI:Done
 +</code>
 +
 +
 +If you get the error: " Files required by this program cannot be found", you need to merge the swm files into one wim file.
 +
 +Copy all the swm files into a temp directory and run the following command:
 +<code>
 +"c:\Program Files (x86)\Lenovo\Factory Recovery\imagex.exe" /ref cdrivebackup*.swm /check /export cdrivebackup.swm * cdrivebackup.wim "Lenovo_Recovery"
 +</code>
 +
 +<code>
 +C:\temp>"\Program Files (x86)\Lenovo\Factory Recovery\imagex.exe" /ref cdrivebackup*.swm /check /export cdrivebackup.swm * cdrivebackup.wim "Lenovo_Recovery"
 +
 +ImageX Tool for Windows
 +Copyright (C) Microsoft Corp. All rights reserved.
 +Version: 6.1.7600.16385
 +
 +Exporting: [C:\temp\Cdrivebackup.swm, *] ->
 +           [C:\temp\Cdrivebackup.wim]
 +
 +
 +[ 100% ] Exporting progress
 +
 +Successfully exported image #1.
 +
 +
 +Total elapsed time: 1 min 51 sec
 +
 +C:\temp>
 +
 +</code>
 +
 +Note: the imagex.exe file could be located somewhere else on your machine, then just adjust the path in the command.
 +
 +Now copy the file cdrivebackup.wim back onto the Q-drive and start the media creation wizard again. This time it should work.
 +
 +-------
 +http://superuser.com/questions/384658/why-can-i-only-create-one-factory-backup-from-my-lenovo-thinkpad
howtos/how_to_make_more_than_one_copy.txt · Last modified: 02/12/2018 21:34 by 127.0.0.1