Article ID: 186146
Article Last Modified on 10/31/2006
APPLIES TO
- Microsoft Windows NT Server 4.0 Standard Edition
- Microsoft Windows NT Workstation 4.0 Developer Edition
- Microsoft Windows NT Server 4.0 Enterprise Edition
This article was previously published under Q186146
SYMPTOMS
Extended ANSI values in a .reg files are not added to the registry.
If you create a .reg file that contains any @=hex(2) values or you modify
and existing .reg fil,e none of the extended ANSI values after the @=hex(2)
value will be added to the registry.
Example of a .reg file:
REGEDIT4
[HKEY_CLASSES_ROOT\aifffile\DefaultIcon]
@=hex(2):44,3a,5c,57,49,4e,4e,54,34,30,5c,53,79,73,74,65,6d,33,32,5c,
71,75,61,72,74,7a,2e,64,6c,6c,2c,2d,32,30,32,00
"AMovie.bak"="MPlayer.exe,2"
Changing any of the ANSI codes after the @=kex(2) value and then double-
clicking the .reg file will not yield any changes to the registry for that
key; neither will running REGEDIT Test.reg.
NOTE: You can create a .reg file by running REGEDIT, selecting the key you
want to export, and then selecting Export Registry from the Registry menu.
CAUSE
This problem is a limitation with Regedit.exe
RESOLUTION
To work around this problem, export the key(s) you want to modify with the
Windows NT Server 4.0 Resource Kit utilities Regdmp.exe and Regini.exe.
For information about how to use REGDMP and REGINI, please refer to the
Windows NT Server 4.0 Resource Kit documentation.
STATUS
Microsoft has confirmed this to be a problem in Windows version 4.0. We are
researching this problem and will post new information here in the
Microsoft Knowledge Base as it becomes available.
Keywords: kbbug KB186146