Romanitho / Winget-Install

Powershell scripts for Winget with SCCM/Intune
MIT License
201 stars 42 forks source link

Apps not installing in true system context #100

Closed durrante closed 7 months ago

durrante commented 9 months ago

Hi there,

Just to let you know that when installing applications, they do not appear to be installing in true system context, for example, take the Azure Data Studio application, when installed via Intune, it installs into the System profile, rather than being specified to install for all users, so the installation is placed with the system profile at this location:

image

However, the application is not available to any users:

image

Logs: image

I think what is missing is the --scope machine parameter on the installation commands.

Here's the intune app, it's specified as system:

image

Romanitho commented 9 months ago

you can add the scope in your install command.

durrante commented 9 months ago

Hi there,

I thought it did this automatically? I can see a function for machine scope? I'm using your intuneGUI, is it a simple case of adding an additional parameter of '--scope machine'

github-actions[bot] commented 8 months ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 7 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale.

durrante commented 2 months ago

Hi there,

Was wondering if you saw my previous comment? :)

Romanitho commented 2 months ago

it sometimes depend on the apps themselves.

durrante commented 2 months ago

it sometimes depend on the apps themselves.

Thanks :), so in your tool, do I specify '--scope machine' in the command line parameters?

Romanitho commented 2 months ago

you can. normally it is designed to put it in the Winget Config.