Quantcast
Channel: Microsoft Deployment Toolkit forum
Viewing all articles
Browse latest Browse all 11297

DISM error 183, cannot create a file that exists mounting VHD

$
0
0

I am attempting to use DISM in Server 2012 against a VHD that has Server 2008 R2 SP1 within it.

I am executing the following command:

dism /mount-image /ImageFile:"D:\xaAzure.vhd" /MountDir:"D:\Media\offline" /index:1

And I consistently receive the error:

Deployment Image Servicing and Management tool
Version: 6.2.9200.16384

Error: 183

Cannot create a file when that file already exists.

I have recreated the VHD (I used Convert-WindowsImage.ps1 to create it), I have rebooted, I have checked for file locks, paths, etc.  I cannot find the root of the error.

The log is not very helpful to me.  there is one error that is useful, but it means little and search is not finding anything:

DISM   DISM Imaging Provider: PID=1388 TID=2264 VHD image specified - CGenericImagingManager::GetImageInfoCollection
DISM   DISM Provider Store: PID=1388 TID=2264 Getting Provider VHDManager - CDISMProviderStore::GetProvider
DISM   DISM Provider Store: PID=1388 TID=2264 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
DISM   DISM VHD Provider: PID=1388 TID=2264 Could not create the child VHD file - CVhdUtils::CreateAndSurfaceDiffDisk(hr:0x800700b7)
DISM   DISM VHD Provider: PID=1388 TID=2264 Could not create and surface differencing VHD - CVhdUtils::MountVhd(hr:0x800700b7)
DISM   DISM VHD Provider: PID=1388 TID=2264 base\ntsetup\opktools\dism\providers\vhdprovider\dll\vhdimageinfo.cpp:547 - CVhdImageInfo::Mount(hr:0x800700b7)


Brian Ehlert
http://ITProctology.blogspot.com
Learn. Apply. Repeat.
Disclaimer: Attempting change is of your own free will.



Viewing all articles
Browse latest Browse all 11297

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>