Powershell mount-diskimage -imagepath, "The system cannot find the file specified."

0

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.

powershell
asked on Super User Jun 8, 2020 by SPlatten • edited Jun 8, 2020 by SPlatten

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0