OEM Recovery Partition Creator for Windows

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

  1. Per Henrik Rasmussen

    Mar 29, 2008
    112
    13
    10
    Ok
    i just thougt that this could be made so that after using the Generic option it would switch back to default.
    Maybe i`m a power user but here i try to se it from a novice`s point of wiev in an atempt help making Recovery Tool as foolproff as posibly
     
  2. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    It could be done, BUT, the problem is when my script does a Repair/Reinstall, it recreate the Boot manager, thus "killing" the option to boot the M$ Recovery Environment. Same when restoring from DVD/USB. This could create a problem to access the recovery tools when needed.

    AND with windows installationg that are multilingual (like mine), launching the M$ Recovery tools from my custom tools is always in english, since they are not the default shell, while using the real recovery repair option show in the same language as the os. I prefer to keep them seperate.

    Changing that will also force mean to modify a lot of scripts and boot entry (Recovery creator, script to modify the boot loader, script to add the boot entries, directory structures, etc.)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Well, to be "fullproff", the user should not have to play with DiskPart, and so keep the Wipe option enabled.

    Maybe I did not understand what you want also.

    If I understand correctly, you whant the wipe option to be disabled when creating/restoring generic DVD but not with other kind of image option, in case we want to add another partition later?

    And when the restoring of the generic image is completed on the target computer, it should switch back the Wipe option to enable?

    Re-enabling the wipe option will destroy the new partition if the end-user use a DVD/Usb media, so there is no point to reenable it anyway. No?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. Per Henrik Rasmussen

    Mar 29, 2008
    112
    13
    10
    - Since my software support a "Windows Repair" option that don't erase user data, not a lot of people will need a separate DATA partition
    (that`s just an option)
    - Also, not everyone understand how to use DISKPART to create manually partitions before starting the recovery process
    (as i understand the generic disks made using the (WipeUSBDVD=0) will not force the user to use DISKPART but if they choose to go directly to Reinstall Windows only the 3 partitions (R,S and C)
    is made on the target HD)
    - Also, by forcing the user to manually create the partition, if the user create them in the wrong order, nothing will works
    ( User will not be forced to it`s just an option)
    - Also, if the end user change is hard-disk, he will not be able to use the recovery DVD/USB media unless he understand how to use diskpart since the new hard-disk won't be partitioned and keep in mind that this software was primary made to offer an easy to use option to an end-user to recover his computer. This is also why I do not recommend change the partitions layout.
    (there you got a point unless the user made a Generic Disk set)
     
  5. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    • When a GENERIC disk was made with the WIPE option DISABLE, trying to restor from them will crash if you don not create the partition by hand first.
    • When a GENERIC disk was made with the WIPE option ENABLE, restoring from them will delete all existing partition from the destion computer and create the 3 partition as specified in the settings.ini file.
    • Also, if a computer is restored from a GENERIC disk with the WIPE option DISABLED, the nes disk that the end-user will create from Windows will also have the option DISABLED.
    • If the computer is restored from a GENERIC disk with the WIPE option ENABLED, the new disk that the end-user will creator from Windows will also have the option ENBALED.

    So, if the WIPE option is DISABLE, using the DVD/USB recovery media on a new hard-disk won't work unless the partitions are created by hand first.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. Per Henrik Rasmussen

    Mar 29, 2008
    112
    13
    10
    :sorry:
    AnarethoS
    I`m so sorry for waisting your time.
    Went back to your post #317
    "Yes, this will works. Just keep in mind that when restoring either the Generic DVD set or the new set that will be made by the edn-user, partitions will have to bee created first."
    and found out that i missed the end of it
    "partitions will have to bee created first."
    Now it make sense.
    So sorry !!!!!
     
  7. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    No problems :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    OK, on my side, everything seems to be OK. I was not able to test the USB restore and the DualLayer burning. Except that, I think my software is completed.

    I will not make any more updates, except for fix and bug, for the current verions.

    It will go RC starting at next release.
    So, I am now taking translation :)
    Please send me your settings.ini file so I may add the language in my software.
    final date to send me the file : October 23th.

    Thanks to all!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. Per Henrik Rasmussen

    Mar 29, 2008
    112
    13
    10
    One last shot on this issue.

    (maybe i upcomming versions)

    I`m going to install Win7 using Generic disk` (WipeUSBDVD=0)
    on a comp. with a 500 GB HD.
    I Boot from disk 1 and in the Recovery Tools go to the CMD promt:

    Diskpart
    select disk 0
    clean
    create partition primary size=12000
    format fs=ntfs quick label=RECOVERY
    set ID=27
    assign letter=R
    create partition primary size=300
    active
    format fs=ntfs quick label=SYSTEM
    assign letter=S
    create partition primary size=200000
    format fs=ntfs quick label=WINDOWS
    assign letter=C
    create partition primary
    format fs=ntfs quick label=DATA
    assign letter=D
    exit

    Could you make an option (an "Update" tab) in Recovery Tools (not to be used from F8 boot)
    that will check if any changes has been made to the default partition layout
    ( R/RECOVERY=12000 - S/SYSTEM=300 - C(W)= depending on the HD size)

    If no changes
    It will set WipeUSBDVD=1 on both R and C

    If changes are made
    it will check the new partition layout

    and change the SETTINGS.INI on both R and C

    So it will look somthing like this:

    [Settings]
    Languages=2
    DebugLevel=0
    DiskID=0
    WipeUSBDVD=1
    RecoveryPartitionID=1
    RecoveryLetter=R:
    RecoveryLabel=RECOVERY
    BootPartitionID=2
    BootLetter=S:
    BootLabel=SYSTEM
    WindowsPartitionID=3
    WindowsLetter=W:
    WindowsLabel=WINDOWS
    Partition1Size=12000
    Partition1Type=27
    Partition1Label=RECOVERY
    Partition2Size=300
    Partition2Type=07
    Partition2Label=SYSTEM
    Partitionsize=200000
    Partition3Type=07
    Partition3Label=WINDOWS


    If this could be done then the end-user problem to make a DVD or USB backup would be solved.
    ?????
    (Ofcourse not if he/she switch to a new HD of an other size)

    I don`t agree when you say that not a lot of people will need a separate DATA/BACKUP partition.
    I think it`s practical.
    But not a lot of people will need a Windows partition that is 300 GB or more.
    Thats just waste of space.

    Best Regards
    An thanks
     
  10. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Well, I am not sure to understant your request.

    - You will be creating a GENERIC dvd disk to install a base computer, with WIPE disable

    - The target computer will have 4 partitions (Data partition after Windows partition, that you will create manually)

    - But you want my script to enable the WIPE settings? If doing so, it will destroy the Data partition if the user restore from the new (system specific) DVD/Usb, so there is no point in doing that. The WIPE settings should be enabled only on computer with 3 partitions. More that that should have the WIPE settings disabled, which is already the case with your DVD since you have disabled the WIPE settings prior to installation.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Per Henrik Rasmussen

    Mar 29, 2008
    112
    13
    10
    I just thought that changing SETTINGS.INI to
    [Settings]
    Languages=2
    DebugLevel=0
    DiskID=0
    WipeUSBDVD=1
    RecoveryPartitionID=1
    RecoveryLetter=R:
    RecoveryLabel=RECOVERY
    BootPartitionID=2
    BootLetter=S:
    BootLabel=SYSTEM
    WindowsPartitionID=3
    WindowsLetter=W:
    WindowsLabel=WINDOWS
    Partition1Size=12000
    Partition1Type=27
    Partition1Label=RECOVERY
    Partition2Size=300
    Partition2Type=07
    Partition2Label=SYSTEM
    Partition3Size=200000
    Partition3Type=07
    Partition3Label=WINDOWS

    The F8 / DVD set / USB only would wipe these 3 Partitions and leave the rest of the HD (DATA) intact
    due to that this (DATA)partition is`nt described in in this new SETTINGS.INI
     
  12. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Well, my script already does it.

    When WIPE = 1 : Delete ALL partitions, create 3 partitions as specified, format, restore
    When WIPE = 0 : Format all 3 specified partitions ( Windows, System, Recovery), Restore, Does not touch in any way other partition on disk.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Beta 12 is out.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    you welcome :)
    You method is the best (and the one I was always using), but I added the GENERIC option to give a free alternative, although not as simple as using Acronis. You could also create the 3 partitions the first time, just not install the recovery tools, so you can then restore directly from Acronis without having to use diskpart first.

    I just found another bug. The "Password" function does not work, I was putting the password file in the wrong directory. I will fix that in Beta 13.

    Have a nice day!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Beta 13 is out!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,591
    1,587
    150
    Thanks but when to unpack it, it says its Beta 12:p
    I mean the path

    Edit:

    File: RecoveryTools2.0.0Beta13.exe
    CRC-32: 7c457eea
    MD4: e003a9af54b4d2c2075471b5f8c19f97
    MD5: e14a189687c37a30bc4756a6fd389a6b
    SHA-1: 200dc319211b56a315fd1a723c6694c585a69fd9
     
  17. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Oups!
    Error on my side, sorry!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,591
    1,587
    150
    No problem, thougt i'd jsut tell you :p
     
  19. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Can you complete the settings.ini file for swedish language and send it to me? I will add it to the software.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...