Can't enable .NET Environment in Windows 10 1903

Anonymous
2019-04-10T07:18:57+00:00

Well, this is a showstopper for me. I'm in the Release Preview ring & installed 1903 (18362.30) yesterday . Update went fine. No issues experienced.

Got a Cumulative Update to install today (KB4495666). Installed it & rebooted. Build is now at 18362.53. .NET framework was disabled & 90% of my applications will no longer run! In "Control Panel/Programs and Features/Turn Windows Features on or off", ".NET Environment" is unchecked. If I check it & hit "OK" it take about 10 seconds & says "Windows completed the requested changes". The .NET Environment, however, is still unchecked when I go back to "Turn Windows Features on or off" & >NET applications still don't work.

I've uninstalled all of the updates installed today (KB4495666 & KB4493478), but .NET is still utterly broken. I've read that this was an issue prior to the release of 18362 to the Release Preview ring but was supposed to have been fixed. Looks like this MAJOR bug was reintroduced with the cumulative update?

Windows for home | Windows 10 | Performance and system failures

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

177 answers

Sort by: Newest
  1. Anonymous
    2019-08-27T00:41:27+00:00

    After reading every answer and fix, plus researching tech net as well. I finally got a solution that I should have done from the get go.  I did a full reformat and install with version 1809. I was able to then add the .NET framework 2.0 and 3.5 from control panel with no issue. 

    I spent many hours trying to fix it with all the cmd line prompts  the .NET fix tool and nothing worked. even did the powershell thing.

    I install windows with no internet connection and after it did a fresh install of 1809. I installed the .net frame work add in,  then I got brave and tried the 1903 update which did work as well . Seems you need to install the .NET frame work 2.0 feature prior too 1903 update .  This seemed to work I had 5 new machines with 1903 that would not let me install 2.0 or 3.5 framework 

    Do yourself a favor do a reformat and install a fresh windows 10 it works best.

    Was this answer helpful?

    2 people found this answer helpful.
    0 comments No comments
  2. Anonymous
    2019-07-28T01:23:30+00:00

    I will re-quote my previous directions, from an earlier reply above, which worked for me, except below I have replaced KB4495620 with KB4506991, which is a newer .NET update.  Please give the below steps a try (after where it says "To resolve the issue"). Hopefully it will work.

    ________________________________________________________________________________________

    https://developercommunity.visualstudio.com/comments/617759/view.html

    I can still replicate this issue on Windows 10 Version 1903, build 18362.175. The fix is not as straightforward as installing the latest Windows Updates.

    However, this can be fixed with some extra steps and still keep the device on Version 1903.

    To replicate the issue:

    DISM /Online /Disable-Feature /FeatureName:NetFx4-AdvSrvs /FeatureName:WCF-Services45 /FeatureName:WCF-TCP-PortSharing45 /FeatureName:NetFx3 /FeatureName:Microsoft-Windows-NetFx3-OC-Package /FeatureName:Microsoft-Windows-NetFx4-US-OC-Package /FeatureName:Microsoft-Windows-Client-EmbeddedExp-Package /FeatureName:Microsoft-Windows-NetFx3-WCF-OC-Package /FeatureName:Microsoft-Windows-NetFx4-WCF-US-OC-Package
    

    Run Optionalfeatures.exe to see the problem list of Optional Features.

    To resolve the issue:

    Uninstall KB4506991

    DISM /Online /Add-Capability /CapabilityName:NetFx3~~~~
    

    Install KB4506991 --- This cannot be reinstalled without first adding back the NetFx3~~~~ Capability, as it will indicate that the KB is not applicable.

    DISM /Online /Enable-Feature /All /FeatureName:Microsoft-Windows-NetFx3-OC-Package /FeatureName:Microsoft-Windows-NetFx4-US-OC-Package /FeatureName:Microsoft-Windows-Client-EmbeddedExp-Package /FeatureName:Microsoft-Windows-NetFx3-WCF-OC-Package /FeatureName:Microsoft-Windows-NetFx4-WCF-US-OC-Package
    
    
    
    
    DISM /Online /Enable-Feature /FeatureName:WCF-TCP-PortSharing45
    

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2019-07-28T01:00:22+00:00

    Don,

    Thanks for all of your help on this thread. I followed your suggestion in the previous post, and it's still not working for me.

    I have Windows 10 Pro, 1903, Build 18362.267.

    • Uninstalled KB4495620 successfully
    • Ran the DISM command with Windows ISO in a flash drive successfully
    • Installed KB4502584 successfully

    Tried running the DISM command and received an error 50 saying that Microsoft-Windows-FetFx3-OC-Package could not be enabled. Once I checked optionalfeatures.exe, I saw that the "abnormal" list was not fixed.

    I have the following updates on my PC:

    • KB4497932
    • KB4509096
    • KB4500109
    • KB4498523
    • KB4497727
    • KB4502584
    • KB4505903
    • KB4508433

    Also, I had reset my Windows 10 and updated Windows as soon as I installed it. I had the problem before and after, so no news here.

    Please let me know if you see anything different than your instruction here.

    Thank you.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2019-07-02T17:55:14+00:00

    I think the USB is probably fine, as you used it to install Windows.  E:\sources\sxs should have 4 files:

    F:\sources\sxs>dir /b

    Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~en-US~.cab

    Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~en-US~.cab

    microsoft-windows-internetexplorer-optional-package~31bf3856ad364e35~amd64~~.cab

    microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab

    You can check the status of the NetFx3~~~~ capability:

    DISM /Online /Get-CapabilityInfo /CapabilityName:NetFx3~~~~

    You can also try adding NetFx3 with the enable feature command, but this usually fails:

    DISM /Online /Enable-Feature /All /FeatureName:NetFx3 /Source:E:\Sources\sxs

    Another way is by adding the .cab files as packages:

    DISM /Online /Add-Package /PackagePath:E:\Sources\sxs

    Was this answer helpful?

    1 person found this answer helpful.
    0 comments No comments
  5. Anonymous
    2019-07-02T15:53:51+00:00

    Yes, I tried the command with the /Source parameter while the usb drive created by media creation tool is inserted.

    And yes, the drive has the letter E: :)

    The error message for the command "DISM /Online /Add-Capability /CapabilityName:NetFx3~~~~ /Source:E:\Sources\sxs" was something like "Could not find correct assembly" I think :/

    I am sure that this usb drive is the same I used a month ago. Should I create a new installation usb drive?

    Was this answer helpful?

    0 comments No comments