Clear the Delivery Optimization job queue

Asher Jebbink
Nov 27, 2023

This is a quick and dirty method of clearing the Delivery Optimization queue which is useful when needing to clear a stuck job. Note that as we will be completely resetting the service’s “state”, this also has the consequence of clearing Delivery Optimization’s knowledge about its cache.

  1. Stop the Delivery Optimization service
    Get-Service -Name “DoSvc” | Stop-Service -Force
  2. Delete the Delivery Optimization state files
    Remove-Item -Path “C:\Windows\ServiceProfiles\NetworkService\AppData\Local\Microsoft\Windows\DeliveryOptimization\State” -Force -Recurse
  3. Start the Delivery Optimization service
    Get-Service -Name “DoSvc” | Start-Service
  4. Restart or retry whatever process you were trying to do that got stuck and brought you here

--

--