Can’t Delete ConfigMgr_OfflineImageServicing Folder After Failed Servicing in MECM

Problem:  Can’t delete ConfigMgr_OfflineImageServicing folder after a failed offline image servicing.  Errors in OfflineServicingMgr.log preventing all scheduled offline servicing.

OfflineServicing

Failed to remove previously existing staging folder E:\ConfigMgr_OfflineImageServicing\DCS00120, GLE = 5

Manually deleting the folder from explorer gives errors stating you don’t have administrative permissions, taking ownership of content doesn’t help either.

Solution: Reboot server. Run DISM /cleanup-wim once completed you’ll be able to manually delete the folder.

##NOTE##: Reboot may not always be required

Source: Can’t Delete ConfigMgr_OfflineImageServicing Folder After Failed Servicing. | Configuration Manager 2012 (wordpress.com)