DISM fails with error 112 when NTFS compression is enabled in WinPE 10

DISM fails with error 112 when NTFS compression is enabled in WinPE 10

In today's article, we will try to solve the problem of NTFS compression in WinPE 10 using all the available disk space on your Windows computer. The use of NTFS compression involves a tradeoff between CPU time and disk activity. Compression will work best in certain types of situations and with certain types of files.

NTFS compression in WinPE 10 uses all available disk space

The NTFS file system used by Windows has a built-in compression function called NTFS compression. With a few clicks, you can compress files, which makes them occupy less space on your hard drive. Even better, you can still access the files normally.

Windows PE or WinPE is a small operating system used to install, deploy and repair Windows 10 for desktop editions (Home, Pro, Enterprise and Education), Windows Server and other operating systems Windows operation.

DISM fails with error 112

You may experience this problem if you try to create a partition on a system and then try to format the partition using the / VS to enable NTFS compression.

Now when you create a bootable USB drive in WinPE 10 x64 and copy the WIM "test" files to the USB drive, boot into WinPE on the test system and try to run the following command:

dism /apply-image /imagefile:d:test.swm /swmfile:d:test*.swm /index:1 /applydir:c:

DISM command may fail with error 112.

Here, the test system partition is drive C and the USB drive is drive D.

Even if you use WinPE 5 x64 in this scenario, you may experience the same problem. The WIM file is divided to fit on a FAT32 system. The log files are located in the wpe5 and wpe10 subfolders.

To work around this problem, Microsoft recommends that you do not format the volume using NTFS compression and use it instead WOF compression specifying /compact at demolish when you apply these images.

WOF means Windows overlay filter. Unlike native NTFS file compression, the Windows overlay filter only supports read operations. This means that there is no need to sectorize each compressed block by sector, so that the compressed data can be grouped more tightly. If you open the file for writing, the Windows overlay filter decompresses the entire file, converting it back to an ordinary file.

Windows overlay filter can take advantage of newer compression algorithms developed over the past 20 years, algorithms that produce better compression rates can be executed in parallel on multiple cores, and which require less CPU and memory for decompression.

This alleviates the problem and also speeds up the system using a more efficient compression algorithm.

Leave a Reply