Bottom Line: It is 100% safe to delete DOSVC logs. Deleting these logs will not affect your ability to download Windows Updates or Microsoft Store apps.
What are DOSVC Logs?
Located at C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\DeliveryOptimization\Logs, DOSVC logs are created by the Delivery Optimization service (dosvc).
Delivery Optimization is a Windows 10/11 feature that lets your PC download Windows updates and Microsoft Store apps from other local PCs on your network (peer-to-peer). The dosvc service continuously logs peer connection stats, bandwidth usage, and transfer logs into this directory.
Can You Delete DOSVC Logs?
✅ Yes, it is completely safe to delete.
- No system risk: DOSVC files are diagnostic text logs.
- Frees space: On systems where Delivery Optimization gets stuck, log files can accumulate up to 5 GB of wasted space.
How to Safely Clean Up DOSVC Logs
Method 1: Using Windows Disk Cleanup (Recommended)
- Open Start, search Disk Cleanup, and run it as Administrator.
- Select
C:drive and click Clean up system files. - Check Delivery Optimization Files.
- Click OK > Delete Files.
Method 2: Manual Deletion via Command Prompt (Admin)
- Open Start, search
cmd, right-click Command Prompt, and select Run as administrator. - Stop the Delivery Optimization service:
net stop dosvc - Delete the log files:
del /f /q C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\DeliveryOptimization\Logs\*.* - Restart the service:
net start dosvc
Related Guides
- Learn about cleaning Delivery Optimization Files.
- How to clean up SoftwareDistribution Folder.
- Check if you can clean CBS.log files.
Discussion
Loading authentication...