BUG: ADDITIVE Keyword Does Not Work in Custom .ADM Files (171274)
The information in this article applies to:
- Microsoft Win32 Application Programming Interface (API), when used with:
- the operating system: Microsoft Windows NT 4.0
This article was previously published under Q171274
IMPORTANT: This article contains information about editing the
registry.Before you edit the registry, make sure you understand how to
restore it ifa problem occurs. For information about how to do this, view
the "Restoringthe Registry" Help topic in Regedit.exe or the "Restoring a
Registry Key" Help topic in Regedt32.exe.
SYMPTOMS
The Resource Kit for Windows 95 and the Platform SDK document how to create
custom .ADM files that can be used with the System Policy Editor
(POLEDIT.EXE) under the Windows 95 and Windows NT platforms. This
documentation refers to the ADDITIVE keyword that you can use to add values
to the System Registry via a list box entry in the Policy Editor. The
ADDITIVE keyword is documented as follows:
ADDITIVE
If specified, values set in the list box are added to whatever values exist in the target Registry entry. Existing values are not deleted; by default, the content of list boxes will "override" whatever values are set in the target Registry. Specifically, a control value is inserted in the policy file which causes existing values to be deleted before the values set in the policy file are merged.
When you use the ADDITIVE keyword in a custom .ADM file in Windows NT 4.0,
it does not add values to the target registry entry. Instead it replaces
all the old values with the new value specified in the list box entry. In
addition, even if no changes are made, any binary data type in the registry
key is replaced by a string data type.
RESOLUTION
Do not use the ADDITIVE keyword while creating custom .ADM files to be used
by the Policy Editor.
STATUS
Microsoft has confirmed this to be a bug in the System Policy Editor
(POLEDIT.EXE) component of the Microsoft products listed at the beginning
of this article. We are researching this bug and will post new information
here in the Microsoft Knowledge Base as it becomes available.
REFERENCES
The Template file format for .ADM files is documented in the following
places:
- Windows 95 Resource Kit under the section User Profiles and System Services, System Policies
- Platform SDK documentation under the section Setup and Systems Management Services, System Policies
Modification Type: | Major | Last Reviewed: | 2/24/2004 |
---|
Keywords: | kbbug kbKernBase kbpending kbProgramming kbRegistry KB171274 |
---|
|