OEM Recovery Partition Creator for Windows

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

  1. orionj

    orionj MDL Novice

    Aug 21, 2013
    2
    0
    0
    I had an issue using this software which I am having trouble solving. I followed all the steps, had to software load and everything looked like it worked correctly, but I could not access the windows recovery menu, the tool and whatnot. I did not show up in F7, the tool to access it for repairs in windows, and F8. The repair my computer option was also gone. Now when I used a windows 7 dvd, and did startup repair it did find a problem with the bcd for the recovery menu tools and fixed it. Then I ran a restore from F7 and it did go back to the make a user and everything worked correctly, but again I could not access the recovery tool menu and it was only able to be fixed with the repair startup from the windows 7 dvd. I am not sure what I am missing but I could not give this to a client as is. I think it might have something to do with the unattended xml.
     
  2. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    Need more detailed info then that...sounds like you didnt run the cmd in audit mode for it should have assigned function key. Did you get any errors while syspreping for recovery? What software/drivers did you install during audit mode. Were you even in audit mode? When at the desktop did it install the recovery software in start menu items? Sounds like the recovery software wasnt even installed during audit mode. Need more info please.

    I highly recommend using vmware or something simuliar for testing till you got it down pat. Then try on real machine. There are too many variables which differ with different machines so always test first.

    I have been using this software (.15 version) since it came out on different machines without any issues but it took some time for me to learn. VMware is your friend.
     
  3. orionj

    orionj MDL Novice

    Aug 21, 2013
    2
    0
    0
    I did the setup and had the autounattend script run, hence the system preparation tool pops up, I closed out the box as the instructions intended. I assume that is audit mode, hense not creating a user. I ran the setup in this mode and I didn't encounter any initial errors as the program set itself up that I noticed. I installed a few programs that I generally would such as vcl, itunes, etc. I also installed drivers for video, audio, chipset, touchpad, before running the setup, and also ran a bunch of updates.

    I let the computer reboot a few times, each time I assume it was in audit mode, as in the system preparation tool popped up each time I went into the system. I ran the software in the proper order and everything looked like it worked fine, just was missing that ability to go into the recovery tool menu, until I did the disk startup repair. I do wish there was a more efficient want to discuss this, as I am kind of terrible at the delayed responses.

    Was there a certain script I might have missed?
     
  4. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    after you install what apps and drivers you wish you then reboot just for good measure then when back into audit mode close the sysprep window then navigate to where the recovery install software is and run the install.cmd file as admin (right click and run as admin)....it will then sysprep on its own and reboot to make recovery partition (you will see it on your screen). After this is completed it will say something like it was successful and ready to give to end user. Go ahead and boot up computer to test it...let it go through the oobe and setup user name for testing. Once at desktop check to see if recovery tools have been installed (will show under start button programs. Try to then recover it to make sure it works. If that works then next during bios bootup hit F7 and see if you enter recovery partition and if so then exit. You now know that everything works so go back and boot to desktop and enter recovery tools and recovery it again then it is ready to give to end user. Hope this helps.
     
  5. nick@3btech.net

    nick@3btech.net MDL Novice

    Feb 25, 2012
    48
    4
    0
    This may be a little premature...but I am using technets recently released Windows 8.1 ISO. I am noticing that there is no winre.wim after the installation of windows in C:\Windows\System32\Recovery\.
    Obviously the capture process will not continue when it gets to this part. "IF NOT EXIST C:\Windows\System32\Recovery\Winre.Wim GOTO ERRORNOWINRE".
    Does anyone know where the location of this if now in 8.1, if anywhere??
     
  6. nick@3btech.net

    nick@3btech.net MDL Novice

    Feb 25, 2012
    48
    4
    0
    UPDATE: The winre.wim and .xml files are already on the hidden recovery partition after windows install. looks like we no longer need to copy them to that location from system32\recovery. I am editing some of the scripts now just to get it to run through and look for any other issues in the mean time.
     
  7. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,743
    772
    60
    I can confirm. When I performed an unattend & boot up in Audit mode, Winre was already copied to the Recovery/tools partition & enabled...

     
  8. nick@3btech.net

    nick@3btech.net MDL Novice

    Feb 25, 2012
    48
    4
    0
    I was able to sort through the "install.cmd" file and found a way around the winre.wim errors...here is what I changed...
    ORIGINAL:
    ECHO ==============================================
    ECHO BACKUP ORIGINAL WINDOWSRE
    ECHO ==============================================
    ATTRIB -S -R -H C:\Windows\System32\Recovery\*.* /S
    IF NOT EXIST C:\Windows\System32\Recovery\Winre.Wim GOTO ERRORNOWINRE
    IF NOT EXIST C:\Windows\System32\Recovery\Backup MD C:\Windows\System32\Recovery\Backup
    IF NOT EXIST C:\Windows\System32\Recovery\Backup\ReAgent.xml COPY C:\Windows\System32\Recovery\ReAgent.xml C:\Windows\System32\Recovery\Backup\ReAgent.xml
    IF NOT EXIST C:\Windows\System32\Recovery\Backup\WinRE.Wim COPY C:\Windows\System32\Recovery\WinRE.Wim C:\Windows\System32\Recovery\Backup\WinRE.Wim




    ECHO ==============================================
    ECHO COPYING WINDOWSRE
    ECHO ==============================================
    MD %RECOVERYLETTER%:\Capture
    MD %RECOVERYLETTER%:\Recovery\WindowsRE
    MD %IMAGELETTER%:\RecoveryImage
    COPY C:\Windows\System32\Recovery\WinRE.Wim %RECOVERYLETTER%:\Recovery\WindowsRE\WinRE.Wim
    COPY C:\Windows\System32\Recovery\WinRE.Wim %RECOVERYLETTER%:\Capture\WinRE.Wim
    COPY C:\Windows\Boot\DVD\PCAT\Boot.Sdi %RECOVERYLETTER%:\Recovery\WindowsRE\Boot.Sdi
    COPY C:\Windows\Boot\DVD\PCAT\Boot.Sdi %RECOVERYLETTER%:\Capture\Boot.Sdi
    COPY ".\RecoveryFiles\*.*" %IMAGELETTER%:\RecoveryImage


    NEW:
    ECHO ==============================================
    ECHO BACKUP ORIGINAL WINDOWSRE
    ECHO ==============================================
    ATTRIB -S -R -H C:\Windows\System32\Recovery\*.* /S
    ATTRIB -S -R -H %RECOVERYLETTER%:\Recovery\*.* /S
    IF NOT EXIST %RECOVERYLETTER%:\Recovery\WindowsRE\Winre.wim GOTO ERRORNOWINRE
    IF NOT EXIST C:\Windows\System32\Recovery\Backup MD C:\Windows\System32\Recovery\Backup
    IF NOT EXIST C:\Windows\System32\Recovery\Backup\ReAgent.xml COPY %RECOVERYLETTER%:\Recovery\WindowsRE\ReAgent.xml C:\Windows\System32\Recovery\Backup\ReAgent.xml
    IF NOT EXIST C:\Windows\System32\Recovery\Backup\Winre.wim COPY %RECOVERYLETTER%:\Recovery\WindowsRE\Winre.wim C:\Windows\System32\Recovery\Backup\Winre.wim




    ECHO ==============================================
    ECHO COPYING WINDOWSRE
    ECHO ==============================================
    MD %RECOVERYLETTER%:\Capture
    MD %IMAGELETTER%:\RecoveryImage
    COPY %RECOVERYLETTER%:\Recovery\WindowsRE\Winre.wim %RECOVERYLETTER%:\Capture\Winre.wim
    COPY %RECOVERYLETTER%:\Recovery\WindowsRE\boot.sdi %RECOVERYLETTER%:\Capture\boot.sdi
    COPY ".\RecoveryFiles\*.*" %IMAGELETTER%:\RecoveryImage
     
  9. gr1226

    gr1226 MDL Novice

    Oct 3, 2010
    1
    0
    0
    Hi Satya
    I know I'm a few months behind this but did you manage to solve your problem? I did find that I when used the oem partition creator I could install the dell backup software during sysprep this then done its "thing" and was able to recover the partition with the dell recovery manager after completing the sysprep for genralization! If you install the software after creating the partitions you will encounter various errors!
    Hope this helps
     
  10. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,200
    1,403
    60
    Hi everyone!

    I'm back from vacation. I am still working on the DVD Creator for Windows 8. Near completion for the coding. I still have a lot to test before releasing beta version. Once Windows 8 DVD version will be 100% working, I will start to work on Windows 8.1 support. Once Windows 8.1 support will be completed, I will try to implement DVD media to Windows 7.

    As for the WinRE.wim file already on the recovery partition with Windows 8.1, Windows 8 as the same "problem" when not using the Unattend.Xml file. I found that running "C:\Windows\System32\Sysprep\Sysprep.exe /audit /reboot" move the file back to C:\Windows\System32\Recovery folder. You can try that prior doing anything else on your Windows 8.1 installation. Doing so may prevent you to modify my installation file. Let me know if it works!

    Thanks for your patience everyone! BTW, I tried to answer all email and PM I got. Hope I did not forgot anyone.

    Thanks and have a nice day!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    Hope you had a good vacation. Good to see you back.
     
  12. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,227
    1,367
    150
    F-in A you're back^^
     
  13. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,200
    1,403
    60
    Thanks!

    Yes it was good. Decided to visit Ontario a little bit this time. But as always, it was too short!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  14. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,200
    1,403
    60
    Version 1.3.16-Alpha 1 is out. This version gives you the option to create DVD media for Windows 8.

    Lot of testing to do.

    Scenario to test :
    UEFI : WIM on the first partition - Done - Tested by Anarethos
    UEFI : WIM on the last partition
    BIOS : Wim on the first partition
    BIOS : Wim on the last partition
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. samehlandous

    samehlandous MDL Novice

    Sep 14, 2013
    1
    0
    0
    HI

    PLEASE HELP

    MY LAPTOP MINI AND I TRY TO INSTALL USING 2 USB DISK....BUT THERE ERROR MESSAGE VIEW

    "setup was unable to create a new system partition or locate an existing system partition"

    there is any way to resolve this

    thanks
     
  16. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,200
    1,403
    60
    Use only 1 USB key to install Windows. Copy the AutoUnattend.xml fil to the root of it and try again.

    Also, if you try to install without the AutoUnatted.xml, does in works?

    Most "mini" laptop support only BIOS/MBR and not UEFI/GPT, use the good file!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. lnstevens1976

    lnstevens1976 MDL Junior Member

    Oct 16, 2012
    72
    6
    0
    I have to say thank you to AnarethoS. I'm a Microsoft Registered Refurbisher and I install additional software onto computers we refurbish before sending them out to the clients. Prior to finding and using this I was looking at spending hundreds (and I do mean hundreds, close to a thousand) on a recovery system someone else offers (not microsoft, but linked from them).

    This has saved me that money and given me a way for customers to return to factory (refurbished) state without having to reinstall all the software, etc...

    So, for anyone else that is, this is the greatest tool yet!
     
  18. geabo

    geabo MDL Junior Member

    Mar 16, 2012
    66
    13
    0
    Hello AnarethoS

    i used the recoverytool on my own and my friends computers and today kaspersky found Trojan Horse with the name
    Backup done: Trojan.Win32.Llac.dlqs 21-09-2013 20:18:11

    x:\div_soft\basic1.3.15\wim - first partition\windows 7 recovery tools\installer\winrex86\sources\recovery\tools\fullrecovery\recoveryrex86.exe

    maybe its not safe to use the recovery solution without being hacket ?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  19. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,200
    1,403
    60
    My code is safe. My EXE are compressed with UPX and sometime detected as false positive. Use another virus scanner and you will see for yourself.

    If you feel unsafe, install AutoIt on a computer and recompile the needed AU3 file by yourself.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  20. geabo

    geabo MDL Junior Member

    Mar 16, 2012
    66
    13
    0
    ok and i feel safe with using your great recoverytool

    i now tryed to compile the source with AutoIt and kaspersky find only that it's the recoveryrex86.exe that is infected and not the recoveryreAmd64.exe and thats strange, it's using the same code

    and i made a new settings.ini with Danish Translation
    but there is missing some off the danish text i Windows when recoverytool is running
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...