Win10XPE - Build Your Own Rescue Media [2]


  1. Posts : 190
    windows 7 /10
       #501

    today when i try BUILD with explorer.exe v 10.0.22538.1000 i noticed that "Pecmd.ini" not execute the command properly ...
    i try with this but not work
    Code:
    SHEL %ProgramFiles%\WinXShell\WinXShell.exe -winpe
    or
    SHEL %ProgramFiles%\Cairo Shell\CairoDesktop.exe
    so i added the command to "XPEStartup.cmd" and it work
    Code:
    start "" "y:\Programs\Cairo Shell\CairoDesktop.exe"
    or
    start "" "%ProgramFiles%\WinXShell\WinXShell.exe" -winpe
    Win10XPE - Build Your Own Rescue Media [2]-sc.jpg

    any idea ??!
      My Computer


  2. Posts : 14
    Windows 10
       #502

    doudiii said:
    hi marox45



    i ha encountred this one befor:
    - one was because of dual boot in & was solved by easy2boot , i dont now haw !!!
    -the other when i was used partpe, the problem was "UpperFilters" key (particularly if i add acronis & paragon to the build)..

    try to make a basic build & see if its ok
    if not use regshot to see witch key are changed ...
    here some utility that i used
    Code:
    https://www.mediafire.com/file/4sc6l6s10pcj6j0/pe_util.zip/file
    @ Kyhi
    you are code expert without competitor
    i have wrote mine i 6 lines ...
    I use ventoy and it works fine. Previously there were boot issues between it and win10xpe. Maybe ventoy has something to do with this problem. I'll do some testing to make sure.
    I tried to build with win10 iso 2004 and this problem never appeared so there is something missing regarding the changes between windows 11 and windows 10 as Kyhi said before
    But I think that the developers of this project focused on Windows 11 and left Windows 10, which was a good step, and I think that all these problems will find solutions soon
      My Computer


  3. Posts : 52
    PE
       #503

    doudiii said:
    today when i try BUILD with explorer.exe v 10.0.22538.1000 i noticed that "Pecmd.ini" not execute the command properly ...any idea ??!
    If it is working with XPEStartup.cmd you can probably just use EXEC to load it. Perhaps we need a pecmd update for 11.

    @doudiii here is a link to the latest. Let us know.

    PECMD x64 - 01.20.22
    https://mega.nz/file/MnBHTQAD#9L2NjD...g2OxD3GQdiFFXY
    Last edited by BobOmb; 23 Jan 2022 at 16:49.
      My Computer


  4. Posts : 417
    W10, W7
       #504

    @Kyhi

    JFI
    re the new PrinterDeviceSupport script v4 - 2022.01.21 in post #2
    win10.0.22000.194 x64 en-GB in VM environment

    line 266
    Code:
    RegWrite,HKLM,0x4,Tmp_System\Setup,SystemSetupInProgress,0
    is giving a bsod 0xc00002e3

    remming out that line seems to work OK
      My Computer


  5. Posts : 52
    PE
       #505

    APT38 said:
    remming out that line seems to work OK
    Is it still set to 1 in the running PE registry at boot? That is needed for loading certain services at boot. It is usually done in PECMD.ini and not from within a plugin.

    An example from a XPE PECMD.ini
    Code:
    ////////////////////////////////////////////////////////////////////////////////////////////////
    _SUB NetInit
    
    REGI #HKLM\SYSTEM\Setup\SystemSetupInProgress=0
    EXEC !=%WinDir%\System32\Net.exe Start netprofm
    REGI #HKLM\SYSTEM\Setup\SystemSetupInProgress=1
    
    // Load Network drivers at startup
    I would say maybe change it for when the service starts. I dont fully understand what was done for this plugin but it appears it can be done in the batch section. (if it is needed)

    Change this..
    Code:
    Set,%IPD%,%Gtarget_Sys%\InstallPrintDriver.cmd
    If,Not,ExistFile,%IPD%,FileCreateBlank,%IPD%
    TXTAddLine,%IPD%,"@Echo Off",APPEND
    TXTAddLine,%IPD%,"X:\windows\system32\wbem\mofcomp.exe X:\windows\system32\wbem\win32_printer.mof",APPEND
    TXTAddLine,%IPD%,"X:\windows\system32\wbem\mofcomp.exe X:\windows\system32\wbem\PrintManagementProvider.mof",APPEND
    TXTAddLine,%IPD%,"net start spooler",APPEND
    TXTAddLine,%IPD%,"PnPutil.exe -i -a #$pWindir#$p\inf\usbprint.inf",APPEND
    TXTAddLine,%IPD%,"timeout /t 135 >nul",APPEND
    TXTAddLine,%IPD%,"drvload.exe #$pWindir#$p\inf\printqueue.inf",APPEND
    TXTAddLine,%IPD%,Exit,APPEND
    To this..
    Code:
    Set,%IPD%,%Gtarget_Sys%\InstallPrintDriver.cmd
    If,Not,ExistFile,%IPD%,FileCreateBlank,%IPD%
    TXTAddLine,%IPD%,"@Echo Off",APPEND
    TXTAddLine,%IPD%,"X:\windows\system32\wbem\mofcomp.exe X:\windows\system32\wbem\win32_printer.mof",APPEND
    TXTAddLine,%IPD%,"X:\windows\system32\wbem\mofcomp.exe X:\windows\system32\wbem\PrintManagementProvider.mof",APPEND
    TXTAddLine,%IPD%,"REG ADD HKLM\System\Setup /v SystemSetupInProgress /t REG_DWORD /d 0 /f",APPEND
    TXTAddLine,%IPD%,"net start spooler",APPEND
    TXTAddLine,%IPD%,"PnPutil.exe -i -a #$pWindir#$p\inf\usbprint.inf",APPEND
    TXTAddLine,%IPD%,"timeout /t 135 >nul",APPEND
    TXTAddLine,%IPD%,"drvload.exe #$pWindir#$p\inf\printqueue.inf",APPEND
    TXTAddLine,%IPD%,"REG ADD HKLM\System\Setup /v SystemSetupInProgress /t REG_DWORD /d 1 /f",APPEND
    TXTAddLine,%IPD%,Exit,APPEND
    Last edited by BobOmb; 23 Jan 2022 at 18:57.
      My Computer


  6. Posts : 417
    W10, W7
       #506

    Thanks for the suggestion Bob, giving it a try at the moment, but since I'm not 100% sure what it's doing in this context, I can check it stops a bsod whilst still being included, but not a lot else
      My Computer


  7. Posts : 52
    PE
       #507

    If it is what I think, you will need it to start the spooler service.

    Again, KYHI is patching files etc here, he may have left it in by mistake ;P So I am not fully sure.
      My Computer


  8. Posts : 417
    W10, W7
       #508

    BobOmb said:
    If it is what I think, you will need it to start the spooler service.
    Well, I'm guessing you're correct as the 3 default printers now appear almost immediately rather than ages later.
    thanks again to you both.
      My Computer


  9. Posts : 38
    Win 10
       #509

    Fast Copy Update 4.0.1

      My Computer


  10. Posts : 417
    W10, W7
       #510

    bigbadmoshe said:
    FastCopy Update 4.0.1
    thanks, updated scripts on post #4

    - - - Updated - - -

    CCleaner updates to 5.89
    Last edited by APT38; 24 Jan 2022 at 08:54.
      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 12:29.
Find Us




Windows 10 Forums