Microsoft ASP.NET Core Runtime 9.0 silent install and uninstall
.NET is a free, cross-platform, open-source developer platform for building many different types of applications.
- Vendor
- Microsoft Corporation
- Category
- Runtimes
- Installer
- WiX Burn bootstrapper
- Architecture
- x86, x64, arm64
- Checked version
- 9.0.21
- winget ID
Microsoft.DotNet.AspNetCore.9- License
- MIT
- Download
- Official download
Silent install
aspnetcore-runtime-9.0.21-win-x64.exe /quiet /norestart - Download the installer from the direct download link.
- Open an elevated Command Prompt: right-click Command Prompt and select Run as administrator.
- Change to the folder with the installer, for example
cd C:\Temp. - Run the command above. Adjust the file name if you downloaded a different version.
Or install with winget
winget install --id Microsoft.DotNet.AspNetCore.9 --exact --silent --scope machine --accept-package-agreements --accept-source-agreements Silent uninstall
winget uninstall --id Microsoft.DotNet.AspNetCore.9 --exact --silent --accept-source-agreements Run the command from an elevated Command Prompt.
About the WiX Burn bootstrapper installer
A setup.exe that bundles one or more MSI packages and prerequisites. It takes its own switches, not msiexec ones.
| Switch | What it does |
|---|---|
/quiet | No user interface. |
/passive | Progress bar only, no questions. |
/norestart | Suppress any restart. |
/log "C:\Temp\install.log" | Write a log file. |
/uninstall | Remove the bundle (run the cached setup.exe). |
Deploy Microsoft ASP.NET Core Runtime 9.0 with Microsoft Intune
Package the installer as a Win32 app (.intunewin) and use these settings:
| Install command | aspnetcore-runtime-9.0.21-win-x64.exe /quiet /norestart |
|---|---|
| Uninstall command | Use the uninstaller from the install folder; winget is not available to the SYSTEM account by default. |
| Install behavior | System |