This article was previously published under Q269629
This article has been archived. It is offered "as is" and will no longer be updated.
Regedt32.exe splits a string that is longer than 1,024 characters by inserting a null character within the string after 1,024 characters. If you open a REG_MULTI_SZ value that has a string that is longer than 1,024 characters and click OK to save it, the string is split after 1,024 characters and a null character is inserted.
When Regedt32.exe reads from the dialog box, strings that are longer than 1,024 characters are truncated because EM_GETLINECOUNT and EM_LINEINDEX are being used, which return only the length of the first line. Strings longer than 1,024 bytes are treated as multiple-line strings.
To resolve this problem, obtain the latest service pack for Windows 2000. For additional information, click the following article number to view the article in theMicrosoft Knowledge Base:
260910 How to Obtain the Latest Windows 2000 Service Pack
The English version of this fix should have the following file attributes or later:
Date Time Version Size File name ----------------------------------------------------- 08/09/00 09:26a 5.0.2195.2103 139,536 Regedt32.exe
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article. This problem was first corrected in Windows 2000 Service Pack 2.
For additional information about how to install Windows 2000 and Windows 2000 hotfixes at the same time, click the article number below to view the article in the Microsoft Knowledge Base:
249149 Installing Microsoft Windows 2000 and Windows 2000 Hotfixes