You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a strange issue, not sure if anyone can help as it relates to Winget with SCCM.
I have this simple powershell script to install K9s for our clients:
This works as expected, when i test the script manually in SYSTEM user context.
If i run the script through SCCM and trigger it by Software Center it gets these errors: 2023-11-23 13:44:44.932 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerCommonCore\Archive.cpp(48)\WindowsPackageManager.dll!00007FFBABE51E62: (caller: 00007FFBABDCD8AC) ReturnHr(1) tid(13d8) 80010105 The server threw an exception. 2023-11-23 13:44:44.932 [CLI ] Failed to extract archive with code -2147417851 2023-11-23 13:44:44.932 [CLI ] Terminating context: 0x8a15005c at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\ArchiveFlow.cpp:42
I have no clue why this is, SCCM also uses the SYSTEM user to perform this action.
Any clue why this might be happening?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey all,
I have a strange issue, not sure if anyone can help as it relates to Winget with SCCM.
I have this simple powershell script to install K9s for our clients:
This works as expected, when i test the script manually in SYSTEM user context.
If i run the script through SCCM and trigger it by Software Center it gets these errors:
2023-11-23 13:44:44.932 [FAIL] C:\__w\1\s\external\pkg\src\AppInstallerCommonCore\Archive.cpp(48)\WindowsPackageManager.dll!00007FFBABE51E62: (caller: 00007FFBABDCD8AC) ReturnHr(1) tid(13d8) 80010105 The server threw an exception. 2023-11-23 13:44:44.932 [CLI ] Failed to extract archive with code -2147417851 2023-11-23 13:44:44.932 [CLI ] Terminating context: 0x8a15005c at C:\__w\1\s\external\pkg\src\AppInstallerCLICore\Workflows\ArchiveFlow.cpp:42
I have no clue why this is, SCCM also uses the SYSTEM user to perform this action.
Any clue why this might be happening?
Beta Was this translation helpful? Give feedback.
All reactions