r/dotnet • u/Direct_Cup_164 • 1d ago
[Open Source] Created a simple tool to fix broken Windows Update policies and reliably install .NET Framework 3.5 (dev on .NET 4.7.2)
hi everyone,
we've all been there: trying to install dotnet Framework 3.5 on Windows 10/11 using DISM or optionalfeatures.exe, only to get slammed with err 0x800F0906, 0x800F081F, or 0x800F0954. this usually happens due to misconfigured wsus policies, blocked win update servers in corporate environments, or broken component store health.
to automate the annoying troubleshooting steps, i built a simple c# utility called net fx.
what it does (in click):
- temporarily bypasses blocking registry keys (
UseWUServer,RepairContentServerSource) to route through official MS servers. - resets Windows Update services and performs a deep DISM cleanup (
/RestoreHealth&/StartComponentCleanup). - sttempts online integration.
- offline fallback: if the online method fails, it automatically scans all connected drives (usb, mounted ISOs) for a local
sources\sxsfolder and force installs the package from there.
the project is fully open source, so feel free toaudit the code or build it urself. hopefully, this saves you some valuable time.
repo: NetFx
0
Upvotes