OEM Recovery Partition Creator for Windows

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

  1. adrianyujs

    adrianyujs MDL Member

    Sep 26, 2012
    186
    32
    10
    Yes I have, otherwise it will failed...

    EDIT: I tried again and its success... so weird...

    And tested everything is fine, but in changelog u stated Modified installation script so Recovery partition is now hidden in Windows 7 but the partition still visible bro..
     
  2. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Curious. I will recheck everything under windows 7.

    At the same time, you are the only here not using MSDN/RTM Microsoft media but taher Dell/Hp media. I don't know what they may have put in them....
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. adrianyujs

    adrianyujs MDL Member

    Sep 26, 2012
    186
    32
    10
    Yeah I understand, the only different is using autoattend xml file..
     
  4. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    #1684 AnarethoS, Oct 29, 2012
    Last edited by a moderator: Apr 20, 2017
    (OP)
    For the visible recovery partition, can you try the following?

    In install.cmd script, replace the following
    Code:
    ECHO ==============================================
    ECHO UnMounting Recovery Partition
    ECHO ==============================================
    ECHO SELECT DISK %DISKID% >C:\Hdd.txt
    ECHO SELECT PARTITION %RECOVERYPART% >>C:\Hdd.txt
    ECHO REMOVE >>C:\Hdd.txt
    DISKPART /S C:\Hdd.txt
    DEL C:\Hdd.txt
    SHUTDOWN -R -F -T 15
    GOTO QUIT
    
    By
    Code:
    ECHO ==============================================
    ECHO UnMounting Recovery Partition
    ECHO ==============================================
    ECHO SELECT DISK %DISKID% >C:\Hdd.txt
    ECHO SELECT PARTITION %RECOVERYPART% >>C:\Hdd.txt
    ECHO SET ID=de94bba4-06d1-4d40-a16a-bfd50179d6ac NOERR >>C:\Hdd.txt
    ECHO SET ID=27 NOERR >>C:\Hdd.txt
    ECHO REMOVE >>C:\Hdd.txt
    DISKPART /S C:\Hdd.txt
    DEL C:\Hdd.txt
    SHUTDOWN -R -F -T 15
    GOTO QUIT
    
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. harperfamily007

    harperfamily007 MDL Novice

    Oct 29, 2012
    1
    0
    0
    AnarethoS - Thanks for this great tool. I read the documentation and found it very helpful. I told a friend and thy mocked the English. I took a second look and while I understood it great I realized you may be speaking English as a 2nd language. So I took the liberty of fixing a few grammatical problems that may help your English target audience. They throw the pagination off a little, but may give a beginner a little easier read. Where can I send you a copy with my revisions for you to see how you like them?
     
  6. adrianyujs

    adrianyujs MDL Member

    Sep 26, 2012
    186
    32
    10
    #1686 adrianyujs, Oct 29, 2012
    Last edited by a moderator: Apr 20, 2017
    Hi bro, I tried the second script, and its still visible...

    But if I run fullrestore.cmd, the drive will invisible, so weird...

    FYI I create partition manually using this

    Code:
    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=150
    active
    format fs=ntfs quick label=System
    assign letter=s
    create partition primary
    format fs=ntfs quick label=Windows
    assign letter=c
    exit
    
    See whether its related or not.... Because when I run install.cmd script, drive R will be visible, its recovery partition.
     
  7. nick@3btech.net

    [email protected] MDL Novice

    Feb 25, 2012
    48
    4
    0
    Looking good so far with 1.3.6 in WIndows 8 MBR... file browser I noticed now does not open to a full screen window. you have to maximize it first. this happened after you mentioned you updated that!!
     
  8. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    zip it and attach it to your post.

    And yes, English is my second language. My main language is french.

    But if you needed a friend to make you realize that english is not my primary language, I must not be so bad then :)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  9. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Realized that also. Don't know whre this settings is kept :(

    I see by your user name that you have/work for a online computer store. Do you plan to have my tools on your customer computer?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. nick@3btech.net

    [email protected] MDL Novice

    Feb 25, 2012
    48
    4
    0
    Are you asking me?? if so then yes, if I can get it to work with my needs, I most likely will!! I have the win 7 versions for a few years now, mostly in generic mode though...which was really nice to be able to start with a specific set of stuff, just add drivers and capture again.
     
  11. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Well, with some modification to the SYSPREP file, you could be able to create a "generic" image.
    - Do not keep drivers
    - Generalize
    - Reboot in Audit Mode
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. nick@3btech.net

    [email protected] MDL Novice

    Feb 25, 2012
    48
    4
    0
    I see how that could easily be done. w
    hat did you do different that when you installed from the usb recovery(generic) it would not copy the wim's to the HDD/recovery partition. then you just captured and the new wims were created??
     
  13. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Nice!

    I am trying to find a way to be 100% sure the recovery partition wil be hidden. Working on setupcomple.cmd method, like the one used in W8 for renaming the file browser.

    After thant, when it will be confirmed to works 100%, I will start working on the end-used guide.
     
    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
    1.3.7 - Out
    --Added a script (both in Windows 7 and Windows 8) to dismount the recovery partition from Windows at the end of OOBE
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. nick@3btech.net

    [email protected] MDL Novice

    Feb 25, 2012
    48
    4
    0

    I thinnk you may have a hardware problem. I've been testing this on 5 different PC's and I've never had anything take 2 hours. ALl captures usually take 10-15 minutes and reinstall are the same. SSD's are even faster capturing in 5-10 and same for reinstall.
     
  16. nick@3btech.net

    [email protected] MDL Novice

    Feb 25, 2012
    48
    4
    0
    i have not seen any issue with the recovery partition not hiding in Windows 8. that was solved when you started 1.3 i believe. Is that mostly a windows 7 problem or are others seeing it in Windows 8?
     
  17. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    I think that only @adrianyujs is having the problem under Windows 7.

    Neverd had It.

    1.3.8 is out.... I created a bug in 1.3.7 in the upgrade script while updating the Install.Wim file.

    Upgrading to 1.3.8 will fix this problem
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. adrianyujs

    adrianyujs MDL Member

    Sep 26, 2012
    186
    32
    10
    Maybe I'm not using autoattend xml..

    I will try latest and feedback soon.

    EDIT:

    Now the latest 1.3.8, The recovery drive still visible but cannot be accessed :) This is better than nothing, anyway I can said the problem is solved :)
     
  19. do2or

    do2or MDL Novice

    Oct 5, 2009
    11
    4
    0