Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Unable to delete comments in Administrative Settings of Group Policy Editor in Windows Server 2008 R2 and Windows 7


View products that this article applies to.

Symptoms

You are managing Group Policy in an Active Directory domain using the Administration tools that come with Windows Server 2008 R2 or the Windows 7 RSAT package. When you edit Administrative Settings, you also enter comments to describe the on-going work. Sometimes you want to remove a comment.

Although this seems to work initially, if you open the policy setting in a new instance of Group Policy Editor, the last version of the comment is shown. Also when you run a report of the policy, you will see that the comment is still shown there.

↑ Back to the top


Cause

When removing a comment, the check to write the change to a file is done incorrectly and the deletion of the comment is not written to the file holding the comment.

↑ Back to the top


Resolution

To work around the problem, include any non-empty string in the comment. For example, adding a single space to the comment is enough to avoid the problem.

The policy report will still show the comment, even though no setting is made in the policy. In this case, the only way to get rid of the comment is to remove COMMENT.CMTX in the policy folder, user or computer part. Note that this will remove all comments for the user or computer part in this policy.

If you want to find the comment and selectively remove it from the file, you have to understand the XML syntax that is stored here. You may require the assistance of Microsoft Support to accomplish this.

↑ Back to the top


More information

The Group Policy Editor in Windows Server 2008 and Windows Server 2003 are not affected by this issue.

↑ Back to the top


Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

↑ Back to the top


Keywords: KB2022375

↑ Back to the top

Article Info
Article ID : 2022375
Revision : 7
Created on : 6/18/2010
Published on : 6/18/2010
Exists online : False
Views : 271