Halloween DealsAmazon USHalloween week deals: useful picks before month-endAmazon US: current deals, useful picks and tech finds.Check DealsSlow PC?RecommendedPC slow today? Run a repair scan before it gets worseResolve common Windows issues and optimize system performance.Scan NowHalloween DealsAmazon USOctober picks are moving - compare before checkoutAmazon US: current deals, useful picks and tech finds.See Picks×
FREEDOM251

Freedom251 › Blog › .NET Framework

How to Fix .NET Framework Error 0x80070422 (and Access Denied 0x80070005)

By Freedom251 Team · · 7 min read

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

The code in the title is missing a hexadecimal digit. For a .NET Framework installation failure, first copy the complete code from the dialog or log. If it is 0x80070422, a required Windows service is disabled or not running; on Windows Update operations, restore Windows Update and try the installation again. If it is 0x80070005, it is a separate E_ACCESSDENIED permissions or servicing-access error and needs a different investigation.

Start by identifying the exact error

Do not choose a repair based on the shortened string 0X8007042. Hexadecimal HRESULTs are exact identifiers, and dropping one digit can send you to the wrong fix. Copy every character, including the leading 0x, from the installer dialog, Windows Update history, Event Viewer entry, or the relevant installation log.

As an Amazon Associate I earn from qualifying purchases.

Code Meaning Correct starting point
0x80070422 ERROR_SERVICE_DISABLED: a required service is disabled or not running. Check the Windows Update service, then enable .NET Framework 3.5.
0x80070005 E_ACCESSDENIED: general access denied. Use an elevated administrator account and investigate policy, permissions, security software, and servicing access.

These codes are not interchangeable. A disabled-service repair will not, by itself, resolve an access-denied HRESULT.

Free tools Windows power users keep installed

One-click scans. No signup required.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Check which Windows release you are running

The installation route depends on the Windows release. Press Windows key + R, enter winver, and press Enter, or open Settings > System > About. Record the edition, version, and OS build before selecting a command.

#1 Best Overall
Ralix Reinstall DVD For Windows 10 All Versions 32/64 bit. Recover, Restore, Repair Boot Disc, and Install to Factory Default will Fix PC Easy!
  • Repair, Recover, Restore, and Reinstall any version of Windows. Professional, Home Premium, Ultimate, and Basic
  • Disc will work on any type of computer (make or model). Some examples include Dell, HP, Samsung, Acer, Sony, and all others. Creates a new copy of Windows! DOES NOT INCLUDE product key
  • Windows not starting up? NT Loader missing? Repair Windows Boot Manager (BOOTMGR), NTLDR, and so much more with this DVD
  • Step by Step instructions on how to fix Windows 10 issues. Whether it be broken, viruses, running slow, or corrupted our disc will serve you well
  • Please remember that this DVD does not come with a KEY CODE. You will need to obtain a Windows Key Code in order to use the reinstall option
Windows release How .NET Framework 3.5 is supplied
Windows 10 and Windows 11 through version 25H2 .NET Framework 3.5 is an optional Windows component that can be enabled in Windows Features or with DISM.
Windows 11 version 26H1, build 28000, and later .NET Framework 3.5 is supplied only as a standalone installer; it cannot be enabled through the optional-component path.

The build check prevents you from applying a command intended for an earlier release to Windows 11 26H1 or newer.

Fix 0x80070422 by restoring Windows Update

For 0x80070422, Microsoft identifies a disabled service as the condition to correct and specifically directs Windows Update users to verify that Windows Update is running.

  1. Sign in with an account that can change services. If the computer is managed by an organization, service changes may be controlled by policy.
  2. Open the Start menu, type Services, and open the Services desktop app.
  3. Find Windows Update in the list. Double-click it to open its properties.
  4. In Startup type, choose a mode that is not Disabled. Do not leave the service disabled while attempting the .NET installation.
  5. Select Apply, then select Start. If it is already running, choose Restart when available.
  6. Select OK, close Services, and retry the operation that produced the error.

If the service immediately returns to Disabled, or the controls are unavailable, a local or organizational policy is overriding the setting. Note that behavior and continue with the policy and access investigation described for 0x80070005 rather than repeatedly changing the same setting.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Enable .NET Framework 3.5 in Windows Features

Use this method on Windows 10 and Windows 11 through 25H2 after the Windows Update service is available. .NET Framework 3.5 includes .NET 2.0 and 3.0, so older applications that depend on those components can use the feature.

