Share via


Enable / Install .NET 3.5 on Azure Windows Server 2016 hangs and never complete.

Question

Friday, May 26, 2017 5:01 AM

Hi Team,

I am trying to enable .NET 3.5 feature on some Windows Servers 2016 I have in my Azure tenancy but it seems there is no way to get it to work. Tried from roles and features, tried with Powershell, tried with DISM on cmd prompt and same result. The process hangs at around 25% and never completes. intall-windowsfeature on Powershell gives me an OperationTimeout. Any idea? If I try on my Windows Server 2016 I have in house it all works and complete within few minutes.

I already tried to specify a source location for the sxs files and also the image.wim file from a copy of Windows Server 2016 I have but I have never received the error message complaining about sources missing.

All replies (12)

Saturday, May 27, 2017 1:05 PM

To clarify: Are you able install the same .net version in our on-premise Server 2016?

  • If both the Azure VM and on-perm 2016 build version are same or different?
  • Do you get any error message that installation failed or the installer just remains hung or installer is running in the Task manager?

Sunday, May 28, 2017 11:22 PM

Hi Sumanth

- I am able to install the same .net version on my on-premise Server 2016

- Azure VM is Server 2016 Enterprise provided by Microsoft, on-prem is Server 2016 Standard

- I don't get any error message and the installation does not fail. It just stays there and do nothing. I tested this on multiple Azure servers I have running and the result is the same.

Thanks


Saturday, June 10, 2017 3:04 PM

In this article, you will find an overview of Unable to install .NET Framework 3.5 on Windows Server 2016

This link will help you in installing .Net frame work 3.5 on Windows Server 2016.

Disclaimer: This response contains a reference to a third-party World Wide Web site. Microsoft is providing this information as a convenience to you. Microsoft does not control these sites and has not tested any software or information found on these sites; therefore, Microsoft cannot make any representations regarding the quality, safety, or suitability of any software or information found there.
There are inherent dangers in the use of any software found on the Internet, and Microsoft cautions you to make sure that you completely understand the risk before retrieving any software from the Internet.


Monday, January 22, 2018 6:04 PM | 5 votes

These commands worked for me:

DISM /Online /NoRestart /Enable-Feature /FeatureName:NetFx3ServerFeatures
DISM /Online /NoRestart /Enable-Feature /FeatureName:NetFx3


Tuesday, January 23, 2018 2:32 PM

Appreciate for sharing the steps which helped you, this would certainly benefit other community members.

Do click on "Mark as Answer" on the post that helps you, this can be beneficial to other community members.


Wednesday, January 24, 2018 4:14 AM

Thanks West Seattle Vern, It worked for me as well on a new VM in Azure.




Wednesday, June 6, 2018 3:32 AM

I think this is the sixth resolution with no results. I am not able to install .Net framework 3.5 on Azure VM Windows Server 2016. Any other idea?


Thursday, June 14, 2018 1:17 PM

@8Bitech, just to confirm, are you experiencing this issue on all the Azure VMs that you have provisioned or just this specific one? and, are you facing the same behavior as described by ‘PeoplecareIT’? If no, kindly do share any error message/error code that you may be receiving. 

I understand you have tried several suggestions to get the update installed, but still facing an issue, if you haven’t tried the suggestions outlined in this article -.NET Framework 3.5 installation error: 0x800F0906, 0x800F081F, 0x800F090do try the suggestions outlined and let us know the outcome -Note Installation of the Microsoft .Net framework may throw errors that are not listed in this article, but you might be able to try the following steps to fix those errors as well.

 

Just as a test, you could disable Firewall on the server, and then re-try the operation.
Note: It is not recommended to turnoff Firewall, enable the firewall immediately after the test.


Friday, September 14, 2018 7:27 PM

@Ajay I am also having this same problem.  Posted here also: https://social.msdn.microsoft.com/Forums/en-US/d1a0617b-1d3a-421b-abbf-0cdecc7ede3b/trying-to-install-net-framework-35-on-vm-windows-2016

My error message when using Add Roles and Features Wizard is:  One or several parent features are disabled so current feature can not be enabled.  Error: 0xc004000d


Monday, September 17, 2018 10:43 AM

@KumoJosh, I see that Micah has responded on the other thread, could you please try the suggestions outlined by him and the recommendation posted in this thread and post back the outcome there to avoid duplication on this old thread; we will follow-up further.


Thursday, September 20, 2018 12:27 AM

@Ajay, per my post in the other thread, for me the fix was to install all available windows updates on the machine, reboot, and then it was installed. 


Thursday, September 20, 2018 7:45 AM

@KumoJosh, Glad to know the issue is resolved. Thanks for the update.