X: ISO boot to install --> shutdown --> capture --> Unstaged image (even though you have installed all features) O: ISO boot to install --> at OOBE, press ctrl+shift+F3 to restart --> check generalize, oobe, shutdown --> capture --> Normal image (even though barebone system)
But the former CAN boot to oobe. So what's the difference? Plus , how can use offline Sysprep providor of dism?
I'd better compare the three images (Stagesxs, iso booted, syspreped) to create a registry and file tweak.
I'd talked about it again and again. At OOBE, press Ctrl+Shift+F3 to reboot, so no user. Then sysprep \generalize \oobe shutdown. 1. Capture to 1.wim 2. Export 1.wim to install.wim 3. By 7-Zip, open install.wim and delete residuals. Then? Add wim information. Then? Use it to reconstruct other editions.
User is created end-user account. Administrator is Default Administrative account - not be avoidable. If you don't follow the sequences, and create an account and login, then sysprep, well, there will be two accounts after sysprepped. Then you have to delete the user account before sysprep shutdown. At OOBE, press Ctrl+Shift+F3 to reboot = DO NOT create any User account = so no user Then after sysprepped, only one unavoidable Administrator. This is normal. PS: You can capture with exceptions by some mean. Go ask help from Script thread.
Evidence: Official uup image doesn't have administrator. Evidence2:There is no sysprep in dtcinstall.log in official uup image. Suggestion and anticipation: Microsoft uses dism offline sysprep provider to generalize uup images.
Test Unstaged 19044.1586 Windows 10 LTSC amd64 3in1 Reconstruction Code: WIM Information: --------------------- GUID:{1AEAF6F9-CC52-41E9-B1D9-F83279F8DC25} Image Count:3 Compression:LZX Part Number:1/1 Attributes:0xC VERIFY_DATA RP_FIX Image Index: 1 ------------------- Name:Windows 10 IoT Enterprise LTSC 2021 Description:Windows 10 IoT Enterprise LTSC 2021 Flags:IoTEnterpriseS Files:86388 Folders:25531 Expanded Size:12486 MB Image Index: 2 ------------------- Name:Windows 10 Enterprise LTSC 2021 Description:Windows 10 Enterprise LTSC 2021 Flags:EnterpriseS Files:86743 Folders:25533 Expanded Size:12483 MB Image Index: 3 ------------------- Name:Windows 10 Enterprise N LTSC 2021 Description:Windows 10 Enterprise N LTSC 2021 Flags:EnterpriseSN Files:84532 Folders:24867 Expanded Size:12090 MB WIM XML Information: --------------------------- <WIM> <TOTALBYTES>3769519068</TOTALBYTES> <IMAGE INDEX="1"> <DIRCOUNT>25531</DIRCOUNT> <FILECOUNT>86388</FILECOUNT> <TOTALBYTES>13093190736</TOTALBYTES> <HARDLINKBYTES>5715801826</HARDLINKBYTES> <CREATIONTIME> <HIGHPART>0x01D83B6A</HIGHPART> <LOWPART>0x180A58B3</LOWPART> </CREATIONTIME> <LASTMODIFICATIONTIME> <HIGHPART>0x01D83B6A</HIGHPART> <LOWPART>0x323C8500</LOWPART> </LASTMODIFICATIONTIME> <WIMBOOT>0</WIMBOOT> <WINDOWS> <ARCH>9</ARCH> <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME> <EDITIONID>IoTEnterpriseS</EDITIONID> <INSTALLATIONTYPE>Client</INSTALLATIONTYPE> <SERVICINGDATA> <IMAGESTATE>IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE</IMAGESTATE> <GDRDUREVISION>0</GDRDUREVISION> <PKEYCONFIGVERSION>10.0.19041.1202;2016-01-01T00:00:00Z</PKEYCONFIGVERSION> </SERVICINGDATA> <PRODUCTTYPE>WinNT</PRODUCTTYPE> <PRODUCTSUITE>Terminal Server</PRODUCTSUITE> <LANGUAGES> <LANGUAGE>en-US</LANGUAGE> <DEFAULT>en-US</DEFAULT> </LANGUAGES> <VERSION> <MAJOR>10</MAJOR> <MINOR>0</MINOR> <BUILD>19044</BUILD> <SPBUILD>1586</SPBUILD> <SPLEVEL>0</SPLEVEL> <BRANCH>vb_release</BRANCH> </VERSION> <SYSTEMROOT>WINDOWS</SYSTEMROOT> </WINDOWS> <NAME>Windows 10 IoT Enterprise LTSC 2021</NAME> <DESCRIPTION>Windows 10 IoT Enterprise LTSC 2021</DESCRIPTION> <FLAGS>IoTEnterpriseS</FLAGS> <DISPLAYNAME>Windows 10 IoT Enterprise LTSC</DISPLAYNAME> <DISPLAYDESCRIPTION>Windows 10 IoT Enterprise LTSC</DISPLAYDESCRIPTION> </IMAGE> <IMAGE INDEX="2"> <DIRCOUNT>25533</DIRCOUNT> <FILECOUNT>86743</FILECOUNT> <TOTALBYTES>13090195202</TOTALBYTES> <HARDLINKBYTES>5715801826</HARDLINKBYTES> <CREATIONTIME> <HIGHPART>0x01D83B6D</HIGHPART> <LOWPART>0x9884772F</LOWPART> </CREATIONTIME> <LASTMODIFICATIONTIME> <HIGHPART>0x01D83B6D</HIGHPART> <LOWPART>0xB6B55FB9</LOWPART> </LASTMODIFICATIONTIME> <WIMBOOT>0</WIMBOOT> <WINDOWS> <ARCH>9</ARCH> <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME> <EDITIONID>EnterpriseS</EDITIONID> <INSTALLATIONTYPE>Client</INSTALLATIONTYPE> <SERVICINGDATA> <IMAGESTATE>IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE</IMAGESTATE> <GDRDUREVISION>0</GDRDUREVISION> <PKEYCONFIGVERSION>10.0.19041.1202;2016-01-01T00:00:00Z</PKEYCONFIGVERSION> </SERVICINGDATA> <PRODUCTTYPE>WinNT</PRODUCTTYPE> <PRODUCTSUITE>Terminal Server</PRODUCTSUITE> <LANGUAGES> <LANGUAGE>en-US</LANGUAGE> <DEFAULT>en-US</DEFAULT> </LANGUAGES> <VERSION> <MAJOR>10</MAJOR> <MINOR>0</MINOR> <BUILD>19044</BUILD> <SPBUILD>1586</SPBUILD> <SPLEVEL>0</SPLEVEL> <BRANCH>vb_release</BRANCH> </VERSION> <SYSTEMROOT>WINDOWS</SYSTEMROOT> </WINDOWS> <NAME>Windows 10 Enterprise LTSC 2021</NAME> <DESCRIPTION>Windows 10 Enterprise LTSC 2021</DESCRIPTION> <FLAGS>EnterpriseS</FLAGS> <DISPLAYNAME>Windows 10 Enterprise LTSC</DISPLAYNAME> <DISPLAYDESCRIPTION>Windows 10 Enterprise LTSC</DISPLAYDESCRIPTION> </IMAGE> <IMAGE INDEX="3"> <DIRCOUNT>24867</DIRCOUNT> <FILECOUNT>84532</FILECOUNT> <TOTALBYTES>12677705029</TOTALBYTES> <HARDLINKBYTES>5522860577</HARDLINKBYTES> <CREATIONTIME> <HIGHPART>0x01D83B70</HIGHPART> <LOWPART>0xE6E9B8C5</LOWPART> </CREATIONTIME> <LASTMODIFICATIONTIME> <HIGHPART>0x01D83B71</HIGHPART> <LOWPART>0x0519D11E</LOWPART> </LASTMODIFICATIONTIME> <WIMBOOT>0</WIMBOOT> <WINDOWS> <ARCH>9</ARCH> <PRODUCTNAME>Microsoft® Windows® Operating System</PRODUCTNAME> <EDITIONID>EnterpriseSN</EDITIONID> <INSTALLATIONTYPE>Client</INSTALLATIONTYPE> <SERVICINGDATA> <IMAGESTATE>IMAGE_STATE_GENERALIZE_RESEAL_TO_OOBE</IMAGESTATE> <GDRDUREVISION>0</GDRDUREVISION> <PKEYCONFIGVERSION>10.0.19041.1202;2016-01-01T00:00:00Z</PKEYCONFIGVERSION> </SERVICINGDATA> <PRODUCTTYPE>WinNT</PRODUCTTYPE> <PRODUCTSUITE>Terminal Server</PRODUCTSUITE> <LANGUAGES> <LANGUAGE>en-US</LANGUAGE> <DEFAULT>en-US</DEFAULT> </LANGUAGES> <VERSION> <MAJOR>10</MAJOR> <MINOR>0</MINOR> <BUILD>19044</BUILD> <SPBUILD>1586</SPBUILD> <SPLEVEL>0</SPLEVEL> <BRANCH>vb_release</BRANCH> </VERSION> <SYSTEMROOT>WINDOWS</SYSTEMROOT> </WINDOWS> <NAME>Windows 10 Enterprise N LTSC 2021</NAME> <DESCRIPTION>Windows 10 Enterprise N LTSC 2021</DESCRIPTION> <FLAGS>EnterpriseSN</FLAGS> <DISPLAYNAME>Windows 10 Enterprise N LTSC</DISPLAYNAME> <DISPLAYDESCRIPTION>Windows 10 Enterprise N LTSC</DISPLAYDESCRIPTION> </IMAGE> </WIM>
Tested 22000.1 zh-CN Unstaged wim with tweak Spoiler: Work normally Didn't add edge. Also, most UWP apps don't work because I didn't add their registry
I haven't made a conclusion yet. Just copied a lot of registry keys from install.wim of uup. Still needs time to determine which keys are essential.