Hoppa till innehåll

In the days of Windows 7, almost all system features were stored locally on the hard drive. If you wanted to enable a feature, Windows simply unlocked it. However, starting with Windows 8 and continuing through Windows 10 and 11, Microsoft adopted a "Features on Demand" (FOD) approach to reduce the operating system's footprint.

Starting with Windows 8, Microsoft moved .NET Framework 3.5 to an "on-demand" model. This means the core files aren't pre-installed to save disk space. When you try to enable it, Windows usually attempts to download the necessary binaries from . If your machine is offline, behind a strict firewall, or using WSUS (Windows Server Update Services) that doesn't have the FOD enabled, the installation will fail with errors like 0x800F081F or 0x800F0906 . How to Install it Offline

if "%1"=="-Extra" ( echo Applying extra language support... if exist "%EXTRA_LANG%" ( DISM /Online /Add-Package /PackagePath:"%EXTRA_LANG%" /NoRestart ) echo Enabling .NET 3.5 feature and all child features... DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /Source:"%~dp0" /LimitAccess ) echo Done.

This guide covers everything from locating this file to fixing common installation errors like and 0x800F081F . Install .NET Framework 3.5 on Windows 10 - Microsoft Learn

This method is best if you have already downloaded or extracted the Microsoft-Windows-NetFx3-OnDemand-Package.cab file and saved it to a known location, like C:\temp .

The file is found within the Windows ISO or installation media under the \sources\sxs Where to find microsoft-windows-netfx3-ondemand-package.cab

If you have the .cab file and need to install it manually, follow these steps using the Deployment Image Servicing and Management (DISM) tool: as an Administrator.

Users often see this file mentioned in error messages such as:

The Microsoft-Windows-NetFx3-Ondemand-Package.cab file is digitally signed by Microsoft Corporation, which ensures its authenticity and integrity. The digital signature is valid and has not been tampered with.

Security remains paramount when modifying Windows operating system components. , as they frequently host malware or outdated, mismatched payloads. Secure, official sources for extraction include:

: You must use the version of the .cab file that matches your specific Windows version (e.g., a file from Windows 10 version 1909 will not work on version 2004). How to Install Using DISM

The microsoft-windows-netfx3-ondemand-package.cab contains all the necessary source files to enable the .NET Framework 3.5 features.

The Microsoft-windows-netfx3-ondemand-package.cab file is a compressed cabinet file that contains the .NET Framework 3.5, a collection of managed libraries and APIs developed by Microsoft. This file is used to provide on-demand installation of the .NET Framework 3.5, allowing users to install the framework only when it's required by an application.

If you have mounted a Windows ISO file, the .NET 3.5 payload is not stored as a single .cab file on the root. Instead, it is located within the installation sources. The path usually looks like this: D:\sources\sxs\microsoft-windows-netfx3-ondemand-package.cab (Where D: is the drive letter of the mounted ISO)