Hello, I tried it, great script, I really liked it! I added KB5046617 instead of KB5044384 to it and got build 26100.2314. Once again, thank you very much!
O-ooh, this is very good, we are waiting... The script already works well, but we will be very happy to improve it!
Hello, don't think that I'm rude, but, this script is so simple that it is enough to open it and see what this script changes in the image
Updated for 26100.2314 - 226x1.4460 SD11v202_4.8.40 - Updated appx files - Updated hfixes files - Changed the use of DISM, to have 22621 by default - Added option to Disable\Remove WMP11 - Enabled the RemoveSystemUWPappsAlsoFromDisk=1 option - Adjusted for reinstallation of both updates after enabling netfx35 - Add option for DisableBitlockerEncryption - Other small adjustments Added some stuff from @sergey1302170's script. Thanks @Sergey! https://forums.mydigitallife.net/threads/slimdown10-–-turn-windows-10-22h2-or-ltsc-2021-into-classic-legacy-windows.86552/page-75#post-1851693
Hello, I need your help: I modified your instrument a little for myself. The .iso template was used by Enterprise LTSC RU 26100.1742, and the code for upgrading the edition to IoT LTSC 26100.2314 was added to the script: Spoiler Code: ECHO. ECHO ============================================================ ECHO Upgrading an image to IoT Enterprise LTSC ECHO ============================================================ "%DISM11%" /English /Image:"%InstallMount%" /Set-Edition:IoTEnterpriseS ECHO. ECHO ============================================================ ECHO Installing Cumulative Update... ECHO ============================================================ "%DISM11%" /English /Image:"%InstallMount%" /add-package /packagepath:"Updates\Cumulative" ECHO. ECHO ============================================================ ECHO Cleaning the image, resetting the WinSxS database ECHO ============================================================ "%DISM11%" /English /Image:"%InstallMount%" /cleanup-image /startcomponentcleanup /resetbase I removed the localization from the script, since the image is already RU, added the tweaks I needed and removed the commands I didn’t need in its script. Spoiler According to my plan, the install.wim file should be moved from the DVD folder to the shared folder of your instrument, and the DVD folder itself should be deleted. But something is not working for me and install.wim is not moved to the root of your folder and the DVD folder is not deleted. Can you help me with this question and correct the code I suggested so that this part of the script works normally? Code: ECHO. ECHO ============================================================ ECHO Re-Building Source Install.wim Image ECHO ============================================================ "Bin\wimlib-imagex.exe" export "%Wim%" all "%WimTemp%" --compress=LZX move /y "%WimTemp%" "%Wim%" "%DISM%" /English /Cleanup-Mountpoints ECHO. ECHO =========================================================== ECHO Exporting the image to install.wim ECHO =========================================================== "%DISM11%" /English /Image:"%InstallMount%" /export-image /sourceimagefile:"%WIM%" /sourceindex:1 /destinationimagefile:"%install.wim" ECHO. ECHO ============================================================ ECHO Remove mount and cleanup folders ECHO ============================================================ "%DISM11%" /english /rd /q /s "DVD" 1>nul 2>nul ECHO. ECHO. ECHO All Finished. ECHO. ECHO Press any key to end the script. ECHO. Pause >nul EXIT
Unpacking of files is performed from the ISO folder and the LTSC subfolder to the DVD folder, just put your ISO distribution along the ISO\LTSC path. After the end of processing, the DVD folder will contain files already processed by the script. Just correctly place your untouched ISO and get in the DVD folder already processed your install.wim, as well as boot.wim. No movements of install.vim are provided in this scenario.
Yes, everything is clear, I do everything exactly this way and get everything as intended in your script. But I'm only interested in the install.wim file. This is why I want to move the install.wim (после полного выполнения вашего скрипта) file after running your script from the DVD folder to the root of your folder, and delete the DVD folder itself, since it is no longer needed. I tried to do this, but it didn't work.
You can transfer only the install.wim to your distribution, but only without the boot.wim and other files, since the boot.wim and all other files in the image are very much interconnected with each other by updating DU_Sources. How else can I help you?
Well, we don't understand each other with these translations, so I'll write in Russian: I repeat, your script works just fine. I use not English but Russian LTSC image as a template, so in your script I upgrade it to IoT LTSC and update it to 26100.2314. Everything else, except for the tweaks you applied and my own tweaks that I need, is left in the script. So I don't need ANYTHING from the DVD folder except the install.wim file. And that is why I would like to move the finished, processed install.wim file from the DVD folder to the root of the folder with your tools, and delete the DVD folder itself, because it is not needed. For my build I need only the resulting install.wim file and nothing else!
I've already changed the script and everything works great. All I need is just these two lines of code to move install.wim and delete the DVD folder and nothing else.
copy /y "DVD\sources\install.wim" "%~dp0" rd /q /s "DVD" >nul 2>&1 Is there anything else I can help you with?