Comments (11)
My wrapper around the app is failing as well. Same errors in the event log (See below), BUT, if I elevate my wrapper app (i.e. "Run as Administrator", it runs without issue:
As non admin
Faulting application name: IntuneWinAppUtil.exe, version: 6.2312.30.0, time stamp: 0xb443b0f2
Faulting module name: KERNELBASE.dll, version: 10.0.22621.2506, time stamp: 0x5a736bb8
Exception code: 0xe0434352
Fault offset: 0x000000000006565c
Faulting process ID: 0x0x2560
Faulting application start time: 0x0x1DA161CCF4BA0B9
Faulting application path: C:\Users\PAULPR~1\AppData\Local\Temp\IntuneWinAppUtil.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report ID: 895df430-dc37-471b-b16b-d1d5c959c643
Faulting package full name:
Faulting package-relative application ID:
As admin - No errors at all and package created.
I think this must be related to Terminal as well. My app launches CMD.exe as the process, but because Terminal is the default console for CMD.exe, it causes the error there:
Faulting application name: OpenConsole.exe, version: 1.18.2310.9002, time stamp: 0x65248ade
Faulting module name: OpenConsole.exe, version: 1.18.2310.9002, time stamp: 0x65248ade
Exception code: 0xc0000094
Fault offset: 0x0000000000002be2
Faulting process ID: 0x0x4508
Faulting application start time: 0x0x1DA161CCF012974
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbwe\OpenConsole.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbwe\OpenConsole.exe
Report ID: 022f52e5-c596-4b44-9d6c-ce0a33d1f373
Faulting package full name: Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App
from microsoft-win32-content-prep-tool.
I have similar issue but it seems to be a row of application failures (probably related more to the Terminal app)
It starts with OpenConsole.exe crash
Faulting application name: OpenConsole.exe, version: 1.18.2310.9002, time stamp: 0x65248ade
Faulting module name: OpenConsole.exe, version: 1.18.2310.9002, time stamp: 0x65248ade
Exception code: 0xc0000094
Fault offset: 0x0000000000002be2
Faulting process ID: 0x0x3720
Faulting application start time: 0x0x1DA10B183F057EE
Faulting application path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbwe\OpenConsole.exe
Faulting module path: C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbwe\OpenConsole.exe
Report ID: 2f2a86b5-bdb4-4994-833f-327b7e9a6a2f
Faulting package full name: Microsoft.WindowsTerminal_1.18.2822.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App
This will cause IntuneWinAppUtil.exe to be terminated
Application: IntuneWinAppUtil.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
at System.IO.__Error.WinIOError(Int32, System.String)
at System.Console.GetBufferInfo(Boolean, Boolean ByRef)
at System.Console.get_ForegroundColor()
at Microsoft.Management.Service.IntuneWinAppUtil.LogUtil.WriteWithForegroundColor(System.ConsoleColor, System.Action)
at Microsoft.Management.Service.IntuneWinAppUtil.Program.Main(System.String[])
The 3rd one is already reported
Faulting application name: IntuneWinAppUtil.exe, version: 6.2312.17.0, time stamp: 0xbd225276
Faulting module name: KERNELBASE.dll, version: 10.0.22621.2506, time stamp: 0x5a736bb8
Exception code: 0xe0434352
Fault offset: 0x000000000006565c
Faulting process ID: 0x0x739C
Faulting application start time: 0x0x1DA10B18DF68724
Faulting application path: D:\IntunePrep\IntuneWinAppUtil.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report ID: 93d0befe-dc0e-4104-9b91-ef4fb9506475
Faulting package full name:
Faulting package-relative application ID:
Workaround: change the DelegationConsole and DelegationTerminal to Windows Console Host (legacy)
https://support.microsoft.com/en-us/windows/command-prompt-and-windows-powershell-for-windows-11-6453ce98-da91-476f-8651-5c14d5777c20
Update: It seems to work on Windows Terminal Preview (Version: 1.19.2682.0)
from microsoft-win32-content-prep-tool.
Workaround: it works when started in Command Prompt (not PowerShell).
from microsoft-win32-content-prep-tool.
I confirm that version 1.8.5 (6.2312.30.0) (https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool/archive/refs/tags/v1.8.5.zip) breaks our build.
We are using the PowerShell module IntuneWin32App 1.4.1 and the CmdLet New-IntuneWin32AppPackage. The CmdLet downloads the latest IntuneWinAppUtil.exe and saves it to %temp%\IntuneWinAppUtil.exe
, if and only if the file does not already exists. For version 6.2312.30.0 of the IntuneWinAppUtil.exe, the CmdLet gives a warning that intunewin file was not created.
New-IntuneWin32AppPackage -SourceFolder "$buildSetupFolder\en-us" -SetupFile "$projectName.x64.msi" -OutputFolder $artifactsFolder
WARNING: Unable to detect expected 'SomeProjectName.x64.msi.intunewin' file after IntuneWinAppUtil.exe invocation
Workaround: Download the version 1.8.4 (6.2206.38.0) (https://github.com/microsoft/Microsoft-Win32-Content-Prep-Tool/archive/refs/tags/v1.8.4.zip) and save to %temp%\IntuneWinAppUtil.exe
. The New-IntuneWin32AppPackage Cmdlet now successfully creates IntuneWin package.
from microsoft-win32-content-prep-tool.
I am baffled... I tried running it within CMD using the following in a one-line Powershell script and it worked as expected. Tried the same thing in our production script and it fails. This is on Windows 11 using Windows Terminal.
cmd /c IntuneWinAppUtil.exe -?
from microsoft-win32-content-prep-tool.
I have a similar issue here on Windows 10 Enterprise. Tried running powershell and cmd through terminal, but crashes every time.
Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 10.0.19041.3570, Zeitstempel: 0xda674bb7
Ausnahmecode: 0xe0434352
Fehleroffset: 0x000000000002cf19
ID des fehlerhaften Prozesses: 0x2aac
Startzeit der fehlerhaften Anwendung: 0x01da12233d7365d5
Pfad der fehlerhaften Anwendung: C:\masked\IntuneWinAppUtil.exe
Pfad des fehlerhaften Moduls: C:\WINDOWS\System32\KERNELBASE.dll
Berichtskennung: e25751d9-7b01-4115-a64d-abd6484a7928
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
CoreCLR Version: 7.0.1323.51816
.NET Version: 7.0.13
Description: The application requested process termination through System.Environment.FailFast.
Message: The Win32 internal error "Kein Prozess ist am anderen Ende der Pipe." 0xE9 occurred while getting console output buffer information. Contact Microsoft Customer Support Services.
Description: The process was terminated due to an unhandled exception.System.Management.Automation.Host.HostException: The Win32 internal error "Kein Prozess ist am anderen Ende der Pipe." 0xE9 occurred while getting console output buffer information. Contact Microsoft Customer Support Services.
---> System.ComponentModel.Win32Exception (233): Kein Prozess ist am anderen Ende der Pipe.
--- End of inner exception stack trace ---
at Microsoft.PowerShell.ConsoleControl.GetConsoleScreenBufferInfo(SafeFileHandle consoleHandle)
at Microsoft.PowerShell.ConsoleHostRawUserInterface.get_CursorPosition()
at Microsoft.PowerShell.ConsoleHost.InputLoop.Run(Boolean inputLoopIsNested)
at Microsoft.PowerShell.ConsoleHost.InputLoop.RunNewInputLoop(ConsoleHost parent, Boolean isNested)
at Microsoft.PowerShell.ConsoleHost.EnterNestedPrompt()
at Microsoft.PowerShell.ConsoleHost.DoRunspaceLoop(String initialCommand, Boolean skipProfiles, Collection`1 initialCommandArgs, Boolean staMode, String configurationName, String configurationFilePath)
at Microsoft.PowerShell.ConsoleHost.Run(CommandLineParameterParser cpp, Boolean isPrestartWarned)
at Microsoft.PowerShell.ConsoleHost.Start(String bannerText, String helpText, Boolean issProvidedExternally)
at Microsoft.PowerShell.UnmanagedPSEntry.Start(String[] args, Int32 argc)
Stack:
at System.Environment.FailFast(System.String, System.Exception)
at Microsoft.PowerShell.UnmanagedPSEntry.Start(System.String[], Int32)
at Microsoft.PowerShell.ManagedPSEntry.Main(System.String[])
Name des fehlerhaften Moduls: Microsoft.PowerShell.ConsoleHost.dll, Version: 7.3.9.500, Zeitstempel: 0xa2cc9934
Ausnahmecode: 0x80131623
Fehleroffset: 0x000000000004de7b
ID des fehlerhaften Prozesses: 0x1b34
Startzeit der fehlerhaften Anwendung: 0x01da122337387697
Pfad der fehlerhaften Anwendung: C:\Program Files\PowerShell\7\pwsh.exe
Pfad des fehlerhaften Moduls: C:\Program Files\PowerShell\7\Microsoft.PowerShell.ConsoleHost.dll
Berichtskennung: 7d5b1150-d88f-4ea9-80a0-509b3e43999b
Vollständiger Name des fehlerhaften Pakets:
Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
from microsoft-win32-content-prep-tool.
Just ran into this myself, grabbed the latest exe to try and resolve it and the problem persists in both Terminal and a separate PS7 window.
It DID work successfully in CMD, so I think maybe the issue is the latest PS7 build?
from microsoft-win32-content-prep-tool.
I can confirm the same issue when having the settings set to Windows-Terminal:
Switched to consolehost works in 1.8.4 and 1.8.5
I've seen following Errors in eventlog:
`Fehlerbucket 0, Typ 5
Ereignisname: CLR20r3
Antwort: Nicht verfügbar
CAB-Datei-ID: 0
Problemsignatur:
P1: IntuneWinAppUtil.exe
P2: 6.2206.38.0
P3: a3b9d707
P4: mscorlib
P5: 4.8.9181.0
P6: 64b85429
P7: 1693
P8: f
P9: System.IO.IOException
P10:
Angefügte Dateien:
\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.1c82d6bc-1efc-4dce-a25b-5d5c9a2e95b9.tmp.WERInternalMetadata.xml
Diese Dateien befinden sich möglicherweise hier:
\?\C:\ProgramData\Microsoft\Windows\WER\ReportArchive\AppCrash_IntuneWinAppUtil_5ca55873cda67ad8ea5f3bad62429d18585d03a_e3c6bf7c_9f3b1e96-89fc-4d49-9e96-af79dd55e2d4
Analysesymbol:
Es wird erneut nach einer Lösung gesucht: 0
Berichts-ID: c167b297-1a11-4ba1-8c54-28842c34394f
Berichtstatus: 268435456
Bucket mit Hash: 0fd8dafe984b6fa0c64e81c867bf856b
CAB-Datei-Guid: 0`
Name der fehlerhaften Anwendung: IntuneWinAppUtil.exe, Version: 6.2206.38.0, Zeitstempel: 0xa3b9d707 Name des fehlerhaften Moduls: KERNELBASE.dll, Version: 10.0.22621.2215, Zeitstempel: 0x83983b0b Ausnahmecode: 0xe0434352 Fehleroffset: 0x000000000006531c ID des fehlerhaften Prozesses: 0x0x531C Startzeit der fehlerhaften Anwendung: 0x0x1DA159A247E7963 Pfad der fehlerhaften Anwendung: C:\temp\Microsoft-Win32-Content-Prep-Tool-1.8.4\IntuneWinAppUtil.exe Pfad des fehlerhaften Moduls: C:\WINDOWS\System32\KERNELBASE.dll Berichtskennung: c167b297-1a11-4ba1-8c54-28842c34394f Vollständiger Name des fehlerhaften Pakets: Anwendungs-ID, die relativ zum fehlerhaften Paket ist:
`Anwendung: IntuneWinAppUtil.exe
Frameworkversion: v4.0.30319
Beschreibung: Der Prozess wurde aufgrund einer unbehandelten Ausnahme beendet.
Ausnahmeinformationen: System.IO.IOException
bei System.IO.__Error.WinIOError(Int32, System.String)
bei System.Console.GetBufferInfo(Boolean, Boolean ByRef)
bei System.Console.get_ForegroundColor()
bei Microsoft.Management.Service.IntuneWinAppUtil.LogUtil.WriteWithForegroundColor(System.ConsoleColor, System.Action)
bei Microsoft.Management.Service.IntuneWinAppUtil.Program.Main(System.String[])
`
from microsoft-win32-content-prep-tool.
I'm running into the same problem. Just wanted to add to the tally.
from microsoft-win32-content-prep-tool.
Running into the same problem running, both with version 6.2312.30 and 6.2206.38 on a Win11 23H2, both on console or PS.
Only way for success was to run IntuneWinAppUtil.exe direct from Explorer.
First error for the Console:
Faulting application name: OpenConsole.exe, version: 1.18.2311.14001, time stamp: 0x6553b16d
Faulting module name: OpenConsole.exe, version: 1.18.2311.14001, time stamp: 0x6553b16d
Exception code: 0xc0000094
Then a .Net error:
Application: IntuneWinAppUtil.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.IO.IOException
at System.IO.__Error.WinIOError(Int32, System.String)
at System.Console.GetBufferInfo(Boolean, Boolean ByRef)
at System.Console.get_ForegroundColor()
at Microsoft.Management.Service.IntuneWinAppUtil.LogUtil.WriteWithForegroundColor(System.ConsoleColor, System.Action)
at Microsoft.Management.Service.IntuneWinAppUtil.Program.Main(System.String[])
And finally the Application error:
Faulting application name: IntuneWinAppUtil.exe, version: 6.2206.38.0, time stamp: 0xa3b9d707
Faulting module name: KERNELBASE.dll, version: 10.0.22621.2792, time stamp: 0x3091b6fb
Exception code: 0xe0434352
from microsoft-win32-content-prep-tool.
Same situation for me!!
from microsoft-win32-content-prep-tool.
Related Issues (20)
- IntuneWinAppUtil extremely slow, completes, file seems corrupt HOT 4
- Issue with prep tool HOT 1
- No install instructions HOT 1
- System.Management.Automation.RuntimeException: File [] not created ---> System.Management.Automation.RuntimeException: File [] not created HOT 1
- The specified executable is not a valid application for this OS HOT 2
- IntuneWinAppUtil.exe crashes the whole terminal without any error message displayed HOT 23
- IntuneWinAppUtil.exe cannot be launched from c# code without console visible HOT 7
- v1.8.5 crashing, v1.8.4 working HOT 12
- Command line not working
- Unexpected Crashes when Running in Windows Terminal App HOT 1
- Crashes when running in PowerShell ISE
- v1.8.5 crashing when attempting to package New Teams Bootstrapper HOT 1
- Microsoft-Win32-Content-Prep-Tool HOT 1
- Why is this tool not open-sourced? HOT 2
- Unable to run W32, I get a System.ArgumentOutOfRangeException: on Version 1.8.5 HOT 1
- This app has been crashing terminals for months without explanation HOT 20
- CRASHING Windows terminal, CMD, etc. Win 11
- Prep tool doesn't take all folders and files
- Fips support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from microsoft-win32-content-prep-tool.