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,803
    90
    This could be caused by a number of things...audit mode is picky. If you establish internet connection in audit mode, it will cause this. If you install some apps like AV's or other apps that use current user section of temp file or registry, you will get that. I recommend to test in VMware to find where the issue is. Like btdag said, check log files to help troubleshoot the issue. Sorry I couldn't help more.
     
  2. venioni

    venioni MDL Senior Member

    Mar 28, 2014
    479
    121
    10
    When i press ok after pc restart and prepare partition and the other stuff when finish all this pc shut down when i open then stuck here View attachment 28625 i cant have access on Windows\System32\Sysprep\Panther .i install again windows 7 and before i run the sript i


    found this on Windows\System32\Sysprep\Panther View attachment 28626 and this View attachment 28627
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. coleoptere2007

    coleoptere2007 MDL Guru

    Apr 8, 2008
    3,302
    1,936
    120
    Sysprep encounters a problem :)
     
  4. venioni

    venioni MDL Senior Member

    Mar 28, 2014
    479
    121
    10
    The proplem solved the proplem was on services of windows defeder i stop two services of windows defeder and some other and all work ok.Thanks for advice.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  5. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    The following rules should be applied when syspreping the computer :

    - NO Antivirus or, if installed, have the service STOPPED before running sysprep (don't put them to disable though, otherwise they won't work on next reboot)
    - NO internet connection. Unplug from the net and REBOOT
    - NO pending Windows update or incomplete update. Reboot 2-3 times to be sure at first
    - NO Deamon Tools installed
    - Check for Windows Media services. If running, kill them first
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  6. dv8ed

    dv8ed MDL Novice

    Mar 24, 2011
    24
    0
    0
    How can I have OEMLOGO.BMP copied to C:\Windows\System32\OEMLOGO.BMP automatically?

    The registry entries and OEM branding information show up fine, only logo doesn't appear. I have to copy it into system32 manually.

    Is there a script that I can put into one of the files?

    Windows 8.1 using 3.0.0 Alpha 2
     
  7. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    Are you talking about the multi oem project by Searchengine? The reason I ask is that your above comment has nothing to do with this project. Just saying.

    If you are using Searchengine's project then look at the reg entry...
    You will see it is pointed to %windir%\system32\oobe\info\ and depending on windows version your .BMP should be there. ;)

    If your using something else to insert your oem branding then I cant help for I have no idea how you or the tool you are using is doing it.
     
  8. dv8ed

    dv8ed MDL Novice

    Mar 24, 2011
    24
    0
    0
    #2688 dv8ed, May 22, 2014
    Last edited by a moderator: Apr 20, 2017
  9. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
  10. chryses

    chryses MDL Junior Member

    Mar 23, 2011
    52
    4
    0
    Hi I tried this on a bios pc with Windows 8. All ok on the creation phase.

    Once installed I completed the Windows user creation, then I ran Recovery Tools and then I want to repair my computer.

    Windows restart and I chose reset your pc and it takes a looooong time to restore all pc, is normal?
    Once recovered, I think all is ok. So I created another user and I tried to make the same, just to be sure, but on "recovery page" Windows ask me a media.

    What's wrong?

    Tnx, J
     
  11. Flipp3r

    Flipp3r MDL Guru

    Feb 11, 2009
    2,008
    957
    90
    You should have selected "Just remove my files".
    The other option is like a full format of the partition - which is where the delay is.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    If the other user acct wasn't set as admin then that might be why. The only user acct that should be able to use the recovery tools should ONLY be the Admin User Acct. You don't want a guest user having ability to redo your system do you? Not a good idea, if you value any data on that machine. lol
     
  13. chryses

    chryses MDL Junior Member

    Mar 23, 2011
    52
    4
    0
    Mmm, I don't know well W8, so I re-tried all, from start.

    But I noticed a little error on the second phase, after the first reboot, right before the Capture done.

    Where I can find a log, to see if some error happens?
     
  14. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
  15. chryses

    chryses MDL Junior Member

    Mar 23, 2011
    52
    4
    0
    Ok tnx, I'll

    But there is also a log for the script? Because I think that I saw something like " ... not found ... " but I don't know exactly!
     
  16. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    That error is about the sysprep tool not being opened...in other words you manually closed the sysprep tool window and the script checks to make sure that window is closed...if it is closed it will say error about sysprep tool window not found is all. Nothing to worry about.
     
  17. chryses

    chryses MDL Junior Member

    Mar 23, 2011
    52
    4
    0
    But is in the 2nd phase.

    Btw, I'm trying now. If I'm in some trouble I'll ask :)
     
  18. The_Guardian

    The_Guardian Contributor

    May 7, 2012
    2,054
    6,803
    90
    If you get an error try to see exactly what the error is so we are not troubleshooting in the dark. ;)
     
  19. BrianMavPost

    BrianMavPost MDL Novice

    Jun 27, 2013
    14
    1
    0
    Thanks AnarethoS this is a great & useful tool!

    As I have used a couple of things from this site already & this will b a 3rd I'd like to contribute if I can.

    I'm a professional software developer so if you haven't sorted out the issue about a GUI for partitioning the hard disk then I'm willing to create it for you which will then generate or edit the files. The same GUI could also be run in unattended mode to use the file to re-create the partitions. Let me know what you think.


    Had an idea about those that want to have a data directory & during a restore don't want that data partition I was looking at the ResetPartitions.txt for how this could be achieved. Except I don't know in which cases of the restore process the ResetPartitions.txt file is used.

    Original script as follows for MBR. Will try GPT next, not sure why Windows x86 wasn't GPT compatible (tested under VMWare only). LIST PART returns the same result if either the original or the updated script is executed. It does mean the original partitioning has to be done by hand first though. Note GPT doesn't allow extended partitions which is why the GPT data is a primary.

    Original MBR
    SELECT DISK 0
    CLEAN
    CREATE PARTITION PRIMARY SIZE=12000
    FORMAT FS=NTFS QUICK LABEL=RECOVERY
    SET ID=27
    CREATE PARTITION PRIMARY SIZE=150
    ACTIVE
    FORMAT FS=NTFS QUICK LABEL=SYSTEM
    CREATE PARTITION PRIMARY SIZE=32768
    FORMAT FS=NTFS QUICK LABEL=WINDOWS
    CREATE PARTITION EXTENDED
    CREATE PARTITION LOGICAL
    FORMAT FS=NTFS QUICK LABEL=DATA

    Alternate MBR
    SELECT DISK 0
    SELECT PARTITION=1
    DELETE PARTITION OVERRIDE NOERR
    SELECT PARTITION=2
    DELETE PARTITION OVERRIDE NOERR
    SELECT PARTITION=3
    DELETE PARTITION OVERRIDE NOERR
    CREATE PARTITION PRIMARY SIZE=12000
    FORMAT FS=NTFS QUICK LABEL=RECOVERY
    SET ID=27
    CREATE PARTITION PRIMARY SIZE=150
    ACTIVE
    FORMAT FS=NTFS QUICK LABEL=SYSTEM
    CREATE PARTITION PRIMARY SIZE=32768
    FORMAT FS=NTFS QUICK LABEL=WINDOWS

    Original GPT
    SELECT DISK 0
    CLEAN
    CONVERT GPT
    CREATE PARTITION PRIMARY SIZE=12000
    FORMAT FS=NTFS QUICK LABEL=RECOVERY
    SET ID=de94bba4-06d1-4d40-a16a-bfd50179d6ac
    CREATE PARTITION EFI SIZE=150
    FORMAT FS=FAT32 QUICK LABEL=SYSTEM
    CREATE PARTITION MSR SIZE=128
    CREATE PARTITION PRIMARY SIZE=32768
    FORMAT FS=NTFS QUICK LABEL=WINDOWS
    CREATE PARTITION PRIMARY
    FORMAT FS=NTFS QUICK LABEL=DATA

    Alternate GPT

    SELECT DISK 0
    SELECT PARTITION=1
    DELETE PARTITION OVERRIDE NOERR
    SELECT PARTITION=2
    DELETE PARTITION OVERRIDE NOERR
    SELECT PARTITION=3
    DELETE PARTITION OVERRIDE NOERR
    SELECT PARTITION=4
    DELETE PARTITION OVERRIDE NOERR
    CREATE PARTITION PRIMARY SIZE=12000
    FORMAT FS=NTFS QUICK LABEL=RECOVERY
    SET ID=de94bba4-06d1-4d40-a16a-bfd50179d6ac
    CREATE PARTITION EFI SIZE=150
    FORMAT FS=FAT32 QUICK LABEL=SYSTEM
    CREATE PARTITION MSR SIZE=128
    CREATE PARTITION PRIMARY SIZE=32768
    FORMAT FS=NTFS QUICK LABEL=WINDOWS



    I read this entire thread from start to end in about 3 days.
     
  20. BrianMavPost

    BrianMavPost MDL Novice

    Jun 27, 2013
    14
    1
    0