Rank #2
Ralix Windows Emergency Boot Disk - For Windows 98, 2000, XP, Vista, 7, 10 PC Repair DVD All in One Tool (Latest Version)
  • Emergency Boot Disk for Windows 98, 2000, XP, Vista, 7, and 10. It has never ben so easy to repair a hard drive or recover lost files
  • Plug and Play type CD/DVD - Just boot up the CD and then follow the onscreen instructions for ease of use
  • Boots up any PC or Laptop - Dell, HP, Samsung, Acer, Sony, and all others
  • Virus and Malware Removal made easy for you
  • This is your one stop shop for PC Repair of any need!
  1. Open Start and search for Turn Windows features on or off.
  2. Open the matching Control Panel result.
  3. Select the checkbox for .NET Framework 3.5 (includes .NET 2.0 and 3.0).
  4. Select OK. Windows may download the required payload and configure the component.
  5. Restart if Windows asks you to restart, then launch the application or installer again.

If the checkbox is already selected but the application still reports that the framework is missing, clear the checkbox, select OK, restart if requested, and then repeat the procedure to enable it. This makes Windows reprocess the component instead of assuming the previous registration is complete.

Use DISM when the graphical install fails

Deployment Image Servicing and Management (DISM) can enable the feature from an elevated command prompt. Use the online form when Windows Update is allowed to supply the payload.

  1. Open Start, type Command Prompt, right-click it, and choose Run as administrator.
  2. Run:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
  1. Wait for DISM to finish. Do not close the window while it is applying the feature.
  2. Restart Windows if requested, then retry the .NET-dependent installation.

/Online targets the currently running Windows installation, /Enable-Feature turns on a Windows component, /FeatureName:NetFx3 selects .NET Framework 3.5, and /All includes required parent features.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Install from matching media when the payload cannot download

When Windows Update cannot provide the component, use installation media from the same Windows version as the installed system. The media can be a mounted ISO or a Windows installation USB. A source from another release can leave the installation unsupported or unserviceable even if DISM appears to complete.

Rank #3
Ralix Reinstall DVD For Windows 7 All Versions 32/64 bit. Recover, Restore, Repair Boot Disc, and Install to Factory Default will Fix PC Easy!
  • Repair, Recover, Restore, and Reinstall any version of Windows. Professional, Home Premium, Ultimate, and Basic
  • Disc will work on any type of computer (make or model). Some examples include Dell, HP, Samsung, Acer, Sony, and all others. Creates a new copy of Windows DOES NOT INCLUDE product key
  • Windows not starting up? NT Loader missing? Repair Windows Boot Manager (BOOTMGR), NTLDR, and so much more with this DVD
  • Step by Step instructions on how to fix Windows 7 issues. Whether it be broken, viruses, running slow, or corrupted our disc will serve you well
  • Please remember that this DVD does not come with a KEY CODE. You will need to obtain a Windows Key Code in order to use the reinstall option
  1. Confirm the media matches the installed Windows version, edition family, and build as closely as the available installation media permits.
  2. Mount the ISO or insert the USB and note its drive letter. In the example below, the media is drive D:.
  3. Open Command Prompt with Run as administrator.
  4. Run the command, replacing D: with the actual media drive:
DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:D:sourcessxs
  1. Wait for the completion message, restart if requested, and test the application again.

/Source points DISM to the component files under sourcessxs. /LimitAccess tells DISM not to contact Windows Update, so it is appropriate when the online payload is blocked or unavailable. Do not point it at an arbitrary ISO, a different release, or a copied folder whose files do not belong to the installed Windows version.

Use the follow-on code to choose the next repair

If DISM returns a second code, use it as a diagnostic clue rather than trying unrelated registry cleaners.

DISM code What Microsoft maps it to Next direction
0x800F0906 Download failure. Check whether the machine can obtain the payload through its configured Windows Update path, or use matching offline media.
0x800F081F Missing source files. Verify that sourcessxs exists on the media and that the source belongs to the installed Windows version.
0x800F0907 Policy or network restriction. Review Windows Update or organizational policy and the network path that supplies optional components; use an approved matching source if policy permits.

The three codes indicate download, source, or policy conditions. They do not establish that the Windows registry is damaged, and deleting registry entries can create a separate servicing problem.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Handle 0x80070005 access denied separately

If the complete code is 0x80070005, Microsoft defines it as “E_ACCESSDENIED | General access denied error.” The issue is access to a file, registry location, policy-controlled operation, or servicing resource, not the disabled-service condition represented by 0x80070422.

