Microsoft KB Archive/837335

= You receive a &quot;The record cannot be deleted&quot; error message when you try delete a record from a DNS zone =

Article ID: 837335

Article Last Modified on 10/30/2006

-

APPLIES TO


 * Microsoft Windows Server 2003, Standard Edition (32-bit x86)
 * Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
 * Microsoft Windows Server 2003, Datacenter Edition (32-bit x86)

-





SUMMARY
''When you try to delete a record from a DNS zone, you may receive an error message. This issue may occur if security permissions for the DnsAdmins security group are not automatically added to the newly created Active Directory Integrated zones. This article describes workarounds that you can use.''



SYMPTOMS
As member of the DnsAdmins security group, you may not be able to delete zone information on a DNS server. If you try to delete a record, you may receive the following error message:

The record cannot be deleted Access Denied



CAUSE
This issue may occur if either of the following conditions is true:
 * The domain is upgraded to Windows Server 2003, and you have Active Directory Integrated zones that were created by using Windows 2000.
 * Security permissions for the DnsAdmins security group are not automatically added on the newly created Active Directory Integrated zones.



WORKAROUND
To work around this issue, manually add the DnsAdmins security group to the zone access control list (ACL) and grant Full Control.

To do so, use one of the following methods to assign Full Control to DnsAdmins security group.

Method 1: Use the Dsacls.exe tool to assign Full Control permissions to the DNSAdmins group
Note Install the Dsacls.exe tool (Dsacls.exe) from the \Support\Tools folder on the Windows Server 2003 media.  Log on to your computer as administrator. Click Start, click Run, type cmd, and then click OK. Type the following command, and then press ENTER:

dsacls &quot;\\ \CN=MicrosoftDNS, CN=System, DC=, dc= ” /G DNSADMINS:GA / I:T



Method 2: Use Active Directory Service Interfaces (ADSI) Editor to assign Full Control permissions to the DNSAdmins group

 * 1) Log on to your computer as administrator.
 * 2) Click Start, click Run, type adsiedit.msc, and then click OK.
 * 3) Expand Domain NC.

This node contains a folder that begins with &quot;DC=&quot; and reflects the correct domain name, such as &quot;DC=exampledomain DC=net&quot;.
 * 1) Expand CN=System, and then click CN=MicrosoftDNS.
 * 2) In the right pane, right-click the folder where you want to change the permissions, and then click Properties.
 * 3) In the   properties dialog box, click the Security tab.
 * 4) In the DnsAdmins Permissions list, click to select the Full Control check box for the Allow column, and then click OK two times.
 * 5) On the File menu, click Exit.

Method 3: Use DNS to assign Full Control permissions to the DnsAdmins group

 * 1) Click Start, point to All Programs, point to Administrative Tools, and then click DNS.
 * 2) In the console tree, click the applicable zone.
 * 3) On the Action menu, click Properties.
 * 4) In the Properties dialog box for the zone, click Security, and then click Add.
 * 5) In the Select Users, Computers, or Groups dialog box, type DnsAdmins, and then click OK in the Enter the object names to select text box.
 * 6) In the Permissions list for DnsAdmins, click to select the Full Control check box for the Allow column.
 * 7) Click Advanced, click DnsAdmins, and then click Edit.
 * 8) In the Apply onto drop-down menu, click to select This object and all child objects.
 * 9) Click OK three times.
 * 10) On the File menu, click Exit.

Keywords: kbwinservds kbactivedirectory kbprb KB837335

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.