Microsoft .NET Framework is a software development framework for building and running applications on Windows. This article will serve as an informative guide and give you a clear understanding of how to perform the silent installation of all available versions of Microsoft .NET Framework from the command line using the EXE installers.
How to Install Microsoft .NET Framework Silently
Microsoft .NET Framework 4.8.1 Silent Install
- Navigate to: https://go.microsoft.com/fwlink/?linkid=2203305
- Download the ndp481-x86-x64-allos-enu.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
ndp481-x86-x64-allos-enu.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 4.8.1 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: |
|
Silent Install Switch with Logging: |
|
Silent Uninstall Switch: |
|
Download Link: | https://go.microsoft.com/fwlink/?linkid=2203305 |
PowerShell Script: | https://silentinstallhq.com/microsoft-net-framework-4-8-1-silent-install-powershell/ |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
Microsoft .NET Framework 4.8 Silent Install
- Navigate to: https://go.microsoft.com/fwlink/?linkid=2088631
- Download the ndp48-x86-x64-allos-enu.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
ndp48-x86-x64-allos-enu.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 4.8 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: |
|
Silent Install Switch with Logging: | ndp48-x86-x64-allos-enu.exe /q /norestart /log "%WINDIR%\Temp\DotNET48-Install.log" |
Silent Uninstall Switch: | ndp48-x86-x64-allos-enu.exe /uninstall /q /norestart |
Download Link: | https://go.microsoft.com/fwlink/?linkid=2088631 |
PowerShell Script: | https://silentinstallhq.com/microsoft-net-framework-4-8-silent-install-powershell/ |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
Microsoft .NET Framework 4.7.2 Silent Install
- Navigate to: https://go.microsoft.com/fwlink/?LinkID=863265
- Download the NDP472-KB4054530-x86-x64-AllOS-ENU.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
NDP472-KB4054530-x86-x64-AllOS-ENU.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 4.7.2 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | NDP472-KB4054530-x86-x64-AllOS-ENU.exe /q /norestart |
Silent Install Switch with Logging: | NDP472-KB4054530-x86-x64-AllOS-ENU.exe /q /norestart /log "%WINDIR%\Temp\DotNET472-Install.log" |
Silent Uninstall Switch: | NDP472-KB4054530-x86-x64-AllOS-ENU.exe /uninstall /q /norestart |
Download Link: | https://go.microsoft.com/fwlink/?LinkID=863265 |
PowerShell Script: | https://silentinstallhq.com/microsoft-net-framework-4-7-2-silent-install-powershell/ |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
Microsoft .NET Framework 4.7.1 Silent Install
- Navigate to: https://go.microsoft.com/fwlink/?LinkID=2099383
- Download the NDP471-KB4033342-x86-x64-AllOS-ENU.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
NDP471-KB4033342-x86-x64-AllOS-ENU.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 4.7.1 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | NDP471-KB4033342-x86-x64-AllOS-ENU.exe /q /norestart |
Silent Install Switch with Logging: | NDP471-KB4033342-x86-x64-AllOS-ENU.exe /q /norestart /log "%WINDIR%\Temp\DotNET471-Install.log" |
Silent Uninstall Switch: | NDP471-KB4033342-x86-x64-AllOS-ENU.exe /uninstall /q /norestart |
Download Link: | https://go.microsoft.com/fwlink/?LinkID=2099383 |
PowerShell Script: | https://silentinstallhq.com/microsoft-net-framework-4-7-1-silent-install-powershell/ |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
Microsoft .NET Framework 4.7 Silent Install
- Navigate to: https://go.microsoft.com/fwlink/?LinkId=2099385
- Download the NDP47-KB3186497-x86-x64-AllOS-ENU.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
NDP47-KB3186497-x86-x64-AllOS-ENU.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 4.7 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | NDP47-KB3186497-x86-x64-AllOS-ENU.exe /q /norestart |
Silent Install Switch with Logging: | NDP47-KB3186497-x86-x64-AllOS-ENU.exe /q /norestart /log "%WINDIR%\Temp\DotNET47-Install.log" |
Silent Uninstall Switch: | NDP47-KB3186497-x86-x64-AllOS-ENU.exe /uninstall /q /norestart |
Download Link: | https://go.microsoft.com/fwlink/?LinkId=2099385 |
PowerShell Script: | https://silentinstallhq.com/microsoft-net-framework-4-7-silent-install-powershell/ |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
Microsoft .NET Framework 4.6.2 Silent Install
- Navigate to: https://go.microsoft.com/fwlink/?linkid=2099468
- Download the NDP462-KB3151800-x86-x64-AllOS-ENU.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
NDP462-KB3151800-x86-x64-AllOS-ENU.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 4.6.2 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | NDP462-KB3151800-x86-x64-AllOS-ENU.exe /q /norestart |
Silent Install Switch with Logging: | NDP462-KB3151800-x86-x64-AllOS-ENU.exe /q /norestart /log "%WINDIR%\Temp\DotNET462-Install.log" |
Silent Uninstall Switch: | NDP462-KB3151800-x86-x64-AllOS-ENU.exe /uninstall /q /norestart |
Download Link: | https://go.microsoft.com/fwlink/?linkid=2099468 |
PowerShell Script: | https://silentinstallhq.com/microsoft-net-framework-4-6-2-silent-install-powershell/ |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
Microsoft .NET Framework 4.6.1 Silent Install
- Navigate to: https://go.microsoft.com/fwlink/?LinkId=2099467
- Download the NDP461-KB3102436-x86-x64-AllOS-ENU.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
NDP461-KB3102436-x86-x64-AllOS-ENU.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 4.6.1 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | NDP461-KB3102436-x86-x64-AllOS-ENU.exe /q /norestart |
Silent Install Switch with Logging: | NDP461-KB3102436-x86-x64-AllOS-ENU.exe /q /norestart /log "%WINDIR%\Temp\DotNET461-Install.log" |
Silent Uninstall Switch: | NDP461-KB3102436-x86-x64-AllOS-ENU.exe /uninstall /q /norestart |
Download Link: | https://go.microsoft.com/fwlink/?LinkId=2099467 |
PowerShell Script: | https://silentinstallhq.com/microsoft-net-framework-4-6-1-silent-install-powershell/ |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
Microsoft .NET Framework 4.6 Silent Install
- Navigate to: https://go.microsoft.com/fwlink/?LinkId=2099384
- Download the NDP46-KB3045557-x86-x64-AllOS-ENU.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
NDP46-KB3045557-x86-x64-AllOS-ENU.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 4.6 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | NDP46-KB3045557-x86-x64-AllOS-ENU.exe /q /norestart |
Silent Install Switch with Logging: | NDP46-KB3045557-x86-x64-AllOS-ENU.exe /q /norestart /log "%WINDIR%\Temp\DotNET46-Install.log" |
Silent Uninstall Switch: | NDP46-KB3045557-x86-x64-AllOS-ENU.exe /uninstall /q /norestart |
Download Link: | https://go.microsoft.com/fwlink/?LinkId=2099384 |
PowerShell Script: | https://silentinstallhq.com/microsoft-net-framework-4-6-silent-install-powershell/ |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
Microsoft .NET Framework 4.5.2 Silent Install
- Navigate to: https://go.microsoft.com/fwlink/?LinkId=397708
- Download the NDP452-KB2901907-x86-x64-AllOS-ENU.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
NDP452-KB2901907-x86-x64-AllOS-ENU.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 4.5.2 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | NDP452-KB2901907-x86-x64-AllOS-ENU.exe /q /norestart |
Silent Install Switch with Logging: | NDP452-KB2901907-x86-x64-AllOS-ENU.exe /q /norestart /log "%WINDIR%\Temp\DotNET452-Install.log" |
Silent Uninstall Switch: | NDP452-KB2901907-x86-x64-AllOS-ENU.exe /uninstall /q /norestart |
Download Link: | https://go.microsoft.com/fwlink/?LinkId=397708 |
PowerShell Script: | https://silentinstallhq.com/microsoft-net-framework-4-5-2-silent-install-powershell/ |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
Microsoft .NET Framework 4.5.1 Silent Install
- Navigate to: https://go.microsoft.com/fwlink/?LinkId=322116
- Download the NDP451-KB2858728-x86-x64-AllOS-ENU.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
NDP451-KB2858728-x86-x64-AllOS-ENU.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 4.5.1 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | NDP451-KB2858728-x86-x64-AllOS-ENU.exe /q /norestart |
Silent Install Switch with Logging: | NDP451-KB2858728-x86-x64-AllOS-ENU.exe /q /norestart /log "%WINDIR%\Temp\DotNET451-Install.log" |
Silent Uninstall Switch: | NDP451-KB2858728-x86-x64-AllOS-ENU.exe /uninstall /q /norestart |
Download Link: | https://go.microsoft.com/fwlink/?LinkId=322116 |
PowerShell Script: | https://silentinstallhq.com/microsoft-net-framework-4-5-1-silent-install-powershell/ |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
Microsoft .NET Framework 4.5 Silent Install
- Navigate to: https://download.microsoft.com/download/B/A/4/BA4A7E71-2906-4B2D-A0E1-80CF16844F5F/dotNetFx45_Full_setup.exe
- Download the dotNetFx45_Full_setup.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
dotNetFx45_Full_setup.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 4.5 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | dotNetFx45_Full_setup.exe /q /norestart |
Silent Install Switch with Logging: | dotNetFx45_Full_setup.exe /q /norestart /log "%WINDIR%\Temp\DotNET45-Install.log" |
Silent Uninstall Switch: | dotNetFx45_Full_setup.exe /uninstall /q /norestart |
Download Link: | https://download.microsoft.com/download/B/A/4/BA4A7E71-2906-4B2D-A0E1-80CF16844F5F/dotNetFx45_Full_setup.exe |
PowerShell Script: | https://silentinstallhq.com/microsoft-net-framework-4-5-silent-install-powershell/ |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
Microsoft .NET Framework 4 Silent Install
- Navigate to: https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe
- Download the dotNetFx40_Full_x86_x64.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
dotNetFx40_Full_x86_x64.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 4 |
Vendor: | Microsoft Corporation |
Architecture: | x86_x64 |
Installer Type: | EXE |
Silent Install Switch: | dotNetFx40_Full_x86_x64.exe /q /norestart |
Silent Install Switch with Logging: | dotNetFx40_Full_x86_x64.exe /q /norestart /log "%WINDIR%\Temp\DotNET40-Install.log" |
Silent Uninstall Switch: | dotNetFx40_Full_x86_x64.exe /uninstall /q /norestart |
Download Link: | https://download.microsoft.com/download/9/5/A/95A9616B-7A37-4AF6-BC36-D6EA96C8DAAE/dotNetFx40_Full_x86_x64.exe |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
Microsoft .NET Framework 3.5 SP1 Silent Install
- Navigate to: https://download.microsoft.com/download/2/0/E/20E90413-712F-438C-988E-FDAA79A8AC3D/dotnetfx35.exe
- Download the dotnetfx35.exe to a folder created at (C:\Downloads)
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Navigate to the C:\Downloads folder
- Enter the following command:
dotnetfx35.exe /q /norestart
- Press Enter
Software Title: | Microsoft .NET Framework 3.5 SP1 |
Vendor: | Microsoft Corporation |
Architecture: | x86 |
Installer Type: | EXE |
Silent Install Switch: | dotnetfx35.exe /q /norestart |
Silent Install Switch with Logging: | dotnetfx35.exe /q /norestart /log "%WINDIR%\Temp\DotNET35-Install.log" |
Silent Uninstall Switch: | dotnetfx35.exe /uninstall /q /norestart |
Download Link: | https://download.microsoft.com/download/2/0/E/20E90413-712F-438C-988E-FDAA79A8AC3D/dotnetfx35.exe |
Detection Script: | https://silentinstallhq.com/microsoft-net-framework-detection-scripts-powershell/ |
The information above provides a quick overview of the software title, vendor, silent install, and silent uninstall switches. The download links provided take you directly to the vendors website.
Additional Configurations
Enable .NET Framework 3.5 on Windows 10
Enable .NET Framework 3.5 with Command Prompt
- Open an Elevated Command Prompt by Right-Clicking on Command Prompt and select Run as Administrator
- Enter the following command:
- DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
- Press Enter
Enable .NET Framework 3.5 with PowerShell
- Open Windows PowerShell by Right-Clicking on Windows PowerShell and selecting Run as Administrator
- Enter the following command:
- Enable-WindowsOptionalFeature -Online -FeatureName “NetFx3”
- Press Enter
Always make sure to test everything in a development environment prior to implementing anything into production. The information in this article is provided “As Is” without warranty of any kind.