I got a new laptop and installed the Riot launcher, but League of Legends says .NET Framework 3.5, including versions 2.0 and 3.0, is required. When I let the launcher install it, Windows fails with "The parameter is incorrect" and error code 0x80070057. I also tried downloading the framework separately, but received the same error. The .NET 3.5 option appears to be turned off in Windows Features. What's the best way to repair or install it?
3 Answers
Yes, installing it separately is reasonable, but make sure you use Microsoft’s official .NET Framework 3.5 installer. If that installer produces the same error, the problem is probably with Windows rather than the game launcher, so repeatedly running the installer likely won’t help.
Try enabling it through Windows Features instead: open “Turn Windows features on or off,” check “.NET Framework 3.5 (includes .NET 2.0 and 3.0),” then restart. If Windows cannot enable it, repair the existing .NET installation and run Windows Update first. You can also open an administrator Command Prompt and run `DISM /Online /Enable-Feature /FeatureName:NetFx3 /All`.
That error can happen when Windows has damaged component files or cannot retrieve the required installation files. Run `DISM /Online /Cleanup-Image /RestoreHealth`, then run `sfc /scannow`, restart the laptop, and try enabling .NET 3.5 again. Also install any pending Windows updates before retrying.

I checked Windows Features and .NET 3.5 is currently unchecked. I’ll try enabling it with the administrator command instead, since the standalone installer gives me the same error.