OEM Recovery Partition Creator for Windows

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

  1. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    @ technomaster
    I have been reading your results the last few days and I am wondering if you use sysprep tool to reboot into audit mode again after you do the installations of your apps. Some apps require reboot in order to finish installing plus some dont give option for other users to have access to it. Audit mode is a temp area for mostly driver installs not so much apps....even my new dell installs apps at setupcomplete time and not done in audit mode.

    Try rebooting into audit mode after you do your installations using the sys prep tool. Might find more apps install then but question would be if installed for your user profile when windows installation is complete and then restore it.

    NOD32 and .Net Framework requires reboot.
    Chrome shouldnt but is user controlled so I bet it wont install correctly after the windows installation....User profile is used so might have to do setupcomplete on that one for sure.
    If using silent install switches to install apps you will not get option of which users to install to. Plus in Audit mode no users have been setup yet for windows installation hasnt completed yet.
     
  2. technomaster

    technomaster MDL Junior Member

    Nov 4, 2012
    81
    16
    0
    You are right some appz/driver neend restart so they integrate or mix up with operating system but the problem is i restart my os after i done installing 2apps or 2 drivers this is my route en bcoz some time if you dont restart windows some drives or software might cause problem in windows ... in my case i don't knw what i missing or doing wrong these two or three apps really making trouble for me :(
     
  3. Kiwonks

    Kiwonks MDL Novice

    Aug 9, 2009
    13
    0
    0
    please someone help me..
    i'm creating partition base on Microsoft partition (manually)
    but recovery /refresh win8 not working..

    here is my disk scheme:

    DISKPART> list volume

    Volume ### Ltr Label Fs Type Size Status Info
    ---------- --- ----------- ----- ---------- ------- --------- --------
    Volume 2 C Windows NTFS Partition 244 GB Healthy Boot
    Volume 3 D Data NTFS Partition 439 GB Healthy
    Volume 4 Windows RE NTFS Partition 300 MB Healthy Hidden
    Volume 5 SYSTEM FAT32 Partition 100 MB Healthy System
    Volume 6 Recovery im NTFS Partition 14 GB Healthy Hidden

    DISKPART> list partition

    Partition ### Type Size Offset
    ------------- ---------------- ------- -------
    * Partition 1 Recovery 300 MB 1024 KB
    Partition 2 System 100 MB 301 MB
    Partition 3 Reserved 128 MB 401 MB
    Partition 4 Primary 244 GB 529 MB
    Partition 5 Primary 439 GB 244 GB
    Partition 6 Recovery 14 GB 683 GB

    all process in audit mode (alt+shift+f3)
    boot with winpe.

    reassign partition
    diskpart
    select disk 0
    select partition 1
    assign letter="T"
    select partition 2
    assign letter="S"
    select partition 4
    assign letter="W"
    select partition 5
    assign letter="D"
    select partition 6
    assign letter="R"
    list volume
    exit

    DISM:
    md R:\RecoveryImage
    Dism /Capture-Image /CaptureDir:W:\ /ImageFile:R:\RecoveryImage\install.wim /Name:"Recovery image" =completed


    ATTRIB -S -R -H C:\Windows\System32\Recovery\*.* /S

    md T:\Recovery\WindowsRE
    copy W:\windows\system32\recovery\winre.wim T:\Recovery\WindowsRE\winre.wim <== failed ( no file in recovery folder)
    ~so I extracted from dvd iso.. copy to recovery folder and proceed with
    copy W:\windows\system32\recovery\winre.wim T:\Recovery\WindowsRE\winre.wim <==failed ( no spacy left)

    and I proceed to Register the locations of the Recovery image.

    W:\Windows\System32\reagentc /setreimage /path T:\Recovery\WindowsRE /target W:\Windows
    W:\Windows\System32\reagentc /setosimage /path R:\RecoveryImage /target W:\Windows /index 1


    hide partition :
    select disk 0
    select partition 1
    remove
    set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
    gpt attributes=0x8000000000000001
    select partition 6
    remove
    set id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
    gpt attributes=0x8000000000000001


    and then restart > boot > oobe >

    and this is the result

    C:\Windows\system32>Reagentc /info /target W:
    REAGENTC.EXE: The target Windows installation was not found.


    C:\Windows\system32>Reagentc /info
    Windows Recovery Environment (Windows RE) and system reset configuration
    information:

    Windows RE status: Enabled
    Windows RE location: \\?\GLOBALROOT\device\harddisk0\partition1\Recove
    ry\WindowsRE
    Boot Configuration Data (BCD) identifier: aecdbb70-42be-11e2-8df6-9bb3d5a374
    16
    Recovery image location: \\?\GLOBALROOT\device\harddisk0\partition6\Recove
    ryImage
    Recovery image index: 1
    Custom image location:
    Custom image index: 0

    REAGENTC.EXE: Operation Successful.

    how to repair this problems...
     
  4. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,200
    1,403
    60
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. Flipp3r

    Flipp3r MDL Expert

    Feb 11, 2009
    1,743
    772
    60
    You need to setup winre before you sysprep. If you run reagetc /info /target w:\windows (or whatever the command is) then you'll see Windows has moved it to W:\blah\blah folder already....
     
  6. Kiwonks

    Kiwonks MDL Novice

    Aug 9, 2009
    13
    0
    0
    thank guys for the info.

    I don't know what I did.. but when I tried to reinstall win8 and I see Partition 1 Recovery 300 MB ; 70 MB left.. and I think winre image already in there.
    abort installation , and try to refresh installation menu inside windows an it WORKS.

    refresh : work.
    reinstall windows : work in windows partition only.
    and recapture windows work too after reinstall, with winpe boot by remove recovery image partition and recapture it again.
    :biggrin:
     
  7. cloudi32003

    cloudi32003 MDL Novice

    Sep 15, 2010
    6
    0
    0
    Windows 7/8 - OEM Recovery Partition Creator

    Hey everyone,

    Would need some help here, after installing windows using autoattend.xml and boot to audit mode.

    Some one please kindly explain the steps to do. I'm struck at audit mode and dont know where to go. I'm installing windows 7. Thank you.

    Cheers.
    :biggrin: :confused:
     
  8. technomaster

    technomaster MDL Junior Member

    Nov 4, 2012
    81
    16
    0
    Just install your required drivers and what appz you need... when you restore your OS from recovery mode your installed drivers,appz will restore which you installed in audit mode after recovery complete your OS will be refresh like you install windows first time :rolleyes: When you install all things run the basic version 1.3.13 for 32bit OS you click on x86 and 64bit AMD64 .... For further guide read documentation :)
     
  9. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,200
    1,403
    60
    @cloudi32003

    I just answered your PM.

    Btw, I would suggest you to put your question here juste in case someone else can answer it... you won't have to wait for me :p
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. chryses

    chryses MDL Junior Member

    Mar 23, 2011
    52
    4
    0
    Tnx for you continuos support :worthy:

    Two simple question:

    1. It's possible to manage the script so after the computer reboot in audit mode, I had the install folder on the desktop?
    2. Ther's any way to "edit" the boot phase so I can chose if I want to boot with the AutoUnattend mode or the "normal" mode (the normal mode for me is without the recovery function)
    In this mode I can put all the file together on one cd :)

    J
     
  11. cloudi32003

    cloudi32003 MDL Novice

    Sep 15, 2010
    6
    0
    0
    Hey everyone, so after i ran auto-attend xml and can boot to audit mode. The latest Basic1.3.13, Windows 7 Recovery Tools folder where do i place it at ?

    When I run Update_Settings, it keep prompt me this. Please kindly anyone can guide me with this. Thanks.

    An error occured while updating the settings.
    Please be sure to run this script from a
    writable source where your credentials allow
    you to write.
    Script unusable.
     
  12. technomaster

    technomaster MDL Junior Member

    Nov 4, 2012
    81
    16
    0
    You can place this folder anywhere in your root its not necessary even if u run the tool form your pen drive its work.... did you copy Example Setting and paste in settings folder..???
     
  13. cloudi32003

    cloudi32003 MDL Novice

    Sep 15, 2010
    6
    0
    0
    Hi Technomaster,

    Yes i run it from the thumbdrive, where i copy the Example settings to the settings folder and ran the update_settings, it keep giving me An error. :confused:
     
  14. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,794
    90
    AnarethoS

    I just used the new package .13 on my dell n5010 since my warrenty is over....I did notice something but dont know if you can hide it....the recovery partition is visible in windows disk defrag.....so is system for that matter.....will it corrupt those partitions if someone defrags system and recovery partitions? Thought I would ask. If it doesnt matter then I dont care just was wondering. If it can cause issues then how can a user protect their computer from corruption (like if their kid gets on it and defrags, lol)? Happy holidays to you by the way.
     
  15. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,200
    1,403
    60
    Can't hide it since it is still a Windows partition. Partition also shown in the system recovery (system protection).
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  16. Satya318

    Satya318 MDL Novice

    Dec 8, 2012
    5
    0
    0
    View attachment 19944
    So Can any one please help me create the partition layout given in the picture using Anarethos Basic Recovery Tool.I mean I want to edit the xml file and all concerned files so that I could get that partition layout
     
  17. The Devils Killer

    The Devils Killer MDL Novice

    Aug 24, 2012
    13
    2
    0
  18. hijacker83

    hijacker83 MDL Novice

    Dec 21, 2012
    2
    0
    0
    Hey guys!
    I am trying to create recovery partition which don't work anymore after I installed windows 8.

    I have asus laptop both operation systems windows7 and windows8.

    I read the instructions and i didn't understood few of them.

    2.2 Preparing the USB drive
    1. From the “AutoUnattend” folder, under either the “GPT” or “MBR” folder, copy the
    “AutoUnattend.xml” file to the root of an USB key
    2. From the “Settings – Examples”, under either the “GPT” or “MBR” folder, copy all files to
    the “Settings” folder
    3. Run the “Update_Settings.cmd” script
    4. Copy the configured package to the USB key or the installation CD

    I copied all files and folders of Windows 7 Recovery Tools folder to my kingston usb disk.

    2.3 Installing Windows
    1. Connect the USB key to the target computer and start Windows installation
    2. Select to install Windows

    I connected usb disk and received "insert boot disk and press any key" notification.

    Where should I install windows 7 and windows 8 from dvd or from usb? Do I have to reinstall them? I have important datas on hdd should i backup up them? How should i procceed? I will be greatfull If you could reply. Thanks for help.
     
  19. Satya318

    Satya318 MDL Novice

    Dec 8, 2012
    5
    0
    0
    Dear AnarethoS

    I am using Sony Vaio SVE15113ENB and whenever I click on ASSIST button it loads Windows RE via Vaio care rescue.So I want to ask you Can I create a recovery partition like sony ,I mean,When I launch the recovery wizard it will open via VAIO care rescue.Please help me.
     
  20. technomaster

    technomaster MDL Junior Member

    Nov 4, 2012
    81
    16
    0