Install microsoft net framework 4 0
Author: s | 2025-04-23
net framework 4.0, net framework 4 0, microsoft net framework, framework 4 0, microsoft net, microsoft, netfx, dotnetfx4, .Net Framework 4.0 offline installer for x86 To install the Visual Studio Tools for Office runtime. Install the .NET Framework 4 or later. To download the .NET Framework 4, see Microsoft .NET Framework 4 (Web Installer). To download the .NET Framework 4 Client Profile, see Microsoft .NET Framework 4 Client Profile (Web Installer). To download the .NET Framework 4.5, see Microsoft .NET Framework 4.5.
Microsoft .NET Framework 4 Offline Installer
DotNetVersionLister is community tool available at GitHub. You don’t need to manually download or install anything. It can all be done using one line of command in PowerShell. To check .NET Framework version in Windows 11, follow the steps below.1. Search for Windows PowerShell via Start. Then, right-click the top result and select Run as administrator.2. In the PowerShell window, enter the following command.Install-Module -Name DotNetVersionLister -Scope CurrentUser #-Force3. If you have never installed NuGet provider which the module requires, you will be prompted to install it. Type Y and hit Enter to continue.4. When asked if you are sure you want to install the module, type Y and hit Enter to install it.5. After installing the module, execute the following command to view the .NET Framework version in Windows 11.Get-STDotNetVersionIf you get error that says “The ‘Get-STDotNetVersion’ command was found in the module‘DotNetVersionLister’, but the module could not be loaded“, it is because the Execution Policy is set to Restricted. This is to protect your PC from scripts that do not trust. You can temporary set the Execution Policy to unrestricted by typing the following command.Set-Executionpolicy UnrestrictedType Y and hit Enter to confirm the changes. Then, execute the get dot net version command to view the installed .NET Framework version.Get-STDotNetVersionAfter viewing your .NET version, set the execution policy back to restricted again. After entering the command below, type Y and hit Enter to confirm the changes.Set-Executionpolicy RestrictedCheck .NET version using Get-ChildItem commandIf you prefer not to install any module, you can use the following command instead to check the version of .NET Framework installed on your PC. The following command will work in both Windows PowerShell and Windows Terminal.Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -Match '^(?!S)\p{L}'} | Select PSChildName, versionMethod 2: Check .NET version via Command PromptTo check .NET Framework version via Command Prompt in Windows 11, follow the steps below.1. Click Start. Search for Command Prompt or CMD and run it as administrator.2. In the elevated Command Prompt window, enter the following command.reg query "HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP" /sThis command net framework 4.0, net framework 4 0, microsoft net framework, framework 4 0, microsoft net, microsoft, netfx, dotnetfx4, .Net Framework 4.0 offline installer for x86 To install the Visual Studio Tools for Office runtime. Install the .NET Framework 4 or later. To download the .NET Framework 4, see Microsoft .NET Framework 4 (Web Installer). To download the .NET Framework 4 Client Profile, see Microsoft .NET Framework 4 Client Profile (Web Installer). To download the .NET Framework 4.5, see Microsoft .NET Framework 4.5. メイン コンテンツにスキップ このブラウザーはサポートされなくなりました。 Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。 Install .NET Framework on Windows and Windows Server [アーティクル]02/21/2025 この記事の内容 -->.NET Framework is included on all current versions of Windows and Windows Server. This article helps you understand which version of .NET Framework is included in Windows and Windows Server, and if an upgrade is available.The latest version of .NET Framework is 4.8.1. This version of .NET Framework supports all .NET Framework 4 apps. For more information about a specific release of .NET Framework, see .NET Framework versions and dependencies.Note.NET Framework is a Windows-only technology, and is separate from .NET (formerly called .NET Core). For more information, see Introduction to .NET.Supported versions of .NET FrameworkThe following versions of .NET Framework are still supported:.NET Framework 4.8.1.NET Framework 4.8.NET Framework 4.7.2.NET Framework 4.7.1.NET Framework 4.7.NET Framework 4.6.2 (support ends January 12, 2027).NET Framework 3.5 Service Pack 1 (support ends January 9, 2029).NET Framework 3.5.NET Framework 3.5 is still supported by Microsoft, even though it's an older version of .NET Framework. However, only the .NET Framework 3.5 runtime is supported, which runs apps. Developing new apps that target .NET Framework 3.5 isn't supported. This version of .NET Framework supports running apps that target versions 1.0 through 3.5, and can be installed alongside .NET Framework 4.If you try to run an app that targets .NET Framework 1.0 through 3.5, and .NET Framework 3.5 is missing, you're prompted to install it. For more information, see Install .NET Framework 3.5 on Windows..NET Framework 4.xAll .NET Framework 4.x versions are in-place updates. Only a single 4.x version can be present on Windows. Because .NET Framework is installed as part of Windows, consider that:If there's a later 4.x version installed on the machine already, you can't install a previous 4.x version.If the OS comes preinstalled with a particular .NET Framework version, you can't install a previous 4.x version on the same machine.If you install a later version, you don't have to first uninstall the previous version.Developers and Visual StudioVisual Studio uses .NET Framework Developer Packs to support targeting specific versions of .NET Framework 4. If you're a developer who must work on a project targeting an old version of .NET Framework 4, install the corresponding developer pack. For more information, see Install .NET Framework for developers.Windows 11.NET Framework 4.8 was originally included with Windows 11. Starting with Windows 11 22H2 (released September 2022), .NET Framework 4.8.1 is included.In the following table, ❌ represents an unsupported version of Windows 11 and ✔️ represents a supported version of Windows 11. The table also describes which version of .NET Framework is included with Windows 11, and which version of .NET Framework you can upgrade to.Windows 11 version.NET Framework includedLatest .NET Framework supported✔️ 24H2 (OctoberComments
DotNetVersionLister is community tool available at GitHub. You don’t need to manually download or install anything. It can all be done using one line of command in PowerShell. To check .NET Framework version in Windows 11, follow the steps below.1. Search for Windows PowerShell via Start. Then, right-click the top result and select Run as administrator.2. In the PowerShell window, enter the following command.Install-Module -Name DotNetVersionLister -Scope CurrentUser #-Force3. If you have never installed NuGet provider which the module requires, you will be prompted to install it. Type Y and hit Enter to continue.4. When asked if you are sure you want to install the module, type Y and hit Enter to install it.5. After installing the module, execute the following command to view the .NET Framework version in Windows 11.Get-STDotNetVersionIf you get error that says “The ‘Get-STDotNetVersion’ command was found in the module‘DotNetVersionLister’, but the module could not be loaded“, it is because the Execution Policy is set to Restricted. This is to protect your PC from scripts that do not trust. You can temporary set the Execution Policy to unrestricted by typing the following command.Set-Executionpolicy UnrestrictedType Y and hit Enter to confirm the changes. Then, execute the get dot net version command to view the installed .NET Framework version.Get-STDotNetVersionAfter viewing your .NET version, set the execution policy back to restricted again. After entering the command below, type Y and hit Enter to confirm the changes.Set-Executionpolicy RestrictedCheck .NET version using Get-ChildItem commandIf you prefer not to install any module, you can use the following command instead to check the version of .NET Framework installed on your PC. The following command will work in both Windows PowerShell and Windows Terminal.Get-ChildItem 'HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP' -Recurse | Get-ItemProperty -Name version -EA 0 | Where { $_.PSChildName -Match '^(?!S)\p{L}'} | Select PSChildName, versionMethod 2: Check .NET version via Command PromptTo check .NET Framework version via Command Prompt in Windows 11, follow the steps below.1. Click Start. Search for Command Prompt or CMD and run it as administrator.2. In the elevated Command Prompt window, enter the following command.reg query "HKLM\SOFTWARE\Microsoft\Net Framework Setup\NDP" /sThis command
2025-04-12メイン コンテンツにスキップ このブラウザーはサポートされなくなりました。 Microsoft Edge にアップグレードすると、最新の機能、セキュリティ更新プログラム、およびテクニカル サポートを利用できます。 Install .NET Framework on Windows and Windows Server [アーティクル]02/21/2025 この記事の内容 -->.NET Framework is included on all current versions of Windows and Windows Server. This article helps you understand which version of .NET Framework is included in Windows and Windows Server, and if an upgrade is available.The latest version of .NET Framework is 4.8.1. This version of .NET Framework supports all .NET Framework 4 apps. For more information about a specific release of .NET Framework, see .NET Framework versions and dependencies.Note.NET Framework is a Windows-only technology, and is separate from .NET (formerly called .NET Core). For more information, see Introduction to .NET.Supported versions of .NET FrameworkThe following versions of .NET Framework are still supported:.NET Framework 4.8.1.NET Framework 4.8.NET Framework 4.7.2.NET Framework 4.7.1.NET Framework 4.7.NET Framework 4.6.2 (support ends January 12, 2027).NET Framework 3.5 Service Pack 1 (support ends January 9, 2029).NET Framework 3.5.NET Framework 3.5 is still supported by Microsoft, even though it's an older version of .NET Framework. However, only the .NET Framework 3.5 runtime is supported, which runs apps. Developing new apps that target .NET Framework 3.5 isn't supported. This version of .NET Framework supports running apps that target versions 1.0 through 3.5, and can be installed alongside .NET Framework 4.If you try to run an app that targets .NET Framework 1.0 through 3.5, and .NET Framework 3.5 is missing, you're prompted to install it. For more information, see Install .NET Framework 3.5 on Windows..NET Framework 4.xAll .NET Framework 4.x versions are in-place updates. Only a single 4.x version can be present on Windows. Because .NET Framework is installed as part of Windows, consider that:If there's a later 4.x version installed on the machine already, you can't install a previous 4.x version.If the OS comes preinstalled with a particular .NET Framework version, you can't install a previous 4.x version on the same machine.If you install a later version, you don't have to first uninstall the previous version.Developers and Visual StudioVisual Studio uses .NET Framework Developer Packs to support targeting specific versions of .NET Framework 4. If you're a developer who must work on a project targeting an old version of .NET Framework 4, install the corresponding developer pack. For more information, see Install .NET Framework for developers.Windows 11.NET Framework 4.8 was originally included with Windows 11. Starting with Windows 11 22H2 (released September 2022), .NET Framework 4.8.1 is included.In the following table, ❌ represents an unsupported version of Windows 11 and ✔️ represents a supported version of Windows 11. The table also describes which version of .NET Framework is included with Windows 11, and which version of .NET Framework you can upgrade to.Windows 11 version.NET Framework includedLatest .NET Framework supported✔️ 24H2 (October
2025-04-04The Microsoft .NET Framework 4.6 CTP 5 is a highly compatible, in-place update to the Microsoft .NET Framework 4, .NET Framework 4.5, .NET Framework 4.5.1 and .NET Framework 4.5.2. The offline package can be used in situations where the web installer cannot be used due to lack of internet connectivity.Important! Selecting a language below will dynamically change the complete page content to that language.File Name:NDP46-KB3006563-x86-x64-AllOS-ENU.exeThis is an offline installer. Supported Operating SystemsWindows 7 Service Pack 1, Windows 8, Windows 8.1, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Server 2012, Windows Server 2012 R2, Windows Vista Service Pack 2Hardware Requirements:1 GHz or faster processor512 MB of RAM 2.2 GB of available hard disk space (x86)3 GB of available hard disk space (x64)On this page, choose the Download button.To install the software now, choose the Run button.To install the software later, choose the Save button. (When you install, the computer does not have to be connected to the Internet.)This version of the .NET Framework runs side-by-side with the .NET Framework 3.5 SP1 and earlier versions, but performs an in-place update for the .NET Framework 4, .NET Framework 4.5, .NET Framework 4.5.1 and .NET Framework 4.5.2.
2025-04-20.NET Framework 4.5 is a highly compatible, in-place update to .NET Framework 4.Important! Selecting a language below will dynamically change the complete page content to that language.Date Published:15/07/2024File Name:dotNetFx45_Full_setup.exeThe .NET Framework 4.5 is a highly compatible, in-place update to the .NET Framework 4. By using the .NET Framework 4.5 together with the C#, Visual Basic, or F# programming language, you can write Windows apps. The .NET Framework 4.5 includes significant language and framework enhancements for C#, Visual Basic, and F# (so that you can more easily write asynchronous code), the blending of control flow in synchronous code, a responsive UI, and web app scalability . The .NET Framework 4.5 adds substantial improvements to other functional areas such as ASP.NET, Managed Extensibility Framework, Windows Communication Foundation, Windows Workflow Foundation, and Windows Identity Foundation. The .NET Framework 4.5 delivers better performance, reliability, and security. For more information about these and other features of the .NET Framework 4.5, see the .NET Framework Developer Center website.Note: The .NET Framework 4.5 redistributable was updated on 10/9/2012 to correct an issue related to an improper timestamp on a digital certificate which causes the digital signature on files produced and signed by Microsoft to expire prematurely. We recommend customers that previously installed the .NET 4.5 redistributable package dated 8/16/2012 install this updated .NET 4.5 redistributable package. More information about the issue can be found Microsoft Security Advisory 2749655.Supported Operating SystemsWindows 7 Service Pack 1, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Vista Service Pack 2Windows Vista SP2 (x86 and x64)Windows 7 SP1 (x86 and x64)Windows Server 2008 R2 SP1 (x64)Windows Server 2008 SP2 (x86 and x64)Hardware Requirements:1 GHz or faster processor512 MB of RAM850 MB of available hard disk space (x86)2 GB hard drive (x64)Note: Windows 8 and Windows Server 2012 include the .NET Framework 4.5. Therefore, you don't have to install this software on those operating systems. On this page, choose the Download button.To install the software now, choose the Run button.To install the software later, choose the Save button. (When you install, the computer must be connected to the Internet.)This version of the .NET Framework runs side-by-side with the .NET Framework 3.5 and earlier versions, but performs an in-place update for the .NET Framework 4. For important information about this release, see the .NET Framework 4.5 Readme File.
2025-04-22Copilot is your AI companionAlways by your side, ready to support you whenever and wherever you need it..NET Framework 4.5 is a highly compatible, in-place update to .NET Framework 4.Important! Selecting a language below will dynamically change the complete page content to that language.File Name:dotNetFx45_Full_setup.exeThe .NET Framework 4.5 is a highly compatible, in-place update to the .NET Framework 4. By using the .NET Framework 4.5 together with the C#, Visual Basic, or F# programming language, you can write Windows apps. The .NET Framework 4.5 includes significant language and framework enhancements for C#, Visual Basic, and F# (so that you can more easily write asynchronous code), the blending of control flow in synchronous code, a responsive UI, and web app scalability . The .NET Framework 4.5 adds substantial improvements to other functional areas such as ASP.NET, Managed Extensibility Framework, Windows Communication Foundation, Windows Workflow Foundation, and Windows Identity Foundation. The .NET Framework 4.5 delivers better performance, reliability, and security. For more information about these and other features of the .NET Framework 4.5, see the .NET Framework Developer Center website.Note: The .NET Framework 4.5 redistributable was updated on 10/9/2012 to correct an issue related to an improper timestamp on a digital certificate which causes the digital signature on files produced and signed by Microsoft to expire prematurely. We recommend customers that previously installed the .NET 4.5 redistributable package dated 8/16/2012 install this updated .NET 4.5 redistributable package. More information about the issue can be found Microsoft Security Advisory 2749655.Supported Operating SystemsWindows 7 Service Pack 1, Windows Server 2008 R2 SP1, Windows Server 2008 Service Pack 2, Windows Vista Service Pack 2Windows Vista SP2 (x86 and x64)Windows 7 SP1 (x86 and x64)Windows Server 2008 R2 SP1 (x64)Windows Server 2008 SP2 (x86 and x64)Hardware Requirements:1 GHz or faster processor512 MB of RAM850 MB of available hard disk space (x86)2 GB hard drive (x64)Note: Windows 8 and Windows Server 2012 include the .NET Framework 4.5. Therefore, you don't have to install this software on those operating systems. On this page, choose the Download button.To install the software now, choose the Run button.To install the software later, choose the Save button. (When you install, the computer must be connected to the Internet.)This version of the .NET Framework runs side-by-side with the .NET Framework 3.5 and earlier versions, but performs an in-place update for the .NET Framework 4. For important information about this release, see the .NET
2025-04-21Installed on the computer. To obtain the latest version of Windows Installer, visit the following Microsoft website: Windows Installer 4.5 Redistributable Known issues and additional information about this security update For more information about installation issues this security update or with the Microsoft .NET Framework Service Pack 1, click the following article number to view the article in the Microsoft Knowledge Base: 2431728 Encrypted content in ASP.NET is not decrypted for a website that is deployed in a web farm2431208 An update for the Microsoft .NET Framework may fail to install when the Microsoft .NET Framework 4 is installed and a restart is pending2260913 Files in use or File Locks can Result in Framework Assembly Files being Deleted 2263996 Patching of Microsoft Framework can fail with Access is denied or File in Use error2473228 Products or updates may not be installed correctly when Microsoft .NET Framework 4 or updates for Microsoft .NET Framework 4 are installed after the other product or update installs and a restart is pending Note The installer for the update that corresponds to Knowledge Base article 2416472 does not have a localized link for the Data Collection Policy. This information can be found in the following websites. Select the link that is appropriate for your language: Language Privacy Statement for the Microsoft Customer Experience Improvement Program Arabic Chinese - China Chinese - Taiwan Czech Danish Dutch English Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Norwegian Polish Portuguese - Brazil Portuguese - Portugal Russian Spanish
2025-04-22