After installing .NET 3.5 SP1 on Windows XP SP2, you’ll see in Add/Remove Programs:
If you are re-installing Windows XP SP2 frequently (for retro gaming rigs or factory floor PCs), you can slipstream .NET 3.5 SP1 directly into your XP installation CD.
Fix: This occurs when the installer tries to phone home. You must modify the Group Policy or registry to force local source only.
Because Microsoft's official download pages now redirect to "Visual Studio 2022" or newer .NET versions, you must use official archival sources.
Do not download from random "DLL download" websites. They often inject malware into legacy runtimes. After installing
Then it will not run on Windows XP at all. You would need:
A final note for confused users: You may see modern apps asking for .NET 4.8 or 6.0. These will never work on XP SP2. The last .NET version for Windows XP SP2 is 3.5 SP1. .NET Framework 4.0 and above require XP Service Pack 3 (SP3) or Vista.
If you absolutely need .NET 4.x, you must first upgrade your OS to Windows XP Professional SP3 (which is a separate guide entirely).
The only safe offline installer for .NET on XP SP2 is from Microsoft’s official site (via the Wayback Machine or MSDN archives). A trustworthy modern mirror is MajorGeeks or FileHippo (for legacy software), provided the hash matches Microsoft’s original SHA-1. A final note for confused users: You may
Example correct SHA-1 for dotnetfx35.exe (full offline):
B57F6F1B7BA82B83ADE17B1B51C11C23D43BBEF7
Downloading .NET Framework 3.5 (the "3.1" you are looking for) as an offline installer for Windows XP SP2 is a rescue mission for legacy software. The web installers are dead; Microsoft’s TLS updates have left XP behind. By using the full 231 MB standalone executable (dotnetfx35.exe) with the command-line flags provided, you can bypass Microsoft’s modern certificate requirements and restore functionality to old CAD software, classic games (like EVE Online legacy clients or SimCity 4 mods), and industrial equipment managers.
Remember the golden rules:
Save this file now, because as time passes, even the archival mirrors risk disappearing. Your 2005-era hardware will thank you. Save this file now, because as time passes,
Disclaimer: Windows XP SP2 is no longer supported by Microsoft. This guide is for offline, isolated, or legacy systems that cannot be updated to SP3 or modern OSes due to hardware or software constraints. Ensure your network firewall protects these legacy machines from internet exposure.
Unfortunately, .NET Framework 3.1 does not exist. This is a common confusion between two different Microsoft technologies:
.NET Core 3.1 was released in 2019 and does not support Windows XP — its minimum supported OS is Windows 7 / Windows Server 2012 R2.