ConfigMgr_OfflineImageServicing error – cannot delete

I came across an issue where the Offline Servicing for an OS image failed, and I couldnt get it to re-run successfully.

After a lot of research I found these commands helped to fully resolve the issue.

Run PowerShell as admin, then

dism.exe /cleanup-wim


dism.exe /cleanup-mountpoints


dism /get-mountedwiminfo

change the path below to your appropriate path. The below is 1 line of code.

dism /unMount-Wim /MountDir:F:\ConfigMgr_OfflineImageServicing\ABC00288\ImageMountDir /discard

posieandfig.co.uk

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s