example (29595.1000) transforms boot.wim into Winpe.wim for recontruction Code: @echo off pushd "%~dp0" md mount set MT=mount md update set au=update :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo. echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo Mount %SOURCE% image echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo. dism /english /mount-wim /wimfile:boot.wim /index:1 /mountdir:%MT% dism /english /image:%MT% /apply-unattend:0winpe.xml dism /english /unmount-wim /mountdir:%MT% /commit dism /english /export-image /sourceimagefile:boot.wim /sourceindex:1 /destinationimagefile:winpe.wim /Compress:max /CheckIntegrity echo. pause exit
So, when I asked if anyone knew how to do this, my friend @pp03 helped me. I saw this example he showed. I used some things in other places because the example alone was useless. I looked for how to make the .cat file for my mother, which is now signed, for wcp.dll. I never changed what that fix would be. I didn't understand your question. In fact, look inside the bin\x64 folder or any other folder, there is a file called MT. Run it and see if you can tweak it yourself, as the DLL is created from the manifest. You can take a look to see if you can get what we want and then give us a solution. Run this command and see the options: mt.exe /?
for modifications like this you have the resource hacker among others What I did was just change the constant hash
i'll try, thank you edit: C:\Users\LocalAdmin\Downloads>dism /english /image:mount /apply-unattend:0winpe.xml Deployment Image Servicing and Management tool Version: 10.0.22000.2600 Image Version: 10.0.29595.1000 Error: 5 DISM failed. No operation was performed. For more information, review the log file. The DISM log file can be found at C:\Windows\Logs\DISM\dism.log Error CBS Only package owners can remove package: WinPE-MDAC-Package-windows~31bf3856ad364e35~amd64~~10.0.29595.1000: HRESULT_FROM_WIN32(ERROR_ACCESS_DENIED)
successful construction windows server standard edition without the Microsoft-Windows-Hotpatch-Targeting-Gated-Package script Code: @echo off pushd "%~dp0" md mount set MT=mount md temp :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo. echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo Mount %SOURCE% image echo :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: echo. dism /english /mount-wim /wimfile:coreos.wim /index:1 /mountdir:mount Reg load HKLM\SOFTHIVE %MT%\Windows\System32\config\SOFTWARE reg import azure\winre1.reg Reg unload HKLM\SOFTHIVE Reg load HKLM\SYSHIVE %MT%\Windows\System32\config\SYSTEM reg import azure\winre2.reg Reg unload HKLM\SYSHIVE Reg load HKLM\COMPONHIVE %MT%\Windows\System32\config\COMPONENTS reg import azure\winre3.reg Reg unload HKLM\COMPONHIVE copy /y Microsoft-Windows-ServerStandardEdition~31bf3856ad364e35~amd64~~10.0.29595.1000.mum %MT%\Windows\servicing\Packages\Microsoft-Windows-ServerStandardEdition~31bf3856ad364e35~amd64~~10.0.29595.1000.mum copy /y Microsoft-Windows-ServerStandardEdition~31bf3856ad364e35~amd64~~10.0.29595.1000.cat %MT%\Windows\servicing\Packages\Microsoft-Windows-ServerStandardEdition~31bf3856ad364e35~amd64~~10.0.29595.1000.cat copy /y Microsoft-Windows-EditionConfiguration-Server-Full-Package~31bf3856ad364e35~amd64~~10.0.29595.1000.mum %MT%\Windows\servicing\Packages\Microsoft-Windows-EditionConfiguration-Server-Full-Package~31bf3856ad364e35~amd64~~10.0.29595.1000.mum copy /y Microsoft-Windows-EditionConfiguration-Server-Full-Package~31bf3856ad364e35~amd64~~10.0.29595.1000.cat %MT%\Windows\servicing\Packages\Microsoft-Windows-EditionConfiguration-Server-Full-Package~31bf3856ad364e35~amd64~~10.0.29595.1000.cat Reg load HKLM\SOFTHIVE %MT%\Windows\System32\config\SOFTWARE reg import patch.reg Reg unload HKLM\SOFTHIVE dism /english /image:%MT% /apply-unattend:sxs\0.xml dism /english /image:%MT% /cleanup-image /startcomponentcleanup /resetbase dism /english /unmount-wim /mountdir:%MT% /commit dism /english /export-image /sourceimagefile:coreos.wim /sourceindex:1 /destinationimagefile:install.wim /Compress:max /CheckIntegrity rd /s /q mount pause exit resulta Code: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Mount image :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: Deployment Image Servicing and Management tool Version: 10.0.26100.5074 Mounting image [==========================100.0%==========================] The operation completed successfully. L’opération a réussi. L’opération a réussi. L’opération a réussi. L’opération a réussi. L’opération a réussi. L’opération a réussi. L’opération a réussi. L’opération a réussi. L’opération a réussi. 1 fichier(s) copié(s). 1 fichier(s) copié(s). 1 fichier(s) copié(s). 1 fichier(s) copié(s). L’opération a réussi. L’opération a réussi. L’opération a réussi. Deployment Image Servicing and Management tool Version: 10.0.26100.5074 Image Version: 10.0.29595.1000 Applying package servicing unattend [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.5074 Image Version: 10.0.29595.1000 [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.5074 Image File : H:\29595\coreos.wim Image Index : 1 Saving image [==========================100.0%==========================] Unmounting image [==========================100.0%==========================] The operation completed successfully. Deployment Image Servicing and Management tool Version: 10.0.26100.5074 Exporting image [==========================100.0%==========================] The operation completed successfully. Appuyez sur une touche pour continuer...
My database is WinPE, which I convert to CoreOS (>100 MB) ServerTurbine 29595 fr construction Install.wim file size: 2.88 Go. WinRE is missing. size source construction with fr and us 8.66go
Hi @Bira , thanks for letting me know. Your script has been added to the thread's index. I'm glad to see you back in this thread since you were last active. I've updated the index. I still need to verify some scripts that have been shared here before adding them. I'm still taking my time to read every post in this thread just to make sure we're on the same topic.
Let's put the topic where not only with results on screen but also sharing scripts in which the results were made, explanations of how we got there, so that we have a wide library as well as other topics for those who don't know how to learn 'Construction and Reconstruction' here on the forum with everyone, all help and ideas are welcome, abs partner...