Errors with certain software in Windows 7 when burning CDs or DVDs containing files larger than 128KB


Consider the following scenario:
  • You are using a CD/DVD burning program in Windows 7.
  • This program uses the legacy IMAPI version 1 application programming interface to write data to the CD or DVD.
  • This program also uses the OLE Structured Storage application programming interface.

In this scenario, you may experience an error when trying to burn a CD/DVD image which contains files larger than 128KB.


This behavior occurs in Windows 7 due to a design change intended to improve the reliability of CD/DVD burning.


Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:

332756 How to back up and restore the registry in Windows

  1. Start Registry Editor.
  2. Locate the following registry key: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services
  3. On the Edit menu, click New, and then click Key. Type imapi and then press ENTER.
  4. Select imapi, click New on the Edit menu, and click QWORD (64-bit) Value.
  5. For the name of the value, type MinNonstashedItemSize. Leave the value data at the default of 0.
  6. Click New on the Edit menu, and click DWORD (32-bit) Value.
  7. For the name of the value, type MaxTrackedNonstashedItemCount. Leave the value data at the default of 0.

More Information

Microsoft recommends that Windows developers use the Image Mastering Application Programming Interface (IMAPI) version 2.0 when developing CD and DVD recording software. IMAPI version 2.0 was introduced in Windows Vista. It is also available for installation on Windows XP through the Microsoft Download Center. For more information, please see the following article in the Microsoft Knowledge Base:

952011 Description of the Image Mastering API v2.0 (IMAPIv2.0) update package in Windows Feature Pack for Storage 1.0