How to install the .NET Framework step by step on Windows

Last update: 16/10/2025
Author Isaac
  • .NET Framework 4.x is updated in-place, and only one 4.x version can exist per computer.
  • To apps older versions require .NET Framework 3.5, which can be enabled as a feature.
  • Windows 11 (22H2+) includes 4.8.1; Windows 10 22H2 supports installing 4.8.1.
  • Web/offline installers, language packs, and developer packs as needed.

Install .NET Framework on Windows

If you've ever seen a notification asking for .NET Framework when opening a program, you're not alone: ​​many Windows applications depend on this component . This guide will provide you with all the information you need, including which version of Windows comes with, how to update to the latest version, how to enable .NET Framework 3.5 when an older app requests it, and how to deal with common installation errors.

Before we get into the details, it's helpful to clarify: the latest version of the .NET Framework is 4.8.1 , which is compatible with all applications built for .NET Framework 4.x. However, if an app was developed for .NET 1.1 through 3.5, it will need the .NET Framework 3.5 component. That's why you'll sometimes see a window prompting you to download this feature; this is normal, and except in strict corporate environments, simply accepting is usually sufficient.

Supported versions of the .NET Framework

The Windows ecosystem comprises two main families: .NET Framework 3.5 (designed to run older software) and the 4.x line (4.0 through 4.8.1). Microsoft continues to support .NET Framework 3.5 for running applications, but does not recommend creating new projects with that version. If an app targets versions 1.0–3.5 and the system does not have version 3.5 installed, Windows will prompt the user to install it automatically.

The 4.x branch functions as an in-place upgrade: only one 4.x version can coexist on a single computer . If you try to install an older 4.x version and you already have a newer one, it won't let you. Similarly, if the system already came with a specific 4.x version, it's not possible to revert to an older one, although you can upgrade to a newer version without uninstalling anything.

For developers, Visual Studio uses specific development packs (Developer Pack/Targeting Pack) to target projects to specific versions of .NET Framework 4.x. If you maintain legacy software, install the corresponding pack so the IDE allows you to compile against that version.

If you're unsure what you have, you can check from within Windows: there are methods to view the installed .NET Framework versions . This saves you from reinstalling something that's already there or helps you understand why an installer refuses to continue.

Supported .NET Framework versions

Windows 11

Windows 11 initially launched with .NET Framework 4.8, but since version 22H2 (September 2022), it includes .NET Framework 4.8.1 by default . Therefore, most current computers already have the latest version pre-installed. The following table provides a quick overview:

Windows 11 (version) .NET included Latest .NET support
24H2 (October 2024) 4.8.1 4.8.1
23H2 (October 2023) 4.8.1 4.8.1
22H2 (September 2022) 4.8.1 4.8.1
21H2 (October 2021) 4.8 4.8.1

If your computer is running Windows 11 21H2 , you can manually install 4.8.1 by downloading the installer. For all other Windows 11 editions, the modern version is already installed. If any older apps require .NET 3.5, instructions on how to enable it on demand are provided below.

.NET Framework on Windows 11

Installing the .NET Framework on Windows 11

In Windows 21H2, download the .NET Framework 4.8.1 installer and run it with administrator privileges; you don't need to uninstall anything beforehand . For .NET Framework 3.5 (which runs apps from 1.0 to 3.5), use Windows Features or On-Demand Installation when prompted by the system.

  Are you getting Netflix error message UI3012? Here is a simple guide.

Windows 10

Windows 10 originally included .NET Framework 4.6, although more recent versions were added with subsequent updates. The last supported version of Windows 10 is 22H2 , which reached its end of life on October 14, 2025. Below is a summary of relevant versions:

Windows 10 (version) .NET included Latest .NET support
22H2 (October 2022) 4.8 4.8.1
21H2 / 21H1 / 20H2 4.8 4.8.1
2004 / 1909 / 1903 4.8 4.8
1809 / 1803 4.7.2 4.8
1709 4.7.1 4.8
1703 4.7 4.8
1607 4.6.2 4.8
1511 4.6.1 4.6.2
1507 4.6 4.6.2

For 22H2 you can install 4.8.1 without issue, while for earlier series the maximum version may vary . If you need .NET Framework 3.5, remember that it allows you to run older software (1.0 to 3.5) and is enabled as a system feature.

.NET Framework on Windows 10

Installing the .NET Framework on Windows 10

Download the .NET Framework 4.8.1 installer for Windows 10 22H2 and run it with an administrator account. For .NET 3.5 , use the "Turn Windows features on or off" panel or On-Demand mode when prompted by the app.