Rank #4
Ralix Reinstall DVD Compatible with Windows 11 All Versions 64 bit. Recover, Restore, Repair Boot Disc, and Install to Factory Default will Fix PC Easy!
  • Repair, Recover, and Reinstall: Easily repair, recover, restore, and reinstall Windows with our comprehensive DVD. Compatible with Windows 11 Home, Professional, Ultimate, and Basic editions. Perfect for addressing common issues like slow performance, viruses, or corrupted files.
  • Universal Compatibility: This DVD works seamlessly with all types of computers, including laptops with Windows 11, PCs, tablets, and mini PCs running Windows 11. It supports popular brands, as well as custom-built systems.
  • Restore and Repair Critical Boot Issues: Fix startup problems, including missing NT Loader or a broken Windows Boot Manager (BOOTMGR). Use this DVD to address issues with Windows boot discs, repair discs, and restore discs, ensuring your system gets back to optimal performance. Creates a new copy of Windows! DOES NOT INCLUDE product key.
  • Step-by-Step Windows 11 User Guide: Includes clear instructions for resolving common issues with Microsoft Windows 11, such as viruses, performance slowdowns, and file corruption. Ideal for beginners and advanced users alike, this DVD is your ultimate Windows 11 software solution.
  • Important Note About Key Codes: This DVD does not include a Windows Key Code. To use the reinstall Windows option, you will need to provide a valid key. This ensures your system remains fully licensed and operational.
  1. Sign in with an administrator account, or have an administrator perform the installation. Reopen Command Prompt with Run as administrator before using DISM.
  2. Record where the failure occurs: Windows Features, a standalone installer, Windows Update, or a DISM command. The location identifies which permissions or servicing path needs examination.
  3. Review Windows Update policy and network restrictions. On a managed computer, an administrator may need to change the policy or provide an approved installation source.
  4. Check whether security software or another protection policy is blocking the installer or servicing process. Follow the product’s documented administrative procedure rather than deleting protection or leaving the computer unprotected.
  5. Investigate permissions on the file or registry location named by the installer or servicing log. Avoid granting broad permissions indiscriminately; change only the denied resource and only when you understand why access is required.
  6. Inspect the relevant servicing logs for the denied path, package, or policy result. Use that exact detail when asking an administrator or support technician for help.
  7. After the access condition is corrected, retry Windows Features or the appropriate DISM command for your Windows release.

Do not substitute the Windows Update service procedure for this branch unless the full code also shows a disabled-service error. Access denied can coexist with a service problem, but the HRESULT itself does not prove that Windows Update is disabled.

Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Support on Ko-Fi

Windows 11 26H1 and later: use the standalone installer

Windows 11 version 26H1, build 28000, changes the component model. Microsoft’s current guidance says .NET Framework 3.5 is available only as a standalone installer on that release and later. The .NET Framework 3.5 (includes .NET 2.0 and 3.0) checkbox and the NetFx3 optional-feature command are therefore not the installation route for those builds.

  1. Confirm the build in Settings > System > About or with winver.
  2. Obtain the standalone .NET Framework 3.5 installer intended for that Windows 11 release from the approved Microsoft distribution channel used by your organization or installation workflow.
  3. Run it with administrator rights and follow its prompts.
  4. If it reports access denied, return to the 0x80070005 branch. If it reports a service or download problem, preserve the complete code before changing settings.

Do not force the older optional-component commands onto build 28000 or later; the release exception is the reason the procedure differs.

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recovery checklist before you retry

  • Write down the complete HRESULT, not the shortened title text.
  • Record the Windows edition, version, and build.
  • For 0x80070422, confirm Windows Update is not Disabled and can be started or restarted.
  • For Windows 10 or Windows 11 through 25H2, try Windows Features before DISM.
  • Run DISM from an elevated Command Prompt.
  • Use /LimitAccess only with a verified matching sourcessxs source.
  • Map 0x800F0906, 0x800F081F, or 0x800F0907 to download, source, or policy troubleshooting.
  • For 0x80070005, investigate administrator rights, policy, permissions, security software, and servicing logs instead of treating it as a disabled-service code.
  • For Windows 11 build 28000 and later, use the standalone installer rather than Windows Features.

What a successful repair looks like

On releases that use the optional component, Windows Features should retain the .NET Framework 3.5 selection after configuration, or DISM should finish without an error. The application that originally required the framework should then launch or complete its installer. If the same HRESULT returns, capture the new full message and any follow-on code; repeating an identical command without resolving the identified service, source, policy, or permission condition will not change the result.

As an optional shortcut after the manual checks, Outbyte PC Repair can address more than 100 common Windows issues where possible, including broken system elements and shared DLL problems, and includes settings, cleanup, privacy, vulnerability checks, a real-time boost, file shredding, and an app-crash log. It runs on Windows 11, 10, 8, and 7; its free trial lasts at least two days before a paid subscription. It complements antivirus software rather than replacing it, and results vary—no tool repairs every crash.

Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

.NET FrameworkDISMWindows 11Windows troubleshootingWindows Update

Leave a Reply

Your email address will not be published. Required fields are marked *

Special offer. See more information about Outbyte and uninstall instructions. Please review EULA and Privacy policy.

Recommended PC Tool
Recommended PC Tool
Windows Errors? Fix Them Before They SpreadFree repair scan
Crashes, No Sound, or Screen Glitches?Free driver scan

Two free Windows tools

One Free Minute Could Fix That PC

Before you go - each of these free tools takes about a minute and tackles what quietly slows a Windows PC down.

Special offer. View Outbyte info, uninstall instructions, EULA, and Privacy Policy.