wimcapture + wimapply results in chkdsk errors
Posted: Mon Mar 06, 2023 4:45 pm
It seems wimcapture/wimapply have some trouble with WinSxS/Manifests folder capturing/applying.
Steps to reproduce:
1. Install Windows Server (at least 2016 and 2019 confirmed, but it may be other versions also probably)
2. Sysprep, shutdown
3. Start linux (I used debian and ubuntu)
4. Install ntfs-3g (2017.3.23AR.3-4) and wimtools (1.13.5)
5. capture partition with windows to wim file
6. format partition with mkfs.ntfs
7. apply wim file back to it with wimapply
8. boot windows and run chkdsk c:, it stops with the error detected in index $I30 for file 55E8 (for Server 2019). If you run it with key /f and reboot, it also fixes some errors in other folders in WinSxS.
Steps to reproduce:
1. Install Windows Server (at least 2016 and 2019 confirmed, but it may be other versions also probably)
2. Sysprep, shutdown
3. Start linux (I used debian and ubuntu)
4. Install ntfs-3g (2017.3.23AR.3-4) and wimtools (1.13.5)
5. capture partition with windows to wim file
6. format partition with mkfs.ntfs
7. apply wim file back to it with wimapply
8. boot windows and run chkdsk c:, it stops with the error detected in index $I30 for file 55E8 (for Server 2019). If you run it with key /f and reboot, it also fixes some errors in other folders in WinSxS.