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: Newest
  1. 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
  2. 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
  3. Anonymous
    2014-02-13T05:03:23+00:00

    Still stuck for an answer.

    I'd rather not have to try a re-install of Win 8.1, as there doesn't seem any way to keep all the programs I've loaded and configured since.  It's also installed on an SSD, though I could try cloning to a hard disk and testing out on the cloned disk.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2014-02-11T14:59:59+00:00

    Hi,

    Taking Ownership of the C;\ drive covers about everything... Did you also check subfolders and files ?

    A Local Account seems to work better than the Microsoft...

    There always will be a few system files that you are Denied Access to change Owner...

    There are also some deeper down folders that for some reason don't change, even though there was no error shown... One example might be C:\Windows\System32...

    This can usually be corrected by simply doing the Take Ownership process on the troublesome folder...

    Kind of a pain, but I've never needed access to virtually every system file\folder on the machine anyway.

    I don't know enough about your log to make much sense of it...

    I do know that others have had this issue, and were unable to activate .Net 3.5 until after reinstalling Win 8\8.1...

    I don't actually know if the problem is with Windows, or a 3rd party program that needs .Net 3.5...

    Some of the threads I have been involved in suggest that sometimes a 3rd party program that is dependent on .Net 3.5, that tries to use or install it prior to it being activated, somehow screws up the process..

    BTW... I can't find the info at the moment, but it seems to me that I read somewhere about changing the OnLine part of the command to OffLine...

    Was this answer helpful?

    0 comments No comments