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,297
    1,587
    60
    @Per Henrik Rasmussen
    Can you open a command prompt and type the following command please : echo %PROCESSOR_ARCHITECTURE%

    Is the result x86, x64 or AMD64 ?
    I just checked on a 64bits computer and I got AMD64, so maybe I was wrong with the naming of some files/folders for 64 bits system. The new BETA5 now use AMD64 for the failes names. Also, I made a 64bits installer, maybe SYSPREP does not like to be launched from a 32bits process.

    @TCNTAD
    Edit the SETTINGS.INI file in C:\Program File\RecoveryCreator and set the DebugLevel to 5 instead of 1. You will be able to folow all step on screen. Thanks!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. Per Henrik Rasmussen

    Mar 29, 2008
    112
    13
    10
    I did that on my main comp and AMD64 was the result
    But rigt now i started to install the 32bit on my test comp.
    I`ll test with the beta5 an later i`ll try with the 64bit version and post results
    Thx
    :rolleyes:
     
  3. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,591
    1,587
    150
    Will try that thanks!
     
  4. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,591
    1,587
    150
    btw can you let it make an install.wim file so you can replace the one on a normal windows 7 dvd? Maybe an optional thingy?.
     
  5. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Thanks for the info!

    Also, I made a test here. A 32-bit installer CAN NOT execute a 64-bit version of SYSPREP.
    So you will have to use the 64-bit installer instead. It is now included in the latest beta version.

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

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Due to the fact that the main goal of this software is to have a recovery solution for a particular computer, having the option of using a regular Windows setup is not a good idea, so I will not add the option.

    BUT, here is a simple way to do it yourself :
    - First, if you want you image to be used on all computer and not only the one you are installing Windows into, do not install any drivers and check the GENERALIZE option, uncheck KEEP DRIVERS and check REARM
    - Once capture is completed, mount the recovery partition, either by using diskpart OR using disk management and assing it a letter
    - In the WIM folder, copy all SWM file (Image.swm, Image1.swm, Image2.swm and so on)
    - Rename them to Install.swm, Install2.swm, Install3.swm, and so on.
    - Copy you Windows 7 DVD to a folder
    - Delete the Install.wim file and copy all Install*.swm file there
    - Create an ISO of all this. You will find a guide on the net to tell you how. If the image size is too big, you will have to make multiple DVD, putting the Image2.swm file on DVD 2, Image3.swm on DVD 3 and so on. In that cas, simply create a sources folder on the DVD and put the file into it and burn.
    - Good luck!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Also, if you don't care about the ability to resize partition during setup, you can create a GENERIC image of a Windows installation (GENERALIZE, REARM, Do not keep drivers), create the capture image and create a DVD restore set to use as a new basic installation on every computer.

    - Then, on the target computer, boot the DVD, restore everything
    - Tehn, on the welcome screen, simply switch to AUDIT mode (CTRL+SHIFT+F3)
    - Install drivers and update to your basic installation
    - The mount the recovery partition by assigning it a letter and delete all files from the WIM folder
    - Then, simply execute the following command from a command prompt (it will rearm the image, but will not delete drivers) : "c:\windows\system32\sysprep.exe /oobe /quit"
    - Then, launch the "Recovery tools and media creator" and select to reboot the computer
    - The recovery tools should ask to create an image, select yes.
    - Done!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  8. Per Henrik Rasmussen

    Mar 29, 2008
    112
    13
    10
    Everything went well on the 32bit version.
    could you ad an option tab "Restart computer"
    I waited a long time after the procedure of copying to the RECOVERY partition
    And had to use the power button to shut down and restart.
    I also used the F8 option and reinstalled Windows
    Everything went well but again i had to use power button.
    In AUDIT mode i changed a lot of settings, desktop background an the windows logon screen.
    Is there a way to keep this after sysprep course it changed to default
    :biggrin:
     
  9. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    There is not easy way except creating a second user account and copying the Administrator account into the "Default User" account. No good.
    Other option : Do not switch to AUDIT mode. Simply creater the partition, installed Windows as regular, install softwares etc. BUT, sometimes, making a backup image of a "full-install" do not works well. Try it, it may works for you.

    BTW, simply closing the main Windows, while in the recovery tools, will reboot the computer. If it does not, then event adding a button to do it will not works.

    Did you test the restore from the recovery partition and from a DVD set?
    Can you try from a USB key?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    New version is out! Beta-6

    This version includ the option to create a "generic" image. The generic image will works on all computer. When the image is capture, the computer is in AUDIT mode. That means that you can create a Windows image including all you r softwares and then create the generic image. Then, restore the generic image on the end-user computer, install drivers, sysprep and capture. So, if you install many time the same version of Windows 7 with always the same softwares on many computer, it will save your time.

    See the Installation section for more detail in the instructions guide.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Per Henrik Rasmussen

    Mar 29, 2008
    112
    13
    10
    Ok
    That would be very very nice if that was possibly
    I did close main window in the recovery tools but it did`nt restart.
    But that`s maybe only an issue on my comp
    (MB: Intel DG31PR)
    I`ve only tested recovery from recovery partition i do`nt have a USB stick big enough.
    Will try the DVD option later
    Right now i`m installing the 64bit version and will test beta5 on it.
    :hug2:
     
  12. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Thanks.
    Beta 7 will have the Reboot/Shutdown option :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  13. Per Henrik Rasmussen

    Mar 29, 2008
    112
    13
    10
    I`ll Customize the Install DVD with RT7Lite or 7Customizer.
    With these tools i can change default settings, desktop background and Logonscreen
     
  14. Per Henrik Rasmussen

    Mar 29, 2008
    112
    13
    10
    Everything went well using beta 6 on 64bit version.
    Just a little issue
    earlier installers was automaticly pointing to C:/Programfiles (X86)
    but v.5 and 6 dos`nt
    Did`nt try the DVD option yet
    No more media so i`ll have to buy some tomorrow
     
  15. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Oh weel, simple error when creating the WinRar file. Final version will have that fixed with banner image and welcome text.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    I don't really know what the software does, but I know that when the computer "switch" back from AUDIT mode to OOBE (welcome screen), the setupcomplete.cmd script is run.

    So, while in AUDIT mode, you can put your scripts to C:\Windows\Setup\Scripts and put the SETUPCOMPLETE.CMD file there. Just ask it to run the softwares you want and it should works. Yo may use this script to change registry key to change the welcome screen background and so on.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Per Henrik Rasmussen

    Mar 29, 2008
    112
    13
    10
    That sound`s very complicated
    I would rather know where the logonscreen file is located on the install DVD and change it there.
    But thx anyway
    I think my question should be asked in another thread
    So sorry being off topic
    :eek:
     
  18. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    C:\Windows\System32\oobe\info\backgrounds

    You will need to apply some modification to the registry, saddly, I don't know them. I use a software to change the background for me.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...