Most Common Cause: Permissions on the DNS Zone File
Every time I see this error, 9 times out of 10, the DNS server can't write to its own zone file. Happened to a client last month — their backup software reset the NTFS permissions on C:\Windows\System32\dns. The DNS service runs as NT AUTHORITY\SYSTEM or NETWORK SERVICE (depending on the OS version), and someone had locked down that folder.
Check and Fix the Permissions
- Open File Explorer and go to
C:\Windows\System32\dns. - Right-click the dns folder, pick Properties, then the Security tab.
- Make sure these accounts have at least Modify permission:
SYSTEMAdministratorsNETWORK SERVICE(if you're on Windows Server 2016 or newer, it's usuallyNT AUTHORITY\NETWORK SERVICE)
- If any of those are missing, click Add, type the account name, and give it Modify rights.
- Click OK and restart the DNS service:
net stop dns && net start dnsin an admin command prompt.
The fix is quick, but sometimes the permissions get reset by a third-party backup tool or a manual cleanup. I had one server where someone applied a security template that removed all inheritance — that was a fun afternoon.
Second Cause: Disk Space Full
DNS zone files grow over time, especially with dynamic updates. If the disk is full, the DNS server can't write the zone data file. The error will look identical because the writeback fails silently.
The Fix
- Check free space on the drive hosting the DNS zone files (usually C:).
- If it's under 10%, clean up old logs, temp files, or move the DNS folder to another drive.
- Run
cleanmgror use a tool likewiztreeto find what's eating space. - Once you free up space, restart the DNS service.
Pro tip: Don't just check the C: drive. If you moved the DNS folder to another volume, that's where the problem lives. I've chased this ghost twice before realizing the D: drive was 100% full from SQL backups.
Third Cause: Registry Boot Method Misconfiguration
Sometimes the DNS server's boot method gets messed up. It should be set to File for standard zones or Registry for AD-integrated zones. If it's set wrong, the server won't know where to save the zone data and throws this error.
Check and Fix the Registry
- Open
regeditand go to:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters. - Look for the BootMethod value (DWORD). It should be:
- 2 — for file-backed zones (standard primary or secondary zones)
- 3 — for Active Directory integrated zones (the domain controller)
- 1 — for booting from registry (rarely used, don't set this unless you know why)
- If it's set to 0 (which means from registry) or anything else unexpected, change it to the correct value for your setup.
- Restart the DNS service again:
net stop dns && net start dns.
This one's less common, but I saw it on a Server 2012 box where someone migrated from a file-based DNS to AD-integrated and forgot to flip the registry key. The error showed up after every reboot until we fixed it.
Quick-Reference Summary Table
| Cause | Fix | Check First |
|---|---|---|
| Permissions on DNS folder | Grant Modify to SYSTEM, Administrators, and NETWORK SERVICE | Check C:\Windows\System32\dns security |
| Disk space low | Free up at least 10% of the drive | Run dir on the DNS folder to see file size |
| Registry BootMethod wrong | Set to 2 (file) or 3 (AD integrated) | Check HKLM\...\DNS\Parameters\BootMethod |
That's it. Three causes, three fixes. Most of the time it's permissions. If not, disk space. And if neither, the registry. You'll have it sorted in under ten minutes.