How do I find the path to the ISO file of a mounted virtual DVD.

Page 2 of 2 FirstFirst 12

  1. Posts : 1,983
    Windows 10 x86 14383 Insider Pro and Core 10240
    Thread Starter
       #11

    f14tomcat said:
    - BUT, is there an easy way to locate an ISO file which has been mounted in File Explorer, and you cannot remember where the file might be over several terabytes of storage?


    I've searched high and low....if there is, I can't find it.
    Neither can I, Dick - thanks for looking - considering the iso mount feature has been around since Windows 8, it's a bit of a mystery.

    In a reasonable world, it should show up in properties for the drive as Isofile.Path: C:\Users\MSUser\AppData\Local\Microsoft\Windows\INetCache\IE\T5QLPI0M\Win10_English_x64[1].iso
      My Computers


  2. Posts : 1
    Windows 10
       #12

    - Open an elevated Powershell window
    - Enter the following:
    get-volume [DRIVELETTER:] | get-diskimage

    This will output the path along with some other info.

    - EDIT - At least this works in Server 2012R2. I'm not sure it does in Windows 10.
      My Computer


  3. Posts : 2,799
    Linux Mint 20.1 Win10Prox64
       #13

    I am not sure if this anwers your question but in every browser you use whether it's Firefox, Chrome, IE, Opera etc... there's an option to set the default download folder. I normally set it to Desktop so anything I download would be on Desktop, it would be easier to save/move it to somewhere else or delete it if I no longer need it.
      My Computer


  4. Posts : 1,773
    Windows 10 Home
       #14

    "I am not sure if this anwers your question but in every browser you use whether it's Firefox, Chrome, IE, Opera etc... there's an option to set the default download folder."

    I'm fairly certain that, what happened was, he checked or defaulted to Open vs Save when the download started and he was asked what to do with the file. This is why it mounted as Drive L w/o any User interaction.
    Last edited by mrgeek; 07 Sep 2016 at 07:08.
      My Computer


  5. Posts : 5,478
    2004
       #15

    antrill said:
    - Open an elevated Powershell window
    - Enter the following:
    get-volume [DRIVELETTER:] | get-diskimage

    This will output the path along with some other info.

    - EDIT - At least this works in Server 2012R2. I'm not sure it does in Windows 10.
    Not sure why this doesn't work for me on 10 Pro - it looks like it should. Get-Volume works but doesn't seem to work with Get-DiskImage.

    Get-DiskImage on its own works though - it shows you the path of the ISO (as long as you put in the correct virtual disk number (\\.\CDROM0 or whatever).

    How do I find the path to the ISO file of a mounted virtual DVD.-capture.png

    There is also GetVirtualDiskPhysicalPath function (Windows) but it is a bit inconvenient...
    Last edited by lx07; 07 Sep 2016 at 02:13.
      My Computer


  6. Posts : 1,983
    Windows 10 x86 14383 Insider Pro and Core 10240
    Thread Starter
       #16

    mrgeek said:
    "I am not sure if this anwers your question but in every browser you use whether it's Firefox, Chrome, IE, Opera etc... there's an option to set the default download folder."
    I'm fairly certain, that what happened was, he checked or defaulted to Open vs Save when the download started and he was asked what to do with the file. This is why it mounted as Drive L w/o any User interaction.
    Yes that's what happened - I mention it in post #7 (How do I find the path to the ISO file of a mounted virtual DVD. - Windows 10 Forums) and it ends up in a temporary location down a long, hidden, convoluted path.

    But now, Thanks to @Antrill for guiding the way, and to @Ix07 for actually giving me the solution and the syntax needed (with a little manipulation) :

    Get-Diskimage -devicepath \\.\L:

    where L: is the drive letter of the mounted image as in:

    Code:
    PS I:\WINDOWS\system32> get-diskimage -devicepath \\.\n:
    
    
    
    Attached          : True
    BlockSize         : 2097152
    DevicePath        : \\.\PHYSICALDRIVE4
    FileSize          : 8909041152
    ImagePath         : K:\IE11 - Win7.vhd
    LogicalSectorSize : 512
    Number            : 4
    Size              : 136365211648
    StorageType       : 2
    PSComputerName    :
    
    
    
    
    
    
    PS I:\WINDOWS\system32> get-diskimage -devicepath \\.\p:
    
    
    
    
    Attached          : True
    BlockSize         : 0
    DevicePath        : \\.\CDROM1
    FileSize          : 3904124928
    ImagePath         : D:\9600.16384.130821-1623_x64fre_Client_EN-GB-IRM_CCSA_DV5\9600.16384.130821-1623_x64fre_Client_EN-
                        GB-IRM_CCSA_DV5.ISO
    LogicalSectorSize : 2048
    Number            : 1
    Size              : 3904124928
    StorageType       : 1
    PSComputerName    :
    I am now a happy bunny :)

    Now all I need to do is create a little script like WhereRU(DriveLetter) that takes the letter of the mounted drive in question and outputs IMHere(ImagePath)
      My Computers


 

  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 17:13.
Find Us




Windows 10 Forums