# Install the .NET Framework on Windows 7 SP1 and Windows Server 2008 R2

The .NET Framework is required to run many applications on Windows. You can use the following instructions to install it. You may have arrived on this page after trying to run an application and seeing the following dialog on your machine.

These instructions will help you install the .NET Framework versions you need. .NET Framework 4.8 is the latest version. It is supported on Windows 7 SP1 and Windows Server 2008 R2 and is included with Windows 10 May 2019 Update and later versions.

## .NET Framework 4.8

.NET Framework 4.8 can be used to run applications built for .NET Framework 4.0 or later.

### Offline installer

When doing an offline install for .NET Framework on Windows 7, you'll first need to make sure that the latest Microsoft Root Certificate Authority 2011 has been installed on the target machine.

The certmgr.exe tool can automate installing a certificate and is obtained from Visual Studio or the Windows SDK. The following command is used to install the certificate before running the .NET Framework installer:

certmgr.exe /add MicRooCerAut2011_2011_03_22.crt /s /r localMachine root


## .NET Framework 3.5

The .NET Framework 3.5 is included with Windows 7.

The .NET Framework 3.5 supports apps built for .NET Framework 1.0 through 3.5.

## Help

You can contact Microsoft for help if you cannot get the correct version of the .NET Framework installed.