Forum Discussion
Installing .Net 8.0 via Intune Using Winget
- May 17, 2024
To automatically accept the agreements, you can add the and --accept-source-agreements and --accept-package-agreements parameters to your Winget command. So something like this:
winget install --silent --exact --accept-source-agreements --accept-package-agreements Microsoft.DotNet.Runtime.8
Please note that these parameters will only work if the agreements have not changed since they were last accepted—at least, that would make sense to me. If they have changed, you may still be prompted to accept them again.
I hope this helps!
To automatically accept the agreements, you can add the and --accept-source-agreements and --accept-package-agreements parameters to your Winget command. So something like this:
winget install --silent --exact --accept-source-agreements --accept-package-agreements Microsoft.DotNet.Runtime.8
Please note that these parameters will only work if the agreements have not changed since they were last accepted—at least, that would make sense to me. If they have changed, you may still be prompted to accept them again.
I hope this helps!