0X000025B6

DNS Zone Writeback Failed (0X000025B6) — Fix It Fast

This error means the DNS server couldn't save the zone data file. Usually a permission or disk space issue. Here's how to fix it without the fluff.

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

  1. Open File Explorer and go to C:\Windows\System32\dns.
  2. Right-click the dns folder, pick Properties, then the Security tab.
  3. Make sure these accounts have at least Modify permission:
    • SYSTEM
    • Administrators
    • NETWORK SERVICE (if you're on Windows Server 2016 or newer, it's usually NT AUTHORITY\NETWORK SERVICE)
  4. If any of those are missing, click Add, type the account name, and give it Modify rights.
  5. Click OK and restart the DNS service: net stop dns && net start dns in 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

  1. Check free space on the drive hosting the DNS zone files (usually C:).
  2. If it's under 10%, clean up old logs, temp files, or move the DNS folder to another drive.
  3. Run cleanmgr or use a tool like wiztree to find what's eating space.
  4. 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

  1. Open regedit and go to: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\DNS\Parameters.
  2. 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)
  3. If it's set to 0 (which means from registry) or anything else unexpected, change it to the correct value for your setup.
  4. 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.

Related Errors in Network & Connectivity
0X000025F3 Fix DNS_WARNING_PTR_CREATE_FAILED (0x000025F3) Fast 0XC00D1161 Fix NS_E_DVD_DISC_COPY_PROTECT_OUTPUT_FAILED (0XC00D1161) 0X00002139 Fix ERROR_DS_SENSITIVE_GROUP_VIOLATION (0X00002139) 0X000025EA DNS_NAME_NOT_IN_ZONE (0x000025EA) - Fix fast

Was this solution helpful?

EP
Erropedia Team
Tech Support Editors
The Erropedia editorial team researches and documents real-world tech errors from across Windows, Linux, macOS, networking, databases, cloud platforms, and more. Every solution is reviewed for accuracy and updated as software and systems evolve.