OEM Recovery Partition Creator for Windows

Discussion in 'MDL Projects and Applications' started by AnarethoS, Sep 11, 2010.

  1. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,254
    1,537
    60
    Thanks for this, but for my client, it would too difficult.
    Also, another way (the official M$ way in fact) is to create 3 partition like I do.
    When Windows start, we have to switch to AUDIT mode using SYSPREP.
    Then, we copy "C:\Windows\System32\Recovery\Winre.Wim" to "<RecoveryPartitionLetter>\Recovery\WindowsRE".
    Then we do the following command : reagentc /setreimage /path "<RecoveryPartitionLetter>\Recovery\WindowsRE" /bootkey 8500
    Then, when the computer boot, we can access Recovery Environment through F11 or from the boot menu (F8).
    From there, we can restore the computer.

    This way take less space then the method you said (200mb for the WinRE Image compare to 3gb for the whole DVD).

    But, I preferred to use my method, since I am able to put password, browse file, add drivers, etc. I inspired my "kit" from the M$ way. But yours works perfectly also :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    Great work, will test again today, and yes the request for te next dvd was in a loop, lets see what v4 does today!

    Cheers
     
  3. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    Ok, Installing 32bit version, asks if i want to add drivers x 2 times
    Captures all ok however after making the DVD Image (which is only 150kb) I booted from this and tried torestore the PC, it started ok and then prompted fo next dvd - So pressed Enter and continued to restore, well that was what i was thinking however it is still thinking about iit possible hung at this point?
    Ok restarted and the same issue - The frustrating thing now is that i need to re-install windows 7 as by trying to restore it runs diskpart - clean, so will re-install windows now and test for a 2nd time. - Ok this time all went well created a dvd size = 2749gb so looks promising maybe the issue was with "Virtual PC", will not test the recovery from the DVD - this time to a newly created hard drive within Virtual PC...
     
  4. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    Ok, Same issue now with the Recovery is asking for the next disk, If i press ok it just pops up again...... Thats a shame...... ?
     
  5. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,254
    1,537
    60
    Hum... is, by any "chance" space in your username in Windows?
    Can you give me the full path for %TMP% ? (Open command prompt, and type echo %TMP%).
    I just saw that my "COPY_TO_DVD.CMD" script does not support path with space in it.
    I will correct it and post a new version later.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,254
    1,537
    60
    Also, can you check for the presence of the file HDDC.WIM in the WIM folder on the recovery partition?
    You will have to assing it a letter with DISKPART.

    Also, can you give me the content of the file FullRestore.DVD on the first DVD? This file identifies how many disk was needed for the restore by giving the name of the last file.

    I am currently tring DVD creation with UAC on (I made all my test using UAC off).

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,254
    1,537
    60
    Also, how much free space do you have on C:\ ?
    To create a DVD/USB key, you need 2.5times the size of HDDC.WIM.
    (The file is copied on the C:\ and then compressed, the the copy of the WIM file is deleted and ISO are created, then temp file are deleted).
    I can modify the script to compress directly from the original file on the Recovery partition, but this mean that the drive will be available longer to the user, which is not a good idea in my opinion, while copying the file locally take more time, but reduce the chance that the user mess up the recovery partition).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,254
    1,537
    60
    Ok, I modified the way the script create DVD.
    RAR files are created directly from original WIM file, not from a copy.
    It is faster and take less space on the C drive.

    Creating a USB key do not take any space on C drive. Filed a directly copied/compressed on the destination drive.

    Currently, I am unable to replicate the error you had.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,254
    1,537
    60
    Version 1.0.5 is out :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    Thanks and a few answers. no space in user name, available free space on c: is 45Gigs, UAC Off and also FullRestore.DVD.0
     
  11. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    Nope, Got the same issue, makes the DVD 2.8Gigs and boots ok into recovery, but still askes for the next disk?
     
  12. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,254
    1,537
    60
    Since the value of FullRestore.DVD is 0, that mean my script is unable to identify the last file made.
    I will write a version on my script which will write a log file. It may help me to understant what is happening.

    Thanks so much for your time btw! A "developper" is nothing without beta-tester :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,254
    1,537
    60
    #33 AnarethoS, Sep 16, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    To help me understand what is not working, I would like you to edit the file COPY_TO_DVD.CMD that is in the following folder
    C:\Program Files\System Recovery Media Creator

    Then, replace the whole content of the file with that
    Code:
    @Echo Off
    SET LOGFILE="%USERPROFILE%\DESKTOP\DEBUG.LOG"
    
    IF EXIST "%TMP%\RECOVERY" ECHO Recovery folder exist>%LOGFILE%
    IF NOT EXIST "%TMP%\RECOVERY" ECHO Recovery folder does not exist>%LOGFILE%
    ECHO Current path is : %CD%>>%LOGFILE%
    ECHO Current TMP value is : %TMP%>>%LOGFILE%
    ECHO *****************************>>%LOGFILE%
    
    SET LASTFILE=0
    RD /S /Q "%TMP%\RECOVERY"
    MD "%TMP%\RECOVERY"
    XCOPY ".\FilesDVD\*.*" /sevhky "%TMP%\RECOVERY"
    DISKPART /S Mount.txt
    ECHO Content of the recovery partition>>%LOGFILE%
    DIR /S /A "R:\">>%LOGFILE%
    ECHO *****************************>>%LOGFILE%
    
    MD "%TMP%\RECOVERY\DISK1\FILES\WINPE"
    MD "%TMP%\RECOVERY\DISK1\FILES\WIM"
    XCOPY /SEVHK "R:\WINPE\*.*" "%TMP%\RECOVERY\DISK1\FILES\WINPE\"
    ECHO Content of the recovery folder>>%LOGFILE%
    DIR /S /A "%TMP%\RECOVERY">>%LOGFILE%
    ECHO *****************************>>%LOGFILE%
    
    ECHO Compressing file>>%LOGFILE%
    RAR a -m0 -rr -v3145728 -vn "%TMP%\RECOVERY\TEMP\HDDC.R01" "R:\WIM\HDDC.WIM"
    ECHO Content of the TEMP folder>>%LOGFILE%
    DIR /S /A "%TMP%\RECOVERY\TEMP">>%LOGFILE%
    ECHO *****************************>>%LOGFILE%
    
    FOR /D %%I in (1 2 3 4 5 6 7 8 9) DO ( IF EXIST "%TMP%\RECOVERY\TEMP\HDDC.R0%%I" MOVE "%TMP%\RECOVERY\TEMP\HDDC.R0%%I" "%TMP%\RECOVERY\DISK%%I\FILES\WIM" )
    ECHO Files has been moved to destination folder>>%LOGFILE%
    ECHO Content of the folder>>%LOGFILE%
    DIR /S /A "%TMP%\RECOVERY">>%LOGFILE%
    ECHO *****************************>>%LOGFILE%
    
    ECHO Attribute of FullRestore.DVD>>%LOGFILE%
    ATTRIB "%TMP%\RECOVERY\DISK1\FullRestore.DVD">>%LOGFILE%
    ECHO Current LASTFILE IS : "%LASTFILE%">>%LOGFILE%
    FOR /D %%I in (1 2 3 4 5 6 7 8 9) DO (IF EXIST "%TMP%\RECOVERY\DISK%%I\FILES\WIM\HDDC.R0%%I" SET LASTFILE=HDDC.R0%%I 
    ECHO Now checking for the file : HDDC.R0%%I in the folder %TMP%\RECOVERY\DISK%%I>>%LOGFILE%
    IF EXIST "%TMP%\RECOVERY\DISK%%I\FILES\WIM\HDDC.R0%%I" ECHO The file exist>>%LOGFILE%
    IF NOT EXIST "%TMP%\RECOVERY\DISK%%I\FILES\WIM\HDDC.R0%%I" ECHO The file does NOT exist>>%LOGFILE%)
    ECHO %LASTFILE%>"%TMP%\RECOVERY\DISK1\FullRestore.DVD"
    ECHO Last file value (new) : %LASTFILE%>>%LOGFILE%
    ECHO Content of FullRestore.DVD>>%LOGFILE%
    TYPE "%TMP%\RECOVERY\DISK1\FULLRESTORE.DVD">>%LOGFILE%
    ECHO *****************************>>%LOGFILE%
    
    OSCDIMG.EXE -o -LDISK1 -n -Betfsboot.com -m "%TMP%\RECOVERY\DISK1" "%TMP%\RECOVERY\DISK1.ISO"
    RD /S /Q "%TMP%\RECOVERY\DISK1"
    
    FOR /D %%I in (2 3 4 5 6 7 8 9) DO (IF EXIST "%TMP%\RECOVERY\DISK%%I\FILES\WIM\HDDC.R0%%I" OSCDIMG.EXE -o -LDISK%%I -n -m "%TMP%\RECOVERY\DISK%%I" "%TMP%\RECOVERY\DISK%%I.ISO" 
    RD /S /Q "%TMP%\RECOVERY\DISK%%I")
    
    MD "%USERPROFILE%\DESKTOP\Backup"
    MOVE "%TMP%\RECOVERY\*.ISO" "%USERPROFILE%\Desktop\Backup"
    
    RD /S /Q "%TMP%\RECOVERY"
    DISKPART /S UnMount.txt
    
    EXIT
    
    Save the file and start the creation of the DVD set.

    A new file will be written on your desktop, named DEBUG.LOG. Please send-it to me.

    Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    OK, will do as asked and send youthe file
     
  15. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    here you go..
    Recovery folder does not exist
    Current path is : C:\Program Files\SYSTEM RECOVERY MEDIA CREATOR
    Current TMP value is : C:\Users\orm\AppData\Local\Temp
    *****************************
    Content of the recovery partition
    Volume in drive R is recovery
    Volume Serial Number is 5449-5D43

    Directory of R:\

    16/09/2010 09:09 <DIR> System Volume Information
    16/09/2010 18:52 <DIR> WIM
    16/09/2010 09:32 <DIR> WINPE
    0 File(s) 0 bytes

    Directory of R:\WIM

    16/09/2010 18:52 <DIR> .
    16/09/2010 18:52 <DIR> ..
    16/09/2010 18:52 2,643,677,698 hddc.wim
    1 File(s) 2,643,677,698 bytes

    Directory of R:\WINPE

    16/09/2010 09:32 <DIR> .
    16/09/2010 09:32 <DIR> ..
    16/09/2010 18:52 28,672 BcdTemp
    16/09/2010 18:52 25,600 BcdTemp.LOG
    16/09/2010 09:32 0 BcdTemp.LOG1
    16/09/2010 09:32 0 BcdTemp.LOG2
    10/06/2009 22:44 3,170,304 BOOT.SDI
    16/09/2010 09:23 154,347,057 WINPE.WIM
    6 File(s) 157,571,633 bytes

    Total Files Listed:
    7 File(s) 2,801,249,331 bytes
    7 Dir(s) 9,689,243,648 bytes free
    *****************************
    Content of the recovery folder
    Volume in drive C is windows
    Volume Serial Number is 108E-E5D4

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> DISK1
    16/09/2010 20:12 <DIR> DISK2
    16/09/2010 20:12 <DIR> DISK3
    16/09/2010 20:12 <DIR> DISK4
    16/09/2010 20:12 <DIR> DISK5
    16/09/2010 20:12 <DIR> DISK6
    16/09/2010 20:12 <DIR> DISK7
    16/09/2010 20:12 <DIR> DISK8
    16/09/2010 20:12 <DIR> DISK9
    16/09/2010 07:57 <DIR> TEMP
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> BOOT
    14/07/2009 02:38 383,562 bootmgr
    16/09/2010 20:12 <DIR> FILES
    05/09/2010 19:47 0 FULLRESTORE.DVD
    2 File(s) 383,562 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1\BOOT

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    08/09/2010 15:17 262,144 BCD
    10/06/2009 22:44 3,170,304 boot.sdi
    16/09/2010 20:12 <DIR> en-US
    10/06/2009 22:14 4,096 etfsboot.com
    3 File(s) 3,436,544 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1\BOOT\en-US

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    10/06/2009 23:14 1,024 bootfix.bin
    1 File(s) 1,024 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> WIM
    16/09/2010 20:12 <DIR> WINPE
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1\FILES\WIM

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    20/07/2009 14:15 378,368 RAR.EXE
    1 File(s) 378,368 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1\FILES\WINPE

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 18:52 28,672 BcdTemp
    16/09/2010 18:52 25,600 BcdTemp.LOG
    16/09/2010 09:32 0 BcdTemp.LOG1
    16/09/2010 09:32 0 BcdTemp.LOG2
    10/06/2009 22:44 3,170,304 BOOT.SDI
    16/09/2010 09:23 154,347,057 WINPE.WIM
    6 File(s) 157,571,633 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK2

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK2\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK2\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK3

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK3\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK3\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK4

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK4\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK4\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK5

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK5\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK5\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK6

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK6\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK6\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK7

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK7\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK7\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK8

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK8\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK8\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK9

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK9\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK9\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\TEMP

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Total Files Listed:
    13 File(s) 161,771,131 bytes
    95 Dir(s) 45,449,228,288 bytes free
    *****************************
    Compressing file
    Content of the TEMP folder
    Volume in drive C is windows
    Volume Serial Number is 108E-E5D4

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\TEMP

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:17 2,669,868,000 HDDC.R01
    1 File(s) 2,669,868,000 bytes

    Total Files Listed:
    1 File(s) 2,669,868,000 bytes
    2 Dir(s) 42,779,668,480 bytes free
    *****************************
    Files has been moved to destination folder
    Content of the folder
    Volume in drive C is windows
    Volume Serial Number is 108E-E5D4

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> DISK1
    16/09/2010 20:12 <DIR> DISK2
    16/09/2010 20:12 <DIR> DISK3
    16/09/2010 20:12 <DIR> DISK4
    16/09/2010 20:12 <DIR> DISK5
    16/09/2010 20:12 <DIR> DISK6
    16/09/2010 20:12 <DIR> DISK7
    16/09/2010 20:12 <DIR> DISK8
    16/09/2010 20:12 <DIR> DISK9
    16/09/2010 20:17 <DIR> TEMP
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> BOOT
    14/07/2009 02:38 383,562 bootmgr
    16/09/2010 20:12 <DIR> FILES
    05/09/2010 19:47 0 FULLRESTORE.DVD
    2 File(s) 383,562 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1\BOOT

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    08/09/2010 15:17 262,144 BCD
    10/06/2009 22:44 3,170,304 boot.sdi
    16/09/2010 20:12 <DIR> en-US
    10/06/2009 22:14 4,096 etfsboot.com
    3 File(s) 3,436,544 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1\BOOT\en-US

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    10/06/2009 23:14 1,024 bootfix.bin
    1 File(s) 1,024 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:17 <DIR> WIM
    16/09/2010 20:12 <DIR> WINPE
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1\FILES\WIM

    16/09/2010 20:17 <DIR> .
    16/09/2010 20:17 <DIR> ..
    16/09/2010 20:17 2,669,868,000 HDDC.R01
    20/07/2009 14:15 378,368 RAR.EXE
    2 File(s) 2,670,246,368 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1\FILES\WINPE

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 18:52 28,672 BcdTemp
    16/09/2010 18:52 25,600 BcdTemp.LOG
    16/09/2010 09:32 0 BcdTemp.LOG1
    16/09/2010 09:32 0 BcdTemp.LOG2
    10/06/2009 22:44 3,170,304 BOOT.SDI
    16/09/2010 09:23 154,347,057 WINPE.WIM
    6 File(s) 157,571,633 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK2

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK2\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK2\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK3

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK3\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK3\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK4

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK4\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK4\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK5

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK5\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK5\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK6

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK6\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK6\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK7

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK7\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK7\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK8

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK8\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK8\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK9

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 20:12 <DIR> FILES
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK9\FILES

    16/09/2010 20:12 <DIR> .
    16/09/2010 20:12 <DIR> ..
    16/09/2010 07:57 <DIR> WIM
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK9\FILES\WIM

    16/09/2010 07:57 <DIR> .
    16/09/2010 07:57 <DIR> ..
    0 File(s) 0 bytes

    Directory of C:\Users\orm\AppData\Local\Temp\RECOVERY\TEMP

    16/09/2010 20:17 <DIR> .
    16/09/2010 20:17 <DIR> ..
    0 File(s) 0 bytes

    Total Files Listed:
    14 File(s) 2,831,639,131 bytes
    95 Dir(s) 42,779,656,192 bytes free
    *****************************
    Attribute of FullRestore.DVD
    A R I C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1\FULLRESTORE.DVD
    Current LASTFILE IS : "0"
    Now checking for the file : HDDC.R01 in the folder C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1
    The file exist
    Now checking for the file : HDDC.R02 in the folder C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK2
    The file does NOT exist
    Now checking for the file : HDDC.R03 in the folder C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK3
    The file does NOT exist
    Now checking for the file : HDDC.R04 in the folder C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK4
    The file does NOT exist
    Now checking for the file : HDDC.R05 in the folder C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK5
    The file does NOT exist
    Now checking for the file : HDDC.R06 in the folder C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK6
    The file does NOT exist
    Now checking for the file : HDDC.R07 in the folder C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK7
    The file does NOT exist
    Now checking for the file : HDDC.R08 in the folder C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK8
    The file does NOT exist
    Now checking for the file : HDDC.R09 in the folder C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK9
    The file does NOT exist
    Last file value (new) : HDDC.R01
    Content of FullRestore.DVD
    *****************************
     
  16. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,254
    1,537
    60
    Problem found!
    A R I C:\Users\orm\AppData\Local\Temp\RECOVERY\DISK1\FULLRESTORE.DVD
    The file FULLRESTORE.DVD is READ-Only, so my scritp is unable to write the last name of the file in it.

    I will modify my script to fix that in the next version.

    Are-you installing my script from a DVD/CD or a read-only location or what?

    In the mean time, if you want to test, simply delete the following file from the computer BEFORE starting the DVD creation process :
    C:\Program Files\SYSTEM RECOVERY MEDIA CREATOR\FilesDVD\DISK1\FullRestore.DVD

    Thanks :D

    then, it sould works.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    Installing from an ISO and great news, lok forward to the update Well done!
     
  18. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,254
    1,537
    60
    Version 1.0.6 is out!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,254
    1,537
    60
    #39 AnarethoS, Sep 17, 2010
    Last edited by a moderator: Apr 20, 2017
    (OP)
    Here is more information how to make my package work with multiple partition

    To work, my packge need you to comply with this partition configuration :
    Code:
    Partition 1 : Recovvery partition, 12gb
    Partition 2 : System (bootable) partition, 300mb
    Partition 3 : Windows partition
    
    The recovery tools can also support partition after the Windows partition. They will be completly ignored. So, you can have the following configuration without any problem.
    Code:
    Partition 1 : Recovvery partition, 12gb
    Partition 2 : System (bootable) partition, 300mb
    Partition 3 : Windows partition
    Partition 4 : Data
    Partition 5 : Music
    
    BUT, IF YOU PLAN TO USE THE DVD/USB KEY RECOVERY, YOU MUST MODIFY 2 FILES, OTHERWISE YOU WILL LOOSE EVERYTHING ON YOU DISK, ON ALL PARTITIONS!
    Edit the following 2 files BEFORE INSTALLING THE RECOVERY TOOLS:
    Code:
    <PlatForm>\<Language>\Scripts\Custom\FullRestore\HddPrep.txt
    <PlatForm>\<Language>\Scripts\Custom\FullRestoreDvd\HddPrep.txt
    
    Currently, these file delete all partition from the primary disk, then create 3 partition (Recovery, System, Windows). You will have to modify them to NOT DELETE partition, but just format the RECOVERY, SYSTEM and WINDOWS partition. Also, letter R must be assigned to the recovery partition, S to the System partition and W to the Windows partition.

    Here is how to make it work with my second example (5 partition):
    Code:
    SELECT DISK 0
    SELECT PARTITION 1
    FORMAT FS=NTFS QUICK LABEL=RECOVERY
    ASSIGN LETTER R
    SELECT PARTITION 2
    FORMAT FS=NTFS QUICK LABEL=SYSTEM
    ACTIVE
    ASSIGN LETTER S
    SELECT PARTITION 3
    FORMAT FS=NTFS QUICK LABEL=WINDOWS
    ASSIGN LETTER W
    
    This will delete the content of the Windows/Recovery/System partition without touching other partition.
    But this will also prevent the DVD/USB recovery media to works on the computer is you have changed your hard-drive (no partitions on it). You will have to create your partition by hand before starting the recovery process.

    Hopw it is more clear now :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. NICK@NUMBER11

    NICK@NUMBER11 MDL Expert

    Mar 23, 2010
    1,503
    720
    60
    Testing now ...