Win10XPE - Build Your Own Rescue Media [2]


  1. Posts : 31
    Win11 insider
       #1811

    Hi to all.
    After a long day It's finished...
    So, Camera script is finished and tested with and without full winre.wim and full w10 software hive. Also MTP script was rebuild, with the removal of camera files and updated mthelper_x64 with the one that exists in kuer pe.
    Tested bilds:
    win10 10.0.18362.356 x86
    win10 10.0.19041.264 x64
    win10 10.0.19045.3803 x86 and x64
    win11 10.0.22621.1
    win11 10.0.22621.525
    win11 10.0.22621.2841 (FIDO download, desktop not showing, working well with WinXShell with my "missing files script")
    win11 10.0.22631.2861 (desktop not showing, working well with WinXShell with my "missing files script")
    win11 10.0.26002.1000 (desktop not showing, working well with WinXShell with my "missing files script")

    I also whant to give a big thanks to @LiuBang for bringing back camera topic, @SIW2 for providing kuer pe and help me with registry, @Kyhi for trying to help with registry and @digilizard for testing first version.

    @Kyhi please verify if is ok to upload to the project, feel free to change anything that might not be ok

    Camera and MTP Scripts
      My Computer


  2. Posts : 192
    windows 7 /10
       #1812

    @ fgaifen
    thankyou i foud the key "to create video capture filter"
    but now i have this error "Unable to launch the chart preview" ;need more test ...

    fgaifen said:
    ... feel free to change anything that might not be ok
    you need to change this
    Code:
    [Extract]
    Echo,"Extracting %ScriptTitle% Setup File..."
    .....
    //If,%SourceBuild%,biggerequal,19041,Start,,%Reg_CAM%,,%GTemp%\%ProgramFolder%
    //Start,,%Reg_CAM%,,%GTemp%\%ProgramFolder%
    to avoid this error "liste index out of bound ,,,"

    You've done a nice job thank you

    @ffrags
    try building with one of this "i used for canary build"
    Code:
    ;25300
    \Windows\System32\DispBroker.dll
    ;
    ;25900
    \Windows\System32\Microsoft.Internal.WarpPal.dll
    ;
    ;explorer
    ;25900
    \windows\SYSTEM32\Windows.UI.FileExplorer.WASDK.dll
    \Windows\System32\fr-FR\Windows.UI.FileExplorer.WASDK.dll.mui
    ;winxshell
    \Windows\System32\shunimpl.dll
    \Windows\System32\dusmapi.dll
    ;
    Last edited by doudiii; 02 Jan 2024 at 09:08.
      My Computer


  3. Posts : 31
    Win11 insider
       #1813

    doudiii said:
    @ fgaifen
    thankyou i foud the key "to create video capture filter"
    but now i have this error "Unable to launch the chart preview" ;need more test ...


    you need to change this
    Code:
    [Extract]
    Echo,"Extracting %ScriptTitle% Setup File..."
    .....
    //If,%SourceBuild%,biggerequal,19041,Start,,%Reg_CAM%,,%GTemp%\%ProgramFolder%
    //Start,,%Reg_CAM%,,%GTemp%\%ProgramFolder%
    to avoid this error "liste index out of bound ,,,"

    You've done a nice job thank you

    @ffrags
    try building with one of this "i used for canary build"
    Code:
    ;25300
    \Windows\System32\DispBroker.dll
    ;
    ;25900
    \Windows\System32\Microsoft.Internal.WarpPal.dll
    ;
    ;explorer
    ;25900
    \windows\SYSTEM32\Windows.UI.FileExplorer.WASDK.dll
    \Windows\System32\fr-FR\Windows.UI.FileExplorer.WASDK.dll.mui
    ;winxshell
    \Windows\System32\shunimpl.dll
    \Windows\System32\dusmapi.dll
    ;
    Removing:
    //If,%SourceBuild%,biggerequal,19041,Start,,%Reg_CAM%,,%GTemp%\%ProgramFolder%
    Will kill camera in builds from 19041 and above... "Unable to launch the chart preview" is corrected by those lines!...

    //Start,,%Reg_CAM%,,%GTemp%\%ProgramFolder% is redundant so I've removed and I'm testing now!

    I dont't know why you have "liste index out of bound" error but as I said I've tested in the builds that I've posted and in this morning I've tested in build 10.0.26016.1012 and also worked.
    Last edited by fgaifen; 02 Jan 2024 at 12:56.
      My Computer


  4. Posts : 97
    Windows 11 Pro
       #1814

    doudiii said:
    @ffrags
    try building with one of this "i used for canary build"
    Code:
    ;25300
    \Windows\System32\DispBroker.dll
    ;
    ;25900
    \Windows\System32\Microsoft.Internal.WarpPal.dll
    ;
    ;explorer
    ;25900
    \windows\SYSTEM32\Windows.UI.FileExplorer.WASDK.dll
    \Windows\System32\fr-FR\Windows.UI.FileExplorer.WASDK.dll.mui
    ;winxshell
    \Windows\System32\shunimpl.dll
    \Windows\System32\dusmapi.dll
    ;
    I added all the above lines and it still does not load to the desktop. It never gets beyond the screen that says Administrator...Preparing Windows. The progress wheel keeps spinning but never proceeds to the desktop. If I hit Ctrl-Alt-Del, I do get the expected menu so that I can bring up task manager or sign out. So from task manager I attempted to restart Explorer.exe and still no desktop. Oh well, at least v1 works fine. Thanks for trying.
      My Computer


  5. Posts : 31
    Win11 insider
       #1815

    ffrags said:
    I added all the above lines and it still does not load to the desktop. It never gets beyond the screen that says Administrator...Preparing Windows. The progress wheel keeps spinning but never proceeds to the desktop. If I hit Ctrl-Alt-Del, I do get the expected menu so that I can bring up task manager or sign out. So from task manager I attempted to restart Explorer.exe and still no desktop. Oh well, at least v1 works fine. Thanks for trying.
    For testing and investigating porpose use my "missing files script" (was created comparing kuer pe and win10xpe). it will work but only with winxshell as shell. I don't have time this week to investigate. As I tested missing files are only from system32.
    Also remove files that are already in camera and mtp scripts.
      My Computer


  6. Posts : 97
    Windows 11 Pro
       #1816

    fgaifen said:
    For testing and investigating porpose use my "missing files script" (was created comparing kuer pe and win10xpe). it will work but only with winxshell as shell. I don't have time this week to investigate. As I tested missing files are only from system32.
    Also remove files that are already in camera and mtp scripts.
    Thank you, fgaifen. Since it was for test purposes, I didn't remove any files. I let your entire missing files go into my test build. But no luck. Still didn't boot to a desktop. I played around with this because you asked and because Doudii reported the same problem. However, as I told Doudii, it is not all that important to me because Win11 23H2 v1 source works just fine for me. I really don't rebuild my project everytime Microsoft issues a new minor version source. Again, thank you for trying.
      My Computer


  7. Posts : 4
    Win10 21H1
       #1817

    fgaifen said:
    Removing:
    //If,%SourceBuild%,biggerequal,19041,Start,,%Reg_CAM%,,%GTemp%\%ProgramFolder%
    Will kill camera in builds from 19041 and above... "Unable to launch the chart preview" is corrected by those lines!...

    //Start,,%Reg_CAM%,,%GTemp%\%ProgramFolder% is redundant so I've removed and I'm testing now!

    I dont't know why you have "liste index out of bound" error but as I said I've tested in the builds that I've posted and in this morning I've tested in build 10.0.26016.1012 and also worked.
    Just to add here... I am currently using Win11 22H 222621.525 German and am also getting the out of bound error. I disabled the 2 lines mentioned and both MTP and Camera work fine for me. I am using webcammictest.com to test camera. Also the ecap Windows application is working fine for me.
      My Computer


  8. Posts : 7
    Windows 10
       #1818

    fgaifen said:
    Hi to all.
    After a long day It's finished...
    So, Camera script is finished and tested with and without full winre.wim and full w10 software hive. Also MTP script was rebuild, with the removal of camera files and updated mthelper_x64 with the one that exists in kuer pe.
    Tested bilds:
    win10 10.0.18362.356 x86
    win10 10.0.19041.264 x64
    win10 10.0.19045.3803 x86 and x64
    win11 10.0.22621.1
    win11 10.0.22621.525
    win11 10.0.22621.2841 (FIDO download, desktop not showing, working well with WinXShell with my "missing files script")
    win11 10.0.22631.2861 (desktop not showing, working well with WinXShell with my "missing files script")
    win11 10.0.26002.1000 (desktop not showing, working well with WinXShell with my "missing files script")

    I also whant to give a big thanks to @LiuBang for bringing back camera topic, @SIW2 for providing kuer pe and help me with registry, @Kyhi for trying to help with registry and @digilizard for testing first version.

    @Kyhi please verify if is ok to upload to the project, feel free to change anything that might not be ok

    Camera and MTP Scripts
    i wanted to report it that it works fine in 1809 , but i had to remove the 2 mentioned lines which mentioned above to avoid the liste index out of bound error

    thanks a lot for your effort and time , totally appreciated ,
    sorry because i didn't provide any useful information when i mentioned the topic

    - - - Updated - - -

    also want to say
    now cam works in other programs also , like Debut Screen Recorder
    i added this line in my Pecmd.ini after the load of network , so that i don't have to do the press click on the camera in device manager and do update driver
    this line automatically installs the webcam driver
    EXEC =@!%WinDir%\System32\Drvload.exe %WinDir%\inf\usbvideo.inf

    thanks a lot for your hard work fgaifen , and everyone else contributed including of course the people who made Win10XPE
      My Computer


  9. Posts : 31
    Win11 insider
       #1819

    Update Camera_XPE


    Hi to all.
    I had some time now and after a few tests I discover that "list index out of bounds" only occurs if you are using Winbuilder (Win10XPE.exe), with PEBakeryLauncher working fine, no error is found.
    Winbuilder doesn't recognize "biggerequal" variable... So, I change the code and uploaded again...
      My Computer


  10. Posts : 7
    Windows 10
       #1820

    i found out that sound is not working on laptops 11th generations and above
    i wanted to ask if this related to missing drivers or this is because i created my WinPE from windows 10 1809 which is an old version of windows 10

    i would be glad if someone could enlighten me about this
    i also know that if Wifi or lan not working is because of missing drivers , but i wanted to ask about Audio if it's same thing or it's an issue with my WinPE because it's from windows 10 1809
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:43.
Find Us




Windows 10 Forums