Error creating MDT boot image

Looking for guidance on where I can look to troubleshoot the following issue.

Hoping theres a log file that records this information.
Procmon pulled up mtmgr.log, and it returns a few entries but nothing too helpful. 

Running System Center 2012 R2 SP1 CU1 with MDT 2013 Update 1.

Error when creating boot image.
Failed to mount wim file.  Return code 3.

September 10th, 2015 4:46pm

Are you using an AV. I have seen lot of people having issue with Mcaffe when mounting images.

Any chance you could disable the AV and make sure it's off and try again?

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 4:56pm

Running Endpoint Protection.

I disabled the antimalware service and retried but continue to get the same message.

Currently trying to find which log file records this activity.

September 10th, 2015 5:03pm

Can you look here: C:\WINDOWS\Logs\DSIM\dism.log
Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 5:27pm

This is an interesting one. 

At this point the process doesn't update DISM.log

Process Monitor does show the winpe.wim being copied from the program files directory to the temp directory in appdata. 

I'm attempting to mount the same wim using dism and imagex and am receiving the same error code 3, the system cannot find the path specified.

When running DISM manually the DISM.log shows the following error code:

2015-09-10 13:55:17, Error                 DISM   DISM WIM Provider: PID=3732 TID=2632 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2356 - CWimManager::InternalValidateOptions(hr:0x80070057)

2015-09-10 13:55:17, Error                 DISM   DISM WIM Provider: PID=3732 TID=2632 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2183 - CWimManager::ExecuteCmdLine(hr:0x80070057)

Scratching my head on this one...

September 10th, 2015 6:57pm

I can mount the wim using DISM on my windows 10 machine, so I'm thinking there's something corrupt with the WIM providers on the server.

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 7:01pm

0x80070057 = The parameter is incorrect
September 10th, 2015 7:01pm

Apologies...that was from a prior try in the DISM log.
Here's the true error code:

2015-09-10 13:55:23, Error                 DISM   DISM WIM Provider: PID=9740 TID=9684 base\ntsetup\opktools\dism\providers\wimprovider\dll\wimmanager.cpp:2669 - CWimManager::InternalOpMount(hr:0x80070003)

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 7:04pm

Running the system file checker, sfc /scannow.
Thinking there's some sort of corruption with the OS components.

September 10th, 2015 7:06pm

Hi,
Check that the %Temp% variable is defined, that you have permissions and that the disc is not full..

The error translates to what you wrote above as well "The system cannot find the path specified" last time I had that error there was an error in the temp variable.

Regards,
Jrgen

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 7:09pm

Temp variable is defined, both for user and system.

In fact the boot image creation process successfully copies WinPE.wim from the ADK program files directory to the directory defined by %TEMP%, which is the Temp folder under AppData.

SFC is running right now. 
Will test after that.

September 10th, 2015 7:18pm

SFC and chkdsk didn't work.

Testing with ImageX and DISM (both server version and ADK versions) results in same message:

Error mounting image:  the system cannot find the path specified

Free Windows Admin Tool Kit Click here and download it now
September 10th, 2015 8:27pm

is other .wim images are giving the same error?
September 11th, 2015 4:35am

After spending a decent amount of time trying to mount various WIM images using OS-level and ADK-level versions of DISM and ImageX I finally just removed the WinPE and Deployment Tools components of Windows 10 ADK and reintroduced. 

Low and behold, it fixed! 

I believe the issue arose from co-existence of Windows 8.1 ADK and Windows 10 ADK, as I had not removed the 8.1 ADK prior to installing the 10 ADK. 

Lesson learned

Uninstall the 8.1 ADK before installing the 10 ADK. 

If I can only have those hours of my work life back now :\

Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 7:57am


Uninstall the 8.1 ADK before installing the 10 ADK. 


A reboot in between also does not hurt as files might be in use. 
September 11th, 2015 8:09am

After spending a decent amount of time trying to mount various WIM images using OS-level and ADK-level versions of DISM and ImageX I finally just removed the WinPE and Deployment Tools components of Windows 10 ADK and reintroduced. 

Low and behold, it fixed! 

I believe the issue arose from co-existence of Windows 8.1 ADK and Windows 10 ADK, as I had not removed the 8.1 ADK prior to installing the 10 ADK. 

Lesson learned

Uninstall the 8.1 ADK before installing the 10 ADK. 

If I can only have those hours of my work life back now :\

Free Windows Admin Tool Kit Click here and download it now
September 11th, 2015 11:56am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics