zhizhu
Home / windows-fixes / Fix WSL Ubuntu resolv.conf Reset on Every Reboot - Resolve 'File Locked by System' in Windows Defender-Troubleshoot Error 0x80070020 Port Allocation

Fix WSL Ubuntu resolv.conf Reset on Every Reboot - Resolve 'File Locked by System' in Windows Defender-Troubleshoot Error 0x80070020 Port Allocation

Updated 2026-06-13 13:13:17windows-fixes
Fix WSL Ubuntu resolv.conf Reset on Every Reboot - Resolve 'File Locked by System' in Windows Defender-Troubleshoot Error 0x80070020 Port Allocation
Likely symptom
Likely cause
Safe rollback

Verification route

  • Repeat the original action, not only a simplified test case.
  • Restart the app or reload the service after configuration changes.