Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[MicroWin] Export-WindowsImage : Unable to load DLL 'unattend.dll' #3224

Open
4 tasks done
0free opened this issue Mar 2, 2025 · 0 comments
Open
4 tasks done

[MicroWin] Export-WindowsImage : Unable to load DLL 'unattend.dll' #3224

0free opened this issue Mar 2, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@0free
Copy link

0free commented Mar 2, 2025

⚙️ Issue Checklist

  • I have read the guidelines.
  • I checked for duplicate issues.
  • I searched for existing discussions.
  • I checked for an existing pull request that addresses this issue.

📜 What part of Winutil are you having issues with?

MicroWin

📝 Provide a clear and concise description of the issue.

Export-WindowsImage : Unable to load DLL 'unattend.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
At line:147 char:9
+         Export-WindowsImage -SourceImagePath $mountDir\sources\instal ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Export-WindowsImage], DllNotFoundException
    + FullyQualifiedErrorId : System.DllNotFoundException,Microsoft.Dism.Commands.ExportWindowsImageCommand

🔄 Steps to reproduce the issue.

PowerShell -NoProfile -ExecutionPolicy Bypass -Command "irm https://christitus.com/win | iex"

Image

❌ Paste the full error output (if available).

*********************************
Check the UI for further steps!!!
Target ISO location: E:\iso\Windows-11-24H2-winutil.iso
Index chosen: '6' from 6 : Windows 11 Pro
Exporting Windows image to a WIM file, keeping the index we want to work on. This can take several minutes, depending on the performance of your computer...
Export-WindowsImage : Unable to load DLL 'unattend.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
At line:147 char:9
+         Export-WindowsImage -SourceImagePath $mountDir\sources\instal ...
+         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Export-WindowsImage], DllNotFoundException
    + FullyQualifiedErrorId : System.DllNotFoundException,Microsoft.Dism.Commands.ExportWindowsImageCommand

Failed to export the image

🖼️ Additional context.

There is a closed issue with a similar error.
#2028 (comment)

@0free 0free added the bug Something isn't working label Mar 2, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant