Windows OS Hub
  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux
  • Home
  • About

Windows OS Hub

  • Windows
    • Windows 11
    • Windows 10
    • Windows Server 2025
    • Windows Server 2022
    • Windows Server 2019
    • Windows Server 2016
  • Microsoft
    • Active Directory (AD DS)
    • Group Policies (GPOs)
    • Exchange Server
    • Azure and Microsoft 365
    • Microsoft Office
  • Virtualization
    • VMware
    • Hyper-V
    • Proxmox
  • PowerShell
  • Linux

 Windows OS Hub / Windows 10 / Mounting an ISO Image File in Windows

January 30, 2024

Mounting an ISO Image File in Windows

All modern versions of Windows (Windows 8/Windows Server 2012 and newer) have built-in support for mounting ISO image files. An ISO file is a container file that contains an image of an optical disk with the ISO 9660 file system. Even though optical CD/DVD/Blu-ray drives are almost no longer used, the ISO image format is still very popular for distributing various products. ISO images are most commonly used for the distribution of operating systems (Windows, Linux, etc).

In Windows 10/11 you can mount a file with an ISO image right from the File Explorer. Double-click on your *.ISO file or select Mount from the file’s context menu.

Mount iso image file in Windows

This creates a new virtual CD/DVD drive in Windows to which the image file is mounted (the drive letter is assigned automatically). You can work with files on the virtual ISO image drive as if they were on a normal physical disk (files on the virtual disk are read-only).

view ISO image content

To unmount an ISO image, click the virtual drive and select Eject.

Eject (unmount) ISO file in Windows

You can mount an ISO image file on Windows using PowerShell. Specify the full path to your *.ISO file in the following command:

Mount-DiskImage –ImagePath "D:\Distr\Win_Server_STD_CORE_2022.ISO"

The ISO image was successfully mounted (Attached: True).

Mount-DiskImage

You can use the Mount-DiskImage cmdlet to mount not only ISO files but also VHD/VHDX/VHDSet virtual disks. If you want to specify that the file should only be mounted as an ISO, use the command:

Mount-DiskImage –ImagePath your.iso -StorageType ISO

To get a drive letter assigned to your ISO image, use this command:

Mount-DiskImage –ImagePath "D:\Distr\my.ISO"| Get-Volume

The ISO image is assigned the drive letter F: in this example.

PowerShell: Check drive letter assigned to ISO image

You can also find out the name of the ISO file mounted in the specified virtual CD drive by using the Get-Volume command:

Get-Volume -DriveLetter F| % { Get-DiskImage -DevicePath $($_.Path -replace "\\$")}

Finding image file of mounted ISO

The Get-Volume command is part of the built-in PowerShell module for managing disk partitions in Windows.

If you want the specific drive letter to be assigned to your ISO file, you may use the PowerShell script below:

$myISO = "D:\Distr\Win_Server_STD_CORE_2022.ISO"
Mount-DiskImage $myISO
$vol = Get-DiskImage $myISO | Get-Volume
$old_drv = $vol.DriveLetter + ':'
$new_drv = 'Y:'
Get-WmiObject -Class Win32_Volume | Where-Object {$_.DriveLetter -eq $old_drv} | Set-WmiInstance -Arguments @{DriveLetter=$new_drv}

map an ISO file with a specific drive letter

If an installation Windows image is in the ISO, you can get information about the OS version and edition. See How to find Windows version, edition, and build from ISO or WIM file.

Unmount an ISO image file:

Dismount-DiskImage -ImagePath "D:\Distr\Win_Server_STD_CORE_2022.ISO"

Dismount-DiskImage

Sometimes, you may get a Couldn’t Mount File error when you try to mount an ISO file.
0 comment
0
Facebook Twitter Google + Pinterest
Questions and AnswersWindows 10Windows 11Windows Server 2019
previous post
How to Enable Copy and Paste for a VMware Virtual Machine
next post
How to Recall a Sent Email in Outlook (on Exchange and Microsoft 365)

Related Reading

How to Allow Multiple RDP Sessions on Windows...

March 15, 2024

How to Run Program without Admin Privileges and...

June 8, 2023

How to Install Remote Server Administration Tools (RSAT)...

March 17, 2024

Refresh AD Groups Membership without Reboot/Logoff

March 15, 2024

Fix: BSOD Error 0x0000007B (INACCESSABLE_BOOT_DEVICE) on Windows

March 17, 2024

How to Delete Old User Profiles in Windows

March 15, 2024

Managing Windows Firewall Rules with PowerShell

March 11, 2024

Create a Custom Windows Image with Pre-installed Apps

February 28, 2024

Leave a Comment Cancel Reply

join us telegram channel https://t.me/woshub
Join WindowsHub Telegram channel to get the latest updates!

Recent Posts

  • Encrypt Any Client-Server App Traffic on Windows with Stunnel

    June 12, 2025
  • Failed to Open the Group Policy Object on a Computer

    June 2, 2025
  • Remote Desktop Printing with RD Easy Print Redirection

    June 2, 2025
  • Disable the Lock Screen Widgets in Windows 11

    May 26, 2025
  • Configuring Windows Protected Print Mode (WPP)

    May 19, 2025
  • Map a Network Drive over SSH (SSHFS) in Windows

    May 13, 2025
  • Configure NTP Time Source for Active Directory Domain

    May 6, 2025
  • Cannot Install Network Adapter Drivers on Windows Server

    April 29, 2025
  • Change BIOS from Legacy to UEFI without Reinstalling Windows

    April 21, 2025
  • How to Prefer IPv4 over IPv6 in Windows Networks

    April 9, 2025

Follow us

  • Facebook
  • Twitter
  • Telegram
Popular Posts
  • 0x80244010 Exceeded Max Server Round Trips: Windows Update Error
  • How to Force Remove a Printer That Won’t Uninstall on Windows
  • How to Completely Remove/Uninstall a Driver in Windows
  • Fix: Windows Update Tab (Button) is Missing from Settings
  • Fix: Windows Needs Your Current Credentials Pop-up Message
  • How to Disable or Uninstall Internet Explorer (IE) in Windows
  • Fix: Your IT Administrator Has Limited Access to Virus & Threat Protection
Footer Logo

@2014 - 2024 - Windows OS Hub. All about operating systems for sysadmins


Back To Top