Forum Discussion

PBTFI608's avatar
PBTFI608
Occasional Reader
Sep 24, 2025

Intune, winget, PowerShell

Hello everyone,

I'm trying to use Intune to deploy a script that schedules a task to run winget silently to update most of our 3rd party applications automatically.  I can get the script to deploy, but not run. I keep getting an error saying "winget not available for system", which I've verified it is. Any ideas? What am I doing wrong?

Thanks for your help,

1 Reply

  • PBTFI608​ 

    Hy, 

    i think winget is installed per user via the Microsoft Store (App Installer) and not for the SYSTEM account.
    Have you tried running the script as the user instead of SYSTEM?
    Consider packaging or deploying winget as an app to ensure it is available in the required context.

    Good luck!

Resources