DISM error(syntax incorrect) when trying to mount WIM files..


  1. Posts : 56
    Windows 10 Pro 1903
       #1

    DISM error(syntax incorrect) when trying to mount WIM files..


    I get this error every time when i try mounting files using DISM,

    Code:
    The filename, directory name or Volume label syntax is incorrect.
    earlier there was a problem regarding wimmount.sys driver not found whose path was changed due to Macrium Reflect Free, i uninstalled it and changed the registry values of it to default. Now i am getting this error.

    i tried placing the wim file in a short directory (D:\install.wim) but that did not work.

    i tried all the tools DISM++, Winreducer, NTLite but get the same error

    Dism error log
    Attachment 229795
      My Computer


  2. Posts : 17,661
    Windows 10 Pro
       #2

    AuraticTrance said:
    I get this error every time when i try mounting files using DISM.
    Please post the DISM command you used exactly as you ran it which showed the mentioned error message.

    Kari
      My Computer


  3. Posts : 56
    Windows 10 Pro 1903
    Thread Starter
       #3

    dism /Mount-Wim /WimFile:C:\install.wim /Index:3 /MountDir:F:\1

    and i have also used utilities like GImageX, DISM++, Winreducer, NTlite and none of them work and show the same error.

    - - - Updated - - -

    i also ran a dism check health command to verify files (to check the system files from corruption)

    - - - Updated - - -

    sfc /scannow found some corrupt files
      My Computer


  4. Posts : 17,661
    Windows 10 Pro
       #4

    Only a few logical explanations for your error:
    • File install.wim is not on root of C: drive
    • Folder 1 does not exist on F: drive
      My Computer


  5. Posts : 56
    Windows 10 Pro 1903
    Thread Starter
       #5

    I have verified the folders.

    It fails even when using other utilities like DISM++ etc.. i am assuming something might got corrupted or the registry entries have changed or something... Macrium reflect messed it up

    sfc /scannow found corruption in system files but could not repair them, dism /cleanup-image /restorehealth command might fix the issue but i am skeptical if it would install back all the UWP apps and windows components that i uninstalled/removed ?
      My Computer


  6. Posts : 17,661
    Windows 10 Pro
       #6

    AuraticTrance said:
    sfc /scannow found corruption in system files but could not repair them
    SFC / SCANNOW must be run multiple times when it can't repair everything at first run. It's not unusual that you need to run it three four times before getting all OK.

    Kari
      My Computer


  7. Posts : 56
    Windows 10 Pro 1903
    Thread Starter
       #7

    This is the error code:
    Code:
    Deployment Image Servicing and Management tool
    Version: 10.0.18356.1
    
    
    Error: 123
    
    The filename, directory name, or volume label syntax is incorrect.
    
    The DISM log file can be found at E:\Toolkit_v9.2\Logs\Dism.txt
      My Computer


  8. Posts : 56
    Windows 10 Pro 1903
    Thread Starter
       #8

    Installed Windows 10 ADK Deployment Tools and mounted the image using PowerShell and it worked..

    - - - Updated - - -

    Installing Windows 10 ADK Deployment Tools did the job.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 16:44.
Find Us




Windows 10 Forums