@sainfo This script allows you to reduce the number of files required to run win 11 setup.exe inside the Sources dir for a clean or unattended setup, reduces the bloat. Normally the bootwim will look for all files & the installation would fail! Only works on clean installs not an upgrade. This script allows you to delete every file & folder except what is pictured in this screen shot below. @SunLion you might consider incorporating this into the Win 11 script as a unattended option perhaps? Code: DISM /Mount-Wim /wimfile:D:\sources\boot.wim /index:2 /mountdir:C:\Mount reg load HKLM\TEMP C:\Mount\Windows\System32\config\SYSTEM reg add HKLM\TEMP\Setup /v "CmdLine" /t REG_SZ /d "X:\\sources\\setup.exe" /f reg unload HKLM\TEMP DISM /Unmount-Wim /mountdir:C:\Mount /commit"
I still didn’t understand what the point of all this was. In fact, to successfully install the OS, it is enough to have only three files in the Sources folder - boot.wim, install.wim and setup.exe. That’s why I always leave these three files in this folder, and simply delete the rest manually, and I’ve never had any problems installing any OS. I usually place the scripts applied to the image along the path: Windows\Setup\ ...
What can I tell you about it. Yes, I have been using Windows 11 since the first day it appeared and only the IoT LTSC version because I like it better than other releases. I don't use other people's builds, I build them for myself and my closest friends. I have never had any problems with Windows 11, and if there were any problems, they were all successfully eliminated at the stage of image formation. Here can be of course everyone has their own opinions on the matter, but personally I believe that 24H2 is the best, to date, of all releases of Windows. IMHO
Not with the most recent win 11 builds, yes early builds no problem! eg. 24H2 is it's running the new Setup client which calls setupprep.exe & setuphost.exe.
I don’t even want to argue with you about this, because personally I have no problems with 24H2. The system works stably and without any problems.
Well, I added the code and made some adjustments to the script, for testing... I did not test the image installation. Download it and see if that's really it. Attachment removed. A new corrected one has been uploaded.
The script worked without errors, the image does not install, I built the image 2 times and each time the image does not install.
Well in my install is working though, it show 4 choice of mode of screen capture and then after the capture, the image is stored in the clipboard, then you can paste to any imaging software that you wanted