Using the winget command with Altiris tasks
search cancel

Using the winget command with Altiris tasks

book

Article ID: 260815

calendar_today

Updated On:

Products

Client Management Suite IT Management Suite

Issue/Introduction

The Microsoft store for education and business is retiring at some point this year and we do utilize the store for a few apps.

How can we get the WinGet function to work in an Altiris Task?

Environment

8.x

Resolution

The winget command itself comes from a windows store app called App Installer.  We have found some powershell scripts online that will install App Installer as the system account, and then use the winget command with the Task.  That seems to be working at the moment.

The winget command is actually in “C:\Program Files\WindowsApps\Microsoft.DesktopAppInstaller_1.19.10173.0_x64__8wekyb3d8bbwe”.  We had to make this adjustment in the Task to get to this location.

Additional Information

Helpful MS KB's:

Get App Installer from the Microsoft Store: https://apps.microsoft.com/store/detail/9NBLGGH4NNS1?hl=en-us&gl=US
Install Windows 10 apps with App Installer: https://learn.microsoft.com/en-us/windows/msix/app-installer/app-installer-root