A DnsAdmins member gets The record cannot be deleted, Access Denied in an AD-integrated zone? The group is missing from the zone ACL. Grant DnsAdmins Full Control with dsacls, ADSI Edit or the zone Security tab.
Home › Guides › DNS record cannot be deleted, Access Denied
Last updated 22 November 2026
"The record cannot be deleted. Access Denied" when a member of DnsAdmins deletes a record in an Active Directory-integrated zone means the zone's permissions don't include DnsAdmins. Microsoft (KB 837335) says the group's permissions may not be added automatically on newly created AD-integrated zones. Workaround: give DnsAdmins Full Control on the zone, either for all zones at once on the CN=MicrosoftDNS,CN=System container with dsacls ... /G DNSADMINS:GA /I:T, in ADSI Edit, or per zone on the Security tab of the zone's properties in the DNS console (applied to This object and all child objects). Do this as an administrator, not as the DnsAdmins member who got the error.
You're a member of the DnsAdmins security group and you try to delete a record (or other zone information) on a Windows DNS server. The DNS console refuses with:
The record cannot be deleted Access Denied
The zone is Active Directory-integrated, so its records are directory objects and the delete is checked against the zone's access control list (ACL) in AD. On newly created AD-integrated zones the DnsAdmins group may not get its permissions automatically, so DnsAdmins membership alone isn't enough to delete.
| Method | Scope | Where you change it |
|---|---|---|
| 1. Dsacls | The MicrosoftDNS container in the domain partition and the objects below it (/I:T) | Command prompt, as an administrator |
| 2. ADSI Edit | The zone folder you pick under CN=MicrosoftDNS | adsiedit.msc, Domain NC > CN=System > CN=MicrosoftDNS |
| 3. DNS console | One zone, applied to This object and all child objects | Zone Properties > Security > Advanced |
Sign in as an administrator, open a command prompt and grant DnsAdmins Generic All (Full Control), inherited by this object and all child objects (/I:T):
dsacls "\\servername\CN=MicrosoftDNS,CN=System,DC=domain,DC=com" /G DNSADMINS:GA /I:T
Replace servername with a domain controller and the DC= parts with your domain. Microsoft's article prints the switch as / I:T with a space; the dsacls syntax is /I:T. This targets the MicrosoftDNS container in the domain partition. Zones stored in an application directory partition (for example DomainDnsZones) have their own MicrosoftDNS container in that partition, so check where the zone lives first.
adsiedit.msc.DC= and matches your domain.DnsAdmins and select OK.The Apply onto setting is what carries Full Control down to the records in the zone, not only the zone object.
Have the DnsAdmins member try the delete again. In a multi-DC domain, the ACL change has to replicate before every DNS server enforces it, so try against the DC you changed first. If records come back after you delete them, something is re-registering them: see unwanted NIC registered in DNS for domain controller addresses and DHCP DNS dynamic updates for records the DHCP server owns. If records disappear that you didn't delete, see DNS records missing from a zone.
Look up DNS Server events such as 4000 and 4013 in the Windows Event ID Lookup, copy the dsacls and DNS Server lines from the PowerShell Cheat Sheet, pull zone names out of dsacls or ADSI Edit output with the Regex Tester, check the addresses of the records you want to delete with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the device behind a stale record before you delete it with the MAC Vendor Lookup. Related guides: DNS records missing from a zone, DHCP DNS dynamic updates not working, unwanted NIC registered in DNS and common Windows DNS Server and DHCP Server errors.
Every Windows DNS Server and DHCP Server event and symptom in one place: common Windows DNS Server and DHCP Server errors.
On newly created Active Directory-integrated zones, the DnsAdmins group may not get its permissions automatically, so the zone ACL doesn't allow the delete and the DNS console shows The record cannot be deleted, Access Denied.
As an administrator run dsacls against the CN=MicrosoftDNS,CN=System container of the domain with /G DNSADMINS:GA /I:T, which grants Generic All on the container and the objects below it.
Yes. In the DNS console open the zone's Properties, Security tab, add DnsAdmins with Full Control, then under Advanced set Apply onto to This object and all child objects.
Under Domain NC, the DC= folder of your domain, CN=System, CN=MicrosoftDNS. Zones stored in an application directory partition such as DomainDnsZones have their own MicrosoftDNS container there.
An administrator. Each of Microsoft's three methods starts by signing in as an administrator, because the DnsAdmins member who got Access Denied is the account that lacks the permission.
Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.