Forum Discussion
Intune, winget, PowerShell
Hi,
Thanks for responding. You are correct. I've installed Microsoft.DesktopAppInstaller and its dependencies in an .msixbundle as a windows universal line of business app and made available to all, but still no luck.
I could run as user, but that would create a UAC popup nightmare.
I've looked into a different method but I'm concerned it may create too much of a security liability. How risky is it to write the script to use SYSTEM to create a dedicated local admin account to run winget instead? Deny local logon, RDP logon, and network logon and allow batch logon for security. I haven't tested this approach yet.
Thanks
You are welcome.
i think you don't need to create a dedicated admin account to achieve your goals.
I will take a look this evening and get back to you with an answer.
Good look!
- PBTFI608Sep 29, 2025Copper Contributor
Hello!
Any luck on this? Is there an easier way that I'm missing to use Intune to perform these updates?
Thanks,
- Bogdan_GuineaSep 30, 2025Iron Contributor
Yes, I already give it to you, see the last reply with the GitHub link 😉