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
    6.0.0 is out!
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. williammmm

    williammmm MDL Novice

    Jul 12, 2009
    6
    3
    0
    Thanks, I'll be testing this version soon.
     
  3. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,595
    1,591
    150
    Do you get the same error without adding the driver?
     
  4. mikeoke

    mikeoke MDL Novice

    Feb 28, 2010
    7
    1
    0
    Yes, same error.
    :oops:
    I have made a mistake when selecting WinRE Drivers Injection
    When I look in the Logfile it shows:
    Drivers injection NOT required




    I have never added drivers to the recovery image and could not find help for this.

    What is the correct way of adding drivers?
    This is what I did:
    I put the drivers in the directory: C:\Recovery\OEM\WinREFiles\drivers\
    3 files: iaStorDV.cat/inf/sys
    I have also put the files in a folder inside the \drivers\iastorvd\
     
  5. tcntad

    tcntad MDL Guru

    Oct 26, 2009
    4,595
    1,591
    150
    Not sure why it woudnt work but if log says its not necessary than maybe it isnt, you could always open that batch file and search "mounting partitions" to see what its doing if its a batchfile
     
  6. Raksith N

    Raksith N MDL Novice

    Dec 22, 2021
    37
    10
    0
    #3647 Raksith N, Mar 20, 2024
    Last edited by a moderator: Mar 23, 2024
    Hi All, It's been a long time since i have posted in this forum. Until now everything was working fine., reset suddenly stopped working. tried changing OS versions, iso's, scanstate files, sfc, dism repair, nothing is working. Check the below logs. Any help would be much appreciated. Thank you in advance.
    Code:
    2024-03-19 14:35:12, Error                        0x80070003 in PushButtonReset::RegKey::HasValue (base\reset\util\src\registry.cpp:187): Failed to load subkey at [Microsoft\Windows\Signature][gle=0x00000002]
    2024-03-19 14:35:12, Error                        0x80070003 in PbrGetRestoreToBaselineVal (base\reset\engine\scenario\src\sensetargetos.cpp:63): Does not find registry key of PushButtonReset[gle=0x00000002]
    2024-03-19 14:35:12, Error                        0x8007000d in PushButtonReset::Extensibility::parseBareMetalConfig (base\reset\engine\scenario\src\extensibility.cpp:443): /Reset/SystemDisk/RestoreFromIndex must be specified with <RecoveryImagePartition> and <RecoveryImagePath>
    2024-03-19 14:35:18, Error                        [sysreset.exe]  (WinRE)WinReIsInstalledOnSystemPartitionInternal() Invalid parameters
    2024-03-19 14:35:18, Error                 SP     SPQuerySnapshotSize: Failed to query snapshot size. Error: 0x80042301
    2024-03-19 14:35:18, Error                 SP     SPDeleteAllSnapshots: Failed to query snapshot size for [{1D6D267A-F1AF-49FD-9DC8-FF8A47F23F20}]. Error: 0x80042301
    2024-03-19 14:35:39, Error                        pGetUninstallInterfaceCommon: Failed loading the setupplatform, hr = 0x80070490[gle=0x00000003]
    2024-03-19 14:35:39, Error                 SP     SPQuerySnapshotSize: Failed to query snapshot size. Error: 0x80042301
    2024-03-19 14:35:39, Error                 SP     SPDeleteAllSnapshots: Failed to query snapshot size for [{1D6D267A-F1AF-49FD-9DC8-FF8A47F23F20}]. Error: 0x80042301
    2024-03-19 14:35:39, Error                 SP     SPDeleteAllSnapshots: Failed to delete snapshot. Error: 0x80042301
    2024-03-19 14:35:39, Error                        CoCreateInstance failed for CLSID_TaskScheduler. hr = 0x80040154[gle=0x000036b7]
    2024-03-19 14:35:39, Error                        CoCreateInstance failed for CLSID_TaskScheduler. hr = 0x80040154[gle=0x000036b7]
    2024-03-19 14:38:33, Error                 CSI    00002436 (F) Error: Overlap: Registry overridable collision found under key \REGISTRY\MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\ for value BootExecute at overridable scope 1.
    [gle=0x80004005]
    2024-03-19 14:38:33, Error                 CSI    00002437 (F)    One of the components setting this value is Microsoft-Windows-Smss-BootExecute, version 10.0.19041.1, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:33, Error                 CSI    00002438 (F)    Previously seen component setting this value is Microsoft-Windows-Smss-BootExecute, version 10.0.19041.1, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:39, Error                 CSI    00006d57 (F) Error: Overlap: Registry overridable collision found under key \REGISTRY\MACHINE\SYSTEM\CurrentControlSet\Services\sppsvc\ for value Start at overridable scope 1.
    [gle=0x80004005]
    2024-03-19 14:38:39, Error                 CSI    00006d58 (F)    One of the components setting this value is Microsoft-Windows-Security-SPP, version 10.0.19041.4233, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:39, Error                 CSI    00006d59 (F)    Previously seen component setting this value is Microsoft-Windows-Security-SPP, version 10.0.19041.3636, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:39, Error                 CSI    000070a0 (F) Error: Overlap: Registry overridable collision found under key \REGISTRY\MACHINE\System\CurrentControlset\Services\WPDBusEnum\ for value Start at overridable scope 1.
    [gle=0x80004005]
    2024-03-19 14:38:39, Error                 CSI    000070a1 (F)    One of the components setting this value is Microsoft-Windows-WPD-BusEnumService, version 10.0.19041.3636, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:39, Error                 CSI    000070a2 (F)    Previously seen component setting this value is Microsoft-Windows-WPD-BusEnumService, version 10.0.19041.3636, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:40, Error                 CSI    000072c5 (F) Error: Overlap: Registry overridable collision found under key \REGISTRY\MACHINE\System\CurrentControlset\Services\WinDefend\ for value Start at overridable scope 1.
    [gle=0x80004005]
    2024-03-19 14:38:40, Error                 CSI    000072c6 (F)    One of the components setting this value is Windows-Defender-Service, version 10.0.19041.3636, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:40, Error                 CSI    000072c7 (F)    Previously seen component setting this value is Windows-Defender-Service, version 10.0.19041.3636, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:41, Error                 CSI    000087a2 (F) Error: Overlap: Registry overridable collision found under key \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ for value DisableStartupSound at overridable scope 1.
    [gle=0x80004005]
    2024-03-19 14:38:41, Error                 CSI    000087a3 (F)    One of the components setting this value is Microsoft-Windows-Authentication-AuthUI-Component, version 10.0.19041.3930, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:41, Error                 CSI    000087a4 (F)    Previously seen component setting this value is Microsoft-Windows-Authentication-AuthUI-Component, version 10.0.19041.3930, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:41, Error                 CSI    000087a5 (F) Error: Overlap: Registry overridable collision found under key \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ for value DontDisplayLastUsername at overridable scope 1.
    [gle=0x80004005]
    2024-03-19 14:38:41, Error                 CSI    000087a6 (F)    One of the components setting this value is Microsoft-Windows-Authentication-AuthUI-Component, version 10.0.19041.3930, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:41, Error                 CSI    000087a7 (F)    Previously seen component setting this value is Microsoft-Windows-Authentication-AuthUI-Component, version 10.0.19041.3930, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:41, Error                 CSI    000087a8 (F) Error: Overlap: Registry overridable collision found under key \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ for value EnableFirstLogonAnimation at overridable scope 1.
    [gle=0x80004005]
    2024-03-19 14:38:41, Error                 CSI    000087a9 (F)    One of the components setting this value is Microsoft-Windows-Authentication-AuthUI-Component, version 10.0.19041.3930, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:41, Error                 CSI    000087aa (F)    Previously seen component setting this value is Microsoft-Windows-Authentication-AuthUI-Component, version 10.0.19041.3930, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:41, Error                 CSI    000087ab (F) Error: Overlap: Registry overridable collision found under key \REGISTRY\MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System\ for value HideFastUserSwitching at overridable scope 1.
    [gle=0x80004005]
    2024-03-19 14:38:41, Error                 CSI    000087ac (F)    One of the components setting this value is Microsoft-Windows-Authentication-AuthUI-Component, version 10.0.19041.3930, arch Host= amd64 Guest= x86, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:38:41, Error                 CSI    000087ad (F)    Previously seen component setting this value is Microsoft-Windows-Authentication-AuthUI-Component, version 10.0.19041.3930, arch amd64, nonSxS, pkt {l:8 b:31bf3856ad364e35}
    [gle=0x80004005]
    2024-03-19 14:40:43, Error                 CSI    0000c7a3@2024/3/19:22:40:43.513 (F) onecore\base\wcp\sil\ntsystem.cpp(3044): Error STATUS_OBJECT_NAME_NOT_FOUND originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile expression: (null)
    [gle=0x80004005]
    2024-03-19 14:40:43, Error                 CSI    0000c7a4 (F) STATUS_OBJECT_NAME_NOT_FOUND #23979381# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(flags = (AllowSharingViolation), handle = {provider=NULL, handle=0, name= ("null")}, da = (FILE_GENERIC_READ), oa = @0x44bb67c798->OBJECT_ATTRIBUTES {s:48; rd:NULL; on:[142]'\??\C:\$WINDOWS.~BT\NewOS\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1_none_bf506ecc66a800df\EdgeAI.dll'; a:(OBJ_CASE_INSENSITIVE)}, iosb = @0x44bb67c7f8, as = (nul[gle=0xd0000034]
    2024-03-19 14:40:43, Error                 CSI    l), fa = (FILE_ATTRIBUTE_NORMAL), sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), cd = FILE_OPEN, co = (FILE_NON_DIRECTORY_FILE|FILE_SYNCHRONOUS_IO_NONALERT|0x00004000), eab = NULL, eal = 0, disp = Invalid)
    [gle=0xd0000034]
    2024-03-19 14:40:43, Error                 CSI    0000c7a5 (F) STATUS_OBJECT_NAME_NOT_FOUND #23979380# from Windows::Rtl::SystemImplementation::CSystemIsolationLayer_IRtlSystemIsolationLayerTearoff::OpenFilesystemFile(flags = (SharingViolationIsOk), da = (FILE_GENERIC_READ), fn = [l:142]'\??\C:\$WINDOWS.~BT\NewOS\Windows\WinSxS\amd64_microsoft-windows-servicingstack_31bf3856ad364e35_10.0.19041.1_none_bf506ecc66a800df\EdgeAI.dll', sa = (FILE_SHARE_READ|FILE_SHARE_WRITE|FILE_SHARE_DELETE), oo = (FILE_SYNCHRONOUS_IO_NONALERT|FILE_NON_DIRECTORY_FILE|FILE_OPEN[gle=0xd0000034]
    2024-03-19 14:40:43, Error                 CSI    _FOR_BACKUP_INTENT), file = NULL, disp = Invalid)
    [gle=0xd0000034]
    2024-03-19 14:42:02, Error                 CBS    FC:   CFCAcquirerLocalRepository::SetRepositoryPath(79): Result = 0x80070003
    2024-03-19 14:42:02, Error                 CBS    FC:   CFCAcquirerWrapper::Execute(63): Result = 0x80070003
    2024-03-19 14:44:06, Error                        MigOpenExternalStore caught exception: SerializationException: saw unrecognized object header '0x1' int __cdecl UnBCL::SerializationStream::ReadObjectHeader(class UnBCL::Object *&)
    2024-03-19 14:44:06, Error                 SP     pSPDoOfflineApply: Cannot open the external store from C:\Recovery\Customizations\Recovery.ppkg. Error: 0x00000004
    2024-03-19 14:44:06, Error                 SP     COfflineApplyFromICB: Offline apply operation failed. Status: 4
    2024-03-19 14:44:06, Error                 SP     Operation failed: Execute offline apply from ICB. Error: 0x8007001F[gle=0x000000b7]
    2024-03-19 14:44:06, Error                 SP     ExecuteOperations: Failed execution phase Pre-Finalize. Error: 0x8007001F
    2024-03-19 14:44:06, Error                        0x80004005 in PushButtonReset::OpExecSetup::InternalExecute (base\reset\engine\operations\src\execsetup.cpp:2154): Finalization failed: System State: [4]
    2024-03-19 14:44:06, Error                        0x80004005 in PushButtonReset::Operation::Execute (base\reset\engine\exec\src\operation.cpp:580): Internal failure in subtype execution routine
    2024-03-19 14:44:06, Error                        0x80004005 in PushButtonReset::Executer::Execute (base\reset\engine\exec\src\executer.cpp:382): Internal error while executing operation[gle=0x00000002]
    2024-03-19 14:44:06, Error                        0x80004005 in ResetExecute (base\reset\engine\dll\clientapi.cpp:1569): Failed to execute offline operation queue[gle=0x00000002]
    2024-03-19 14:44:06, Error                        Query trace failed: 0x80071069[gle=0x00001069]
    2024-03-19 14:44:41, Error                        0x80004005 in srRefreshMain (base\reliability\recovery\sysreset\sysreset.cpp:1410):
    2024-03-19 14:44:41, Error                        wWinMain: srRefreshMain failed: 0x80004005
    2024-03-19 14:44:42, Error                 SP     Failed to merge telemetry file: . hr = 0X80070057[gle=0x0000007f]
    
     
  7. Raksith N

    Raksith N MDL Novice

    Dec 22, 2021
    37
    10
    0
    #3648 Raksith N, Mar 24, 2024
    Last edited: Mar 26, 2024
    Edit : Answering myself since i have found the solution, We need to use scanstate version 10.0.19041.1 till windows 10 22H2, notice the build number starts with (19) i was using the latest one(22) so the recovery.ppkg file placed on Recovery\Customization was failing.


     
  8. The_MagicMan

    The_MagicMan MDL Novice

    Oct 11, 2011
    39
    53
    0
    #3649 The_MagicMan, Apr 2, 2024
    Last edited: Apr 2, 2024
    Is it possible to update the image file? In order to have an updated image without redoing the whole process of install. Really wish this could be implemented.

    For example:
    Windows 11 23h2 to 24h2 when released.
     
  9. Chibi ANUBIS

    Chibi ANUBIS MDL Chibi Developer

    Apr 28, 2014
    1,276
    930
    60
    #3650 Chibi ANUBIS, Jun 6, 2024
    Last edited: Jun 10, 2024
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  10. Chibi ANUBIS

    Chibi ANUBIS MDL Chibi Developer

    Apr 28, 2014
    1,276
    930
    60
    I think yes, but this build is specially for 24h2
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  11. Flipp3r

    Flipp3r MDL Guru

    Feb 11, 2009
    2,017
    968
    90
    I tried it on 23H2. It successfully created the Provisioning Package but when I ran through a "Reset this PC" it did not restore the apps properly.
    I went back to the older version & have had no issues. I only tried this once though...
    I also tried WinPE from the same ADK and found it would reboot on some of the older motherboards and notebooks, again the previous one worked without issue...
    I do integrate some lan drivers, so it's a possibility that a driver I've used caused the reboot on the older hardware...
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  12. The_MagicMan

    The_MagicMan MDL Novice

    Oct 11, 2011
    39
    53
    0
    Since win11 and win10 both now backup to ms account, can you please include your usb backup creator in next release?
     
  13. Chibi ANUBIS

    Chibi ANUBIS MDL Chibi Developer

    Apr 28, 2014
    1,276
    930
    60
    Huuuumm the auto unattend crash the Windows 11 installation... o_O
     
    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
    Hi everyone! I'm not dead :)

    Just not a lot of time.

    Can someone confirm to me the final build number for Windows 11 24H2? I will DL it and start testing it on my side and make adjustment to my software as needed.

    Thanks.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  15. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,828
    7,845
    210
    Main build 26100, official ISO 26100.1742.
     
    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 have 26100.1882 on my side ... not the good one I presume?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  17. Carlos Detweiller

    Carlos Detweiller Emperor of Ice-Cream

    Dec 21, 2012
    6,828
    7,845
    210
    26100.1882 already has the latest optional update applied. Not an official ISO, but probably from UUP?
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  18. AnarethoS

    AnarethoS MDL Expert

    Jul 31, 2009
    1,297
    1,587
    60
    Yes from UUP.

    But I prefer to work with the original ISO (WIM and not ESD). Best place to get it? EN-US (I always use that version as the base)
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...