Windows 11 comes with .NET Framework 4.8 pre-installed and supports later versions. However, older .NET Framework versions (1.0–4.0) are not officially supported on Windows 11. But there is a workaround:
Need more help? Use the official Microsoft .NET Framework Setup Verification Tool to validate your installation. Stay safe and always download from verified sources.
Microsoft .NET Framework 4 (автономный установщик)
Installing .NET Framework 4.0.30319 on Windows 7 (64-bit) requires the standalone installer, ideally with Service Pack 1 installed for compatibility. Common installation errors can be resolved by running the installer as an administrator or utilizing the Microsoft .NET Framework Repair Tool. For direct download and repair instructions, see Microsoft learn.microsoft.com/en-us/dotnet/framework/install/repair. Net Framework 4.0 - Windows 7 (SP1) - Help Please