I am creating a bootable ISO, part of this is mounting an ISO which has been working fine. At some stage in the development I have created a problem which I cannot see how or what the issue is.

I am running an instance of "Administrator: Deployment and Imaging Tools Environment"

When I execute:

powershell Mount-DiskImage -ImagePath 'C:\Users\u49100\Downloads\CA20-4002-OperatingSystem-AIMB-216/W10-LTSB.iso'

This was working, but it now results in:

Mount-DiskImage : The system cannot find the file specified.
At line:1 char:1
+ Mount-DiskImage -ImagePath 'C:\Users\u49100\Downloads\CA20-4002-Opera ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CatergoryInfo         : ObjectNotFound: (MSFT_DiskImage:ROOT/Microsoft/.../MSFT_DiskImage) [Mount-DiskImage], CimException
    + FullyQualifiedErrorId : HRESULT 0x80070002,Mount-DiskImage

I can mount the ISO using Explorer, right clicking on the ISO and selecting Mount, but I need this to work from the command line.

  • 1
    Why are there both forward slashes and backward slashes in the file path? Jun 8, 2020 at 10:16
  • @Dave.d, no idea, will take a look and try changing to be consistent.
    – SPlatten
    Jun 8, 2020 at 10:17
  • @Dave.d, all using backslash, still same problem.
    – SPlatten
    Jun 8, 2020 at 10:18
  • 1
    what happens if you do dir C:\Users\u49100\Downloads\CA20-4002-OperatingSystem-AIMB-216/W10-LTSB.iso from your cmd window? Jun 8, 2020 at 10:42
  • 2
    I’m voting to close this question because it was caused by an incorrect file path
    – Ramhound
    Jun 8, 2020 at 11:28


You must log in to answer this question.

Browse other questions tagged .