Skip to content
This repository was archived by the owner on Jun 1, 2026. It is now read-only.

[Windows 11 ISO mount issue] Mount ISOs using PowerISO - #378

Open
Preacher066 wants to merge 5 commits into
jamesstringer90:mainfrom
Preacher066:win11-mount-issue
Open

Preacher066 wants to merge 5 commits into
jamesstringer90:mainfrom
Preacher066:win11-mount-issue

Conversation

@Preacher066

Copy link
Copy Markdown

In latest Windows 11 update, the Mount-DiskImage fails with error: The semaphore timeout period has expired.
There's a superuser.com question about it:
https://superuser.com/questions/1829318/windows-11-iso-file-fails-to-mount

Tested with PowerISO Version 8.8 on my Windows11 Version 23H2 OS Build 22631.3737

@Preacher066

Copy link
Copy Markdown
Author

Hi @Kodikuu, if you have some time, could you take a look at this PR?

@Preacher066

Copy link
Copy Markdown
Author

Hi @jamesstringerparsec, if you have some time, please take a look at this PR. The Windows 11 users (mostly my friends with similar setup) are frustrated without this change.

amans and others added 4 commits September 5, 2026 00:47
Mount-VHD/Get-Volume picks up every lettered partition (EFI, Windows,
Recovery), so $DriveLetter became a multi-value array that stringified
into garbage like "G F E" and broke every path built from it. Filter to
NTFS volumes and take the largest one, which is the Windows partition.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
… VMs

Get-VHD -VMId returns every disk attached to the VM, and Mount-VHD/
Dismount-VHD accept that whole array, so a VM with extra data disks
(e.g. a Steam library VHDX) had all of them mounted together. The
previous "largest NTFS volume" heuristic then picked whichever data
disk happened to be biggest instead of the actual Windows volume,
silently copying the driver files onto the wrong disk while leaving
the real OS volume untouched.

Now each attached VHD is mounted individually and identified by the
presence of \Windows\System32\ntoskrnl.exe, so only the true OS volume
is used, and every other disk is dismounted immediately without being
touched.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant