Runtimes
MSI
Verified recipe
.NET Desktop Runtime 8 Silent Install Switches (Intune & SCCM)
Silent install switches
/quiet /norestart
Silent uninstall switches: /uninstall /quiet /norestart
Intune Win32 app settings
Paste these into the Program and Detection rules steps when you add .NET Desktop Runtime 8 as a Win32 app.
Install command
windowsdesktop-runtime-8.x.x-win-x64.exe /quiet /norestartUninstall command
windowsdesktop-runtime-8.x.x-win-x64.exe /uninstall /quiet /norestartDetection rule (Registry)
HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost- Device restart behavior: no restart required.
SCCM / ConfigMgr deployment type
Installation program
windowsdesktop-runtime-8.x.x-win-x64.exe /quiet /norestartUninstall program
windowsdesktop-runtime-8.x.x-win-x64.exe /uninstall /quiet /norestartDeployment notes
Required for .NET 8 desktop apps (WPF/WinForms). LTS release recommended for enterprise.
Windows Installer packages install silently with msiexec /i <file>.msi /qn (or /quiet) and uninstall with msiexec /x {ProductCode} /qn.
FAQ
- What are the silent install switches for .NET Desktop Runtime 8?
- .NET Desktop Runtime 8 installs silently with /quiet /norestart (it uses a MSI installer). Full command: windowsdesktop-runtime-8.x.x-win-x64.exe /quiet /norestart
- How do I silently uninstall .NET Desktop Runtime 8?
- Run: windowsdesktop-runtime-8.x.x-win-x64.exe /uninstall /quiet /norestart
- What detection rule should I use for .NET Desktop Runtime 8 in Intune?
- Use a registry detection rule. Registry key exists: HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x64\sharedhost.
- How do I deploy .NET Desktop Runtime 8 with Intune?
- Wrap the installer as a Win32 app (.intunewin), set the install and uninstall commands above, and add the detection rule. InstallMage can build the .intunewin and generate these commands from the .NET Desktop Runtime 8 installer in under three minutes.