Can't enable or install .NET Framework 3.5 in Windows 8.1 PRO 64-bit

Anonymous
2014-02-08T14:22:54+00:00

I continually receive the message in a dialogue that

"Windows couldn't complete the requested changes.

The system cannot find the file specified.

Error code: 0x80070002"

I have not been able to find my way around it.  Running on a 4770K system with fresh install, only user, and with Admin privileges, and usually running Command and many other programs as Administrator.

Can't turn 3.5 on through Control Panel "Turn Windows features on or off", although .NET Framework 4.5 Advanced Services IS enabled.

No success either, using installers provided with programs that require that version of .NET.  As they do require it, I am hoping to get this resolved.

No success with DISM method of scanhealth & restorehealth, although these run OK.

No success with DISM method to install from distribuion CD, mounted ISO, or folder Sources\sxs folder copied to hard drive (including using /LimitAccess switch).

I haven't been able to figure out from looking at the DISM and CBS logs what might be missing.

No success changing server or path in Administrative Templates, etc. regarding Windows Update, for installing components.

No success from .NET full download or stub from Microsoft website.

Microsoft's Windows Update fix-it tool doesn't come up with a solution, either, or point to the culprit with any useful detail.

I've tried to be reasonably methodical in working this out, but I still don't seem to be getting anywhere.

ANY SUGGESTIONS, PLEASE?

<Merged Duplicate (2) Threads>

Windows for home | Previous Windows versions | Apps

Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments
Answer accepted by question author
Anonymous
2017-04-28T11:28:29+00:00

Hi everyone,

I solved the problem .Just copy  the single  file from sxs folder of windows 10 dvd or iso to your local drive.

Extract this file using winrar.

Now run DISM command wih administrator privilege  with extracted folder as a source path

Ex.

dism / online /Enable-Feature /featurename:NetFx3 /All /Source:D:Sources\sxs

Was this answer helpful?

30+ people found this answer helpful.
0 comments No comments

85 additional answers

Sort by: Most helpful
  1. Anonymous
    2014-02-24T20:19:44+00:00

    Hi,

    As strange as it may seem, one person reported that after UNCHECKING .Net 4.5 and rebooting, he was able to turn on .Net 3.5... Then turned .Net 4.5 back on...

    I have no way to test this since I didn't have a problem with .Net 3.5...

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2014-02-24T17:33:06+00:00

    Hi,

    Did you use .NetFramework Removal Tool - (many have success using this)

    http://blogs.msdn.com/b/astebner/archive/2005/04/08/406671.aspx

    Windows Update Error "0x80070002" or "0x80070003"

    http://support.microsoft.com/kb/910336/en-us

    1. Run System File Checker

    Right click on Start > Select Command Prompt (Admin)

    Type sfc /scannow

    Press Enter

    1. Use the System File Checker tool to repair missing or corrupted system files

    http://support.microsoft.com/kb/929833/en-us

    1. Check the instructions mentioned in link below and confirm if you followed this procedure to uninstall and re-install .NET Framework.

    http://support.microsoft.com/kb/976982

    NetFramework is installed by default.  You enable it through Control Panel > Uninstall Programs > Turn Windows Features On or Off.  (includes NetFramework 3.0, 2.0)

    Feature names are case sensitive if you are servicing a Windows image other than Windows 8.

    See GetFeatures

    http://technet.microsoft.com/en-us/library/hh825265.aspx

    I'd also suggest posting to TechNet IT Pro forum

    http://social.technet.microsoft.com/Forums/windows/en-US/home?category=w8itpro

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2014-02-24T16:44:30+00:00

    Updating my request to see if anyone can explain a portion of my DISM log.  No success with everything already attempted in the following thread, but here it is for review.

    http://answers.microsoft.com/en-us/windows/forum/windows8\_1-system/cant-enable-or-install-net-framework-35-in-windows/2f221b25-8d17-421f-8c37-1fed61649b4f

    I get 99.8% of the way through for any method to enable, including after repairs of any corrupt files, restorehealth, download of \SXS directory files, etc.  Have used options for WSUS, WU group policy, DVD from .iso, made sure I have all permissions, running as Administrator.  Of course, Control Panel enable and installs from apps needing 3.5 fail as well.  BTW, fresh install was from a Windows 8.1 Pro DVD, NOT as an update or from a Win 8 PRO disc.

    Always fails with 0x80070002, even when Windows Update downloads the files.

    Running Command Prompt as Administrator, with \SXS files moved to D:\DotNet

    dism.exe /online /enable-feature /featurename:NetFX3 /all /limitaccess /Source:D:\DotNet

    My DISM log keeps failing here:

    2014-02-24 08:06:45, Info                  DISM   DISM Package Manager: PID=4896 TID=2680 Processing the top level command token(enable-feature). - CPackageManagerCLIHandler::Private_ValidateCmdLine

    2014-02-24 08:06:45, Info                  DISM   DISM Package Manager: PID=4896 TID=2680 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine

    2014-02-24 08:06:45, Info                  DISM   DISM Package Manager: PID=4896 TID=2680 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine

    2014-02-24 08:06:45, Info                  DISM   DISM Package Manager: PID=4896 TID=2680 Encountered the option "featurename" with value "NetFx3" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine

    2014-02-24 08:06:45, Info                  DISM   DISM Package Manager: PID=4896 TID=2680 Encountered an unknown option "featurename" with value "NetFx3" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine

    2014-02-24 08:06:45, Info                  DISM   DISM Package Manager: PID=4896 TID=2680 Encountered the option "source" with value "D:\DotNet" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine

    2014-02-24 08:06:45, Info                  DISM   DISM Package Manager: PID=4896 TID=2680 Encountered an unknown option "source" with value "D:\DotNet" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine

    2014-02-24 08:06:45, Info                  DISM   DISM Package Manager: PID=4896 TID=2680 Initiating Changes on Package with values: 5, 7 - CDISMPackage::Internal_ChangePackageState

    2014-02-24 08:06:45, Info                  DISM   DISM Package Manager: PID=4896 TID=2680 CBS session options=0x20100! - CDISMPackageManager::Internal_Finalize

    2014-02-24 08:06:46, Info                  DISM   DISM Package Manager: PID=4896 TID=3636  Error in operation: (null) (CBS HRESULT=0x80070002) - CCbsConUIHandler::Error

    2014-02-24 08:06:46, Error                 DISM   DISM Package Manager: PID=4896 TID=2680 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x80070002)

    2014-02-24 08:06:46, Error                 DISM   DISM Package Manager: PID=4896 TID=2680 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x80070002)

    2014-02-24 08:06:46, Error                 DISM   DISM Package Manager: PID=4896 TID=2680 Failed ProcessChanges. - CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x80070002)

    2014-02-24 08:06:46, Error                 DISM   DISM Package Manager: PID=4896 TID=2680 Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070002)

    So, what does it mean Encountered an unknown option "featurename"?  The option seems to be what is required on the DISM command line, and DISM help indicates that it is valid syntax.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2014-02-13T15:01:00+00:00

    Hi,

    That would at least answer part of the question without losing your installed stuff...

    It seems as though you've already all of the fixes that I'm aware of, but them that doesn't mean there's not more that I'm not aware of either...

    I don't remember if you have tried the sfc /scannow from a .CMD (Admin)

    Was this answer helpful?

    0 comments No comments