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
    2020-03-18T18:35:46+00:00

    I finally got around to attempt a fix once again, completely forgot I even posted. As per my previous post, here's where things stand:

    • C:\Windows\system32>ver                                                                                                                                                                                                                         Microsoft Windows [Version 10.0.18362.175]
    • I uninstalled KB4495620 previously, as I can't find it when I look for it now
    • Of the 2 installs, I had to use the second command given later in this thread:

    F:\sources\sxs>dir/w                                                                                                      Volume Serial Number is D65D-2B2C                                                                                                                                                                                                              Directory of F:\sources\sxs                                                                                                                                                                                                                    [.]                                                                                                                     [..]                                                                                                                    Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~en-US~.cab                                   microsoft-windows-internetexplorer-optional-package~31bf3856ad364e35~amd64~~.cab                                        Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~en-US~.cab                                             microsoft-windows-netfx3-ondemand-package~31bf3856ad364e35~amd64~~.cab                                                                 4 File(s)     73,125,945 bytes                                                                                          2 Dir(s)  30,358,962,176 bytes free                                                                                                                                                                                              F:\sources\sxs>c:                                                                                                                                                                                                                               C:\Windows\System32>DISM /Online /Add-Package /PackagePath:F:\Sources\sxs                                                                                                                                                                       Deployment Image Servicing and Management tool                                                                          Version: 10.0.18362.1                                                                                                                                                                                                                           Image Version: 10.0.18362.175                                                                                                                                                                                                                   Processing 1 of 4 - Adding package Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd64~en-US~11.0.18362.1                                                                                                                [==========================100.0%==========================]                                                            Processing 2 of 4 - Adding package Microsoft-Windows-InternetExplorer-Optional-Package~31bf3856ad364e35~amd6411.0.18362.1                                                                                                                     [==========================100.0%==========================]                                                            Processing 3 of 4 - Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd64~en-US~10.0.18362.1  [==========================100.0%==========================]                                                            Processing 4 of 4 - Adding package Microsoft-Windows-NetFx3-OnDemand-Package~31bf3856ad364e35~amd6410.0.18362.1       [==========================100.0%==========================]                                                            The operation completed successfully.                                                                                                                                                                                                           C:\Windows\System32>DISM /Online /Get-CapabilityInfo /CapabilityName:NetFx3~~~~                                                                                                                                                                 Deployment Image Servicing and Management tool                                                                          Version: 10.0.18362.1                                                                                                                                                                                                                           Image Version: 10.0.18362.175                                                                                                                                                                                                                   Capability Identity : NetFX3~~~~                                                                                        Name : NetFX3                                                                                                           State : Installed                                                                                                       Display Name : .NET Framework 3.5 (includes .NET 2.0 and 3.0)                                                           Description : .NET Framework 3.5 (includes .NET 2.0 and 3.0)                                                            Download Size : 72.70 MB                                                                                                Install Size : 495.77 MB                                                                                                                                                                                                                        The operation completed successfully.

    Before running, I checked the version and the state reported 'superceded'. After running the command, I was able to install KB4495620 (did not work when 'superceded'). I checked the features list but it still looks broken. Maybe I need a reboot? Also, strangely, I noticed I'm still running the same build (18362.175) almost a year later. I'll update later today, whether or not the .NET fix works.

    In response to A. User: Here are my Bug Origination steps:

    1. Grabbed install ISO from windows, put on recovery usb drive
    2. Fresh install Win10 pro on brand new WD Blue 1.5 TB SSD May or June 2019
    3. Installed win version 1903, 18362.175
    4. Upon attempts to install apps that rely on .NET capability - actually fine, was able to play some games from Epic Games launcher
    5. A few days later, everything broke. Attempts to reinstall apps showed the .NET compatibility failure
    6. Eventually got to this site, discovered I have the same broken 'optional features' list where I can't enable .NET versions
    7. Tried running the install/run DISM commands, didn't work
    8. Uninstalled KB4495620

    Was this answer helpful?

    0 comments No comments
  2. Anonymous
    2020-02-23T15:05:17+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

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

    Deployment Image Servicing and Management tool

    Version: 10.0.19035.1

    Image Version: 10.0.19035.1

    Capability Identity : NetFX3~~~~

    Name : NetFX3

    State : Installed

    Display Name : .NET Framework 3.5 (includes .NET 2.0 and 3.0)

    Description : .NET Framework 3.5 (includes .NET 2.0 and 3.0)

    Download Size : 72.79 MB

    Install Size : 496.57 MB

    The operation completed successfully. !!!!!!!!!!!!!!

    Was this answer helpful?

    0 comments No comments
  3. Anonymous
    2020-01-07T18:49:02+00:00

    I spent a lot of time working through this with earlier builds, which is documented throughout this long thread, along with some approaches that worked for others in some cases. I have never seen the error happen on its own myself, but I was able to replicate the symptoms by completely uninstalling all of these using PowerShell. The end result is the same abnormal list in the OptionalFeatures.exe list.

    What you are seeing with missing .NET packages is common when this state is encountered. The problem appears to be that there are parent features to these .NET packages, which are not auto-installed by the DISM commands. I was at one point thinking that uninstalling the latest .NET Cumulative Update prior to doing the commands to install NetFx3 and the others would help, but when I last tested this, I was not able to do that. The fix -- installing NetFx3~~~~ Capability and then the others, still seemed to work. I did see some errors, but enough of the long command worked that it enabled the rest to be installed using the normal Control Panel Inerface (OptionalFeatures.exe).

    You could try uninstalling the NetFx3~~~~ Capability and then reinstalling again. See if you can then install the latest .NET CU. Documentation that I read indicated that installing as a Capability, rather than using the /Add-Package DISM commands was the best way to do this. To uninstall NetFx3~~~~ try:

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

    For some, what worked was to upgrade to a recent Windows Insider build of Windows 10. To try that, you could join a device to the Windows Insider Program and join the Slow Ring to get build 19041. If you are not on Insider builds already, you will be running pre-release builds for Windows 10 Version 2004, due this Spring, so that has some associated risks.

    Was this answer helpful?

    0 comments No comments
  4. Anonymous
    2020-01-07T16:43:59+00:00

    So the first command worked:

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

    The longer dism command you posted did not work.


    When I do: DISM /Online /Get-Capabilities /Format:Table | Sort

    I show NetFx3~~~~ as installed.  I then tried the DISM commands and I still get Error 50.  

    What I notice when I do a:

    DISM /Online /Get-Features /Format:Table | Sort

    There is no NetFx3 or NetFx4-AdvSrvs even listed in the table.  These are just completely gone.  I have a feeling this is what's preventing the dism commands working as the log file for dism states:

    DISM Package Manager: PID=9468 TID=12804 Parent features must be enabled before this feature can be enabled. "Microsoft-Windows-NetFx4-WCF-US-OC-Package" - CPackageManagerCLIHandler::Private_ProcessFeatureChange

    Was this answer helpful?

    0 comments No comments
  5. Anonymous
    2020-01-07T00:06:18+00:00

    I have not tried those but i will in the morning.  Im running 1903 but i upgraded to 1909 in hopes of it restoring the functionality but it did not.

    Was this answer helpful?

    0 comments No comments