Install .NET Framework 2.0 on Windows 11
In this article
Yes—you can install .NET Framework 2.0 on Windows 11 by enabling the legacy .NET 3.5 feature (which bundles 2.0 and 3.0) or by running Microsoft’s offline 2.0 installer.
What You'll Need
- A PC running Windows 11 (any edition) with administrator privileges.
- Internet access if you let Windows download the feature files automatically.
- Optional: the offline .NET Framework 2.0 installer (a small ~5 MB .exe) saved on a local drive or USB stick.
- Basic comfort with the Control Panel or Settings app.
Step‑By‑Step
- Open Settings (Windows + I) and navigate to Apps → Optional features. If you prefer the classic Control Panel, open it and go to Programs → Turn Windows features on or off.
- In the Windows Features dialog, locate the entry named .NET Framework 3.5 (includes .NET 2.0 and .NET 3.0). Tick the checkbox.
- If your machine is connected to the internet, click OK. Windows will download the required files from Microsoft’s servers and install them automatically. This is the simplest method.
- If the computer is offline or you receive a “source files could not be found” error, you must point Windows to the offline source. Click the Specify an alternate source path link (or the Browse button in the dialog) and navigate to the folder that contains the extracted
sourceseaturesfolder from the Windows 11 installation media, or to the folder where you saved the offline .NET 2.0 installer. - After selecting the source, click OK again. Windows will copy the necessary binaries and complete the installation. A progress bar will appear; wait until it finishes.
- To confirm the installation, open a Command Prompt with administrator rights and run:
reg query "HKLM\SOFTWARE\Microsoft\NET Framework Setup\NDP\v2.0.50727" /v Install
The command should returnInstall REG_DWORD 0x1, indicating that .NET 2.0 is present. - If you prefer using the standalone installer, download the official dotnetfx20.exe file, right‑click it and choose Run as administrator. Follow the wizard prompts, accept the license, and let the installer finish. It will automatically enable the .NET 3.5 feature as part of the process.
- Restart the computer to ensure that all system components recognise the new framework version.
Common Mistakes
- Trying to install .NET 2.0 directly from the Windows Store – the framework is not distributed through the Store.
- Leaving the .NET Framework 3.5 box unchecked, assuming that only a separate 2.0 entry exists.
- Running the installer without administrator rights, which causes a silent failure.
- Using a Windows 11 ISO that does not contain the
sourceseaturesfolder; the installer will then report missing source files. - Attempting to install on a Windows 11 version that has been hardened by group‑policy settings that block feature installation.
Tips
- Keep a copy of the Windows 11 installation media (USB or ISO) handy; it provides a reliable source for the .NET 3.5 files.
- If you manage many PCs, use the DISM command to add the feature silently:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /Source:D:\sources\sxs /LimitAccess
ReplaceD:with the drive letter of your media. - After installation, you can verify the exact version by running
dotnet --list-runtimes(if the newer .NET CLI is present) or checking the registry key mentioned earlier. - Some older applications look for the file
mscorlib.dllinC:\Windows\Microsoft.NET\Framework\v2.0.50727. Confirm that the folder exists after installation. - When using the offline .exe, disable any third‑party antivirus temporarily if it blocks the installer; re‑enable it once the setup finishes.
Troubleshooting
If the installation does not complete, follow these steps in order:
- Restart the PC and try the feature enablement again. A simple reboot clears pending file operations.
- Make sure Windows is fully updated (Settings → Windows Update). Missing cumulative updates can prevent the .NET 3.5 feature from being added.
- Open an elevated Command Prompt and run:
DISM /Online /Cleanup‑Image /RestoreHealth
This repairs the component store, which often fixes feature‑install failures. - Run the feature enable command again with DISM, specifying a valid source path as shown in the Tips section.
- If a group‑policy restriction is present, open the Local Group Policy Editor (gpedit.msc), navigate to Computer Configuration → Administrative Templates → System → Specify settings for optional component installation and component repair, and set the policy to Enabled** with “Download repair content from Windows Update instead of Windows Server Update Services (WSUS)” selected.
- Check the event log (Event Viewer → Windows Logs → Setup) for error codes such as 0x800F0906; the log entry often points to the exact missing source.
- As a last resort, run the offline installer
dotnetfx20.exeagain, ensuring you choose the Run as administrator option and that no other installation processes are running.
Frequently Asked Questions
Do I need .NET Framework 2.0 if I have .NET 4.x installed?
No. .NET 4.x is a separate runtime and does not contain the older 2.0 libraries. Legacy applications built for 2.0 still require the 2.0/3.5 component.
Will enabling .NET 3.5 affect system performance?
Enabling the feature adds a few megabytes of DLLs to the system but does not run any background services, so performance impact is negligible.
Can I install .NET 2.0 on Windows 11 Home edition?
Yes. The feature is available on all Windows 11 editions, including Home, as long as you have administrator rights.
What if my PC is joined to a domain that blocks feature installation?
Contact your IT administrator. They can adjust the group‑policy setting that prevents optional component installation, or they can deploy the .NET 3.5 feature via a domain‑wide DISM command.
Is the offline installer still supported by Microsoft?
Microsoft continues to host the legacy .NET 2.0 installer for compatibility purposes, and it works on Windows 11 when run with admin privileges.
Do I need to reinstall .NET 2.0 after a major Windows 11 update?
Usually not. Major updates preserve optional features, but if an update resets the feature state, simply repeat the steps above to re‑enable .NET 3.5.