Windows Server

All Windows Server versions include some version of the .NET Framework, although not all are still supported. Currently, Windows Server 2022 and Windows Server 2025 are supported and include the latest version (4.8.1). Details by edition:

Windows Server .NET included Latest .NET support
Windows Server 2025 4.8.1 4.8.1
Windows Server 2022 4.8 4.8.1
Windows Server 2019 4.7.2 4.8
Windows Server 2016 4.6.2 4.8
Windows Server 2012 / 2012 R2 4.5 / 4.5.1 4.8
Windows Server 2008 R2 SP1 3.5 4.8
Windows Server 2008 SP2 2.0 4.6
Windows Server 2003 2.0 4.0

Server 2025 comes with .NET Framework 4.8.1 pre-installed. On Server 2022, you can upgrade to 4.8.1 using the installer . To run older apps, .NET Framework 3.5 is enabled as a feature (see next section).

.NET Framework on Windows Server

Install .NET Framework 3.5 on Windows Server

Open Server Manager and choose "Add Roles and Features." Navigate to "Features" and locate ".NET Framework 3.5 Features"; within it, select ".NET Framework 3.5 (includes .NET 2.0 and 3.0)." Click Install, and if prompted by the wizard, restart the server . This process is recommended when an installer tells you it cannot add the feature by other means.

Windows 8.1, 8, 7, Vista and XP

These versions are no longer supported, but you might need to know what they included and what your current capabilities are. Key historical information :

Windows .NET included Latest .NET support
Windows 8.1 4.5.1 4.8
Windows 8 4.5 4.6.1
Windows 7 3.5 4.8
Windows Vista 3.0 4.6
Windows XP SP3 None 4.0.3
Windows XP SP2 None 3.5
Windows XP None 1.0

Keep in mind that some downloads are no longer available and certain installers may not run on these systems. For example, the latest version of the 4.8 installer may not work on 8.1 . In such cases, you may need to look for older binaries that Microsoft no longer distributes.

.NET Framework 3.5: When and How to Enable It

If, when you open an app, a window appears offering to "Download and install this feature," it means that the app targets .NET 1.1–3.5. Choose to continue to enable .NET Framework 3.5 ; you will need an internet connection. On Windows, .NET 4.x does not run older apps on its own; for those, 3.5 is required.

To manually activate it on Windows (client editions), go to the Start menu, search for "Windows Features," and open "Turn Windows features on or off." Select ".NET Framework 3.5 (includes .NET 2.0 and 3.0)" and click OK. You don't need to select the WCF activation options (HTTP or non-HTTP) unless you are a developer or administrator who requires them.

  How to read and process Excel sheets with pandas and openpyxl: from scratch to pro

Offline installation of .NET Framework 3.5

In versions prior to Windows 10 and Windows Server 2016, there is an offline installer for .NET 3.5 SP1. Starting with Windows 10/Server 2016, the only supported method for an offline environment is to use the CAB files from the original installation media and enable it with DISM. This is the recommended method when there is no internet connection or download errors occur . See the guide for installing updates offline.

Types of installers and key notes

For .NET Framework 4.5 and later, there are two installer options: web (downloads what's needed in real time) and offline (includes all components) . The web installer is lightweight but requires a stable internet connection; the offline installer is larger, doesn't include language packs, and is ideal for computers without internet access or with restrictions.

Both installers support x86 and x64 architectures, but are not compatible with Itanium . During the download, select the page language (this affects the website text, not the framework resources), click "Download," and if prompted, choose the binary that matches your architecture. Then you can click "Run" to install or "Save" if you plan to redistribute it with your own installer.

Important notes: Installing .NET 4.5 or later replaces .NET 4.0 . Uninstalling 4.5+ will also delete the 4.0 files, and if you need to revert to 4.0, you will have to reinstall .NET 4.0 and its updates. Additionally, administrator credentials are required to install 4.5 or later.

A historical note: The .NET 4.5 redistributable was updated in October 2012 to fix a certificate timestamp issue. If you were using the August 2012 package, you needed to update to the latest version . This issue was documented in a Microsoft security advisory.

Language packs

Language packs add localized resources (interface text and error messages). If you don't install them, the .NET Framework text will appear in English . The web installer automatically adds the language that corresponds to your system; the offline installer doesn't include languages, and you'll have to download them separately.

Available languages ​​and their associated culture (availability subject to each version): you can install more than one if needed.

Language Culture
Arab Ar
Czech Cs
Danish yes
Dutch Nl
Finnish Fi
English (US) it-IT
French France
German de
Greek El
Hebrew he
Hungarian hu
Italian That
Japanese ja
Korean ko
Norwegian No
Polish pl
Portuguese (Brazil) pt-BR
Portuguese (Portugal) pt-PT
Russian Ru
Simplified Chinese zh-CHS
Spanish es
Swedish Sv
Traditional Chinese zh-CHT
Turkish Tr

Downloads by version (.NET Framework 4.5 to 4.8.1)

If you need a specific package, here's a summary of where it integrates and on which platforms it can be installed. For development, download the Developer Pack/Targeting Pack ; to run applications, use the redistributable installer (web or offline):

Version Included in Can be installed on (examples)
4.8.1 Windows 11 (22H2+), Visual Studio 2022 (17.3) Windows 11; Windows 10 (21H1/21H2/20H2); Windows Server 2022
4.8 Windows 11; Windows 10 May 2019 Update+; VS 2019 (16.3) Windows 10 (Anniversary/Creators/Fall Creators/April 2018/October 2018); Windows 8.1; Server 2022/2019/1809/1803
4.7.2 Windows 10 October/April 2018; Server 2019; VS 2017 (15.8) Windows 10 (Anniversary/Creators/Fall Creators); Windows 8.1; Server 1709 and earlier
4.7.1 Windows 10 Fall Creators; Server 1709; VS 2017 (15.5) Windows 10 (Creators/Anniversary); Windows 8.1; Server 2016 and earlier
4.7 Windows 10 Creators; VS 2017 (15.3) Windows 10 Anniversary; Windows 8.1; Server 2016 and earlier
4.6.2 Windows 10 Anniversary Windows 10 November Update; Windows 8.1; Server 2012 R2 and earlier
4.6.1 VS 2015 Update 2 Windows 10/8.1; Server 2012 R2 and earlier
4.6 Windows 10; VS 2015 Windows 8.1; Server 2012 R2 and earlier
4.5.2 Windows 8.1 and earlier; Server 2012 R2 and earlier
4.5.1 Windows 8.1; Server 2012 R2; VS 2013 Windows 8 and earlier; Server 2012 and earlier
4.5 Windows 8; Server 2012; VS 2012 Windows 7 and earlier; Server 2008 SP2 and earlier
  Easy methods to Disable WiFi and Bluetooth On iPhone or iPad

Remember that a Developer Pack does not include previous versions (for example, the 4.8 pack does not include 4.7). If you are going to distribute your app, you can include the appropriate redistributable in your installer.

Developers and Visual Studio

If you're maintaining older projects, install the Developer Pack/Targeting Pack for the specific version and activate it from the Visual Studio Installer during the "Desktop Development with .NET" load. If MSBuild displays the error MSB3644 ("No reference assemblies found"), the solution is to install the pack for the version you're targeting.

For .NET Framework 3.5 development, first enable 3.5 on your system, and then select the .NET Framework 3.5 development tools in the "Individual Components" tab of Visual Studio. This will give you access to reference assemblies, language packs, and IntelliSense.

Microsoft's current recommendation: For new development, use .NET 8 or later . Modern versions of .NET are cross-platform, support more types of applications, and offer significantly improved performance, while still allowing you to maintain software that requires the .NET Framework.

Installation Troubleshooting

During installation, you may encounter error codes such as 0x800f0906, 0x800f0907, 0x800f081f, or 0x800F0922 . Refer to the .NET Framework 3.5 installation troubleshooting guide if these errors affect that feature. Often, these errors are resolved by enabling the feature using the installation media and DISM, or by verifying connectivity to Windows Update servers . You can also use this tool to troubleshoot .NET Framework 4.5.

If you don't have internet access or are still stuck, mount your official Windows installation media (ISO/USB) and use DISM to add .NET Framework 3.5 from the \sources\sxs folder. If you don't have the media, create it using the official Microsoft tool . In environments with "Features on Demand," verify that the content sources are correctly configured.

Related articles:
FIX: .NET Runtime Optimization Service High CPU

With all of the above, you should now know which .NET Framework you need, how to activate it, and where to download it depending on your version of Windows or Windows Server. Remember: 3.5 for older apps, 4.8.1 as the latest branch, and Developer Packs for compiling . If something goes wrong, run DISM with the installation media and check the error codes to address the problem as soon as possible.

Isaac

Isaac

Passionate writer about the world of bytes and technology in general. I love sharing my knowledge through writing, and that's what I'll do on this blog, show you all the most interesting things about gadgets, software, hardware, tech trends, and more. My goal is to help you navigate the digital world in a simple and entertaining way.