How to Find OS Details From an ISO File

Occasionally, you need to verify which versions of an operating system are contained within an ISO, or simply, what operating system is contained within it. Personally, I often find myself downloading Windows Server ISO files, which might be named ‘Datacenter’, but also contain the option to deploy ‘Standard’ and so on. This also extends to being able to identify if a Windows Server ISO file just contains Server core, or also contains the desktop experience. 

In this post, I am going to show you how you can use the dism command in PowerShell to identify which the details of an operating system contained within an ISO file.

How to view OS details within an ISO file?

So you have downloaded your ISO file, firstly, you need to mount the disk to your local operating system. If your ISO file is located on a network drive or within a hypervisors storage environment, such as VMWare, you will need to download is locally first.

1. Start by mounting your ISO file. Right-click the file and select Mount.
Mount ISO file
Mount ISO file

2. Identify the drive letter assigned to the mounted ISO file. In my case, the drive letter is E.

Identify the mounted ISO drive letter
Identify the mounted ISO drive letter

3. Open Windows PowerShell (or Terminal) as an administrator by searching for Windows PowerShell (or Terminal) in the start menu and selecting Run as administrator.

Run Windows Terminal as an administrator
Run Windows Terminal as an administrator

4. Run the following command in your Terminal session, ensuring your change the drive letter to match your mounted drive.

 dism /Get-WimInfo /WimFile:E:\sources\install.wim

Your output will look like the following which highlights the operating systems which are available within the ISO file.

DISM Get-WimInfo
DISM Get-WimInfo

5. To find more detailed information for each available operating system, use the /index parameter and specify the index number of the operating system you wish to find more information about. For example:

dism /Get-WimInfo /WimFile:E:\sources\install.wim /Index 4
Detailed ISO information using DISM
Detailed ISO information using DISM

Daniel Bradley

My name is Daniel Bradley and I work with Microsoft 365 and Azure as an Engineer and Consultant. I enjoy writing technical content for you and engaging with the community. All opinions are my own.

Leave a Reply