4

I am trying to instal .Net 3.5 framework on windows 10.

First of all I tried installer from https://www.microsoft.com Unfortunatelly it asked me to install .Net before I will install .Net

Then I tried to enable it via Control Panel, but it did not work.

Finally I tried command:

Dism /online /enable-feature /featurename:NetFx3 /All /Source:X:\sources\sxs /LimitAccess

Where X is source drive for my Windows disc. On my terminal I can see:

Deployment Image Servicing and Management
Version: XXX
Image Version: XXX

But then nothing, "Enabling Feature(s)" does not appear.

What is going on?

When I check the logs, each time I try to run this command, it DISM.exe stops doing antyhing on:

DISM   DISM Package Manager: PID=12232 TID=11768 CBS session options=0x20100! - CDISMPackageManager::Internal_Finalize
Martin
  • 2,326
  • 7
  • 37
  • 51
Thamiar
  • 141
  • 1
  • 3

3 Answers3

2

I had this hanging/freezing behavior when trying to install the .net framework 3.5 using DISM (the windows features UI wasnt working).

For me it was because I had left the windows features UI open. Once I closed it I could run

DISM /Online /Enable-Feature /FeatureName:NetFx3 /Source:d:\sources\sxs /All /LimitAccess 

(d: was where I mounted the ISO I created from the Windows Media Creation tool). The command completed in <10 seconds.

0

I searched for a long time and only such a command helped me:

dism /online /Add-Package /PackagePath:C:\sxs\ /ignorecheck

in C:\sxs\ placed cab files

-1

I encountered this error while using DISM to install some optional features. The reason it was stuck for me were pending installations of "French (France) typing" and "French (France) optical character recognition" optional features. After stopping them DISM successfully installed features.

EDIT: To stop the pending installation I opened Task Scheduler and disabled Microsoft > Windows > LanguageComponentsInstaller > Installation as stated by KMSYP in this post "https://answers.microsoft.com/en-us/windows/forum/windows_10-update-winpc/optional-language-features-fail-to-install/cd2494a9-2311-4e28-99a0-7de390826e45". After this a restart stopped the installations and they have not started yet. I could not manually install .cab files because my problem was on a Windows Server 2016 Version 1607 machine and I haven't found any language packs for it(Windows 10 Version 1607 language packs are not compatible).