Forum Discussion

Kiran Hegde's avatar
Kiran Hegde
Copper Contributor
Jul 24, 2018

Installation of .net Framework 3.5 on build 17713 fails

I am using the following commands to install .Net Fw 3.5 on Windows server 2019 Insider preview build 17713

 

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

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

 

I am unable to successfully execute the second command. Please find attached the logs from C:\windows\logs\cbs and C:\windows\logs\dism

 

Could someone please tell me whats wrong here?

 

Regards,

Kiran Hegde

  • Kiran, you should use the /source:<drive>:\sources\sxs as Ante points out.  If you don't use this, DISM will check WU, which does not have the package for a pre-release build.

  • Ante Bakovic's avatar
    Ante Bakovic
    Copper Contributor

    Hello,

     

    You should try with DISM, in my lab worked.

     

    DISM /Online /NoRestart /Enable-Feature /FeatureName:NetFx3 /Source:D:\sources\sxs

    DISM /Online /NoRestart /Enable-Feature /FeatureName:NetFx3ServerFeatures /Source:D:\sources\sxs

     

     

    • Joseph Young's avatar
      Joseph Young
      Copper Contributor
      The installation failed using DISM, here is the error messages from the dism.log
      2018-08-18 16:57:17, Error DISM DISM Package Manager: PID=5404 TID=4144 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0950)
      2018-08-18 16:57:17, Error DISM DISM Package Manager: PID=5404 TID=4144 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x800f0950)
      2018-08-18 16:57:17, Error DISM DISM Package Manager: PID=5404 TID=4144 Failed ProcessChanges. - CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x800f0950)
      2018-08-18 16:57:17, Error DISM DISM Package Manager: PID=5404 TID=4144 Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0950)
      2018-08-18 16:57:17, Info DISM DISM Package Manager: PID=5404 TID=4144 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
      2018-08-18 16:57:17, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800F0950
  • Kiran, you should use the /source:<drive>:\sources\sxs as Ante points out.  If you don't use this, DISM will check WU, which does not have the package for a pre-release build.

    • Kiran Hegde's avatar
      Kiran Hegde
      Copper Contributor

      Hello,

      Where will i get the contents of the sxs directory from?  I am using an automated procedure to setup my Operating system environments. This involves absolutely no manual intervention whatsoever.

      In a case like this, how can i ensure that the sxs directory is present?

       

      Shoudn't this be available on WU? It works absolutely fine on W2k16 but not here.

       

      Regards,

      Kiran Hegde

      • Brentfor's avatar
        Brentfor
        Icon for Microsoft rankMicrosoft

        The sxs directory is on the OS iso media.  So, you would need to have that shared on a network share or available locally on the system that is installing .Net.  Once the OS is released officially, this will be on WU.

      • Reg8667's avatar
        Reg8667
        Copper Contributor
        DISM worked for me. I had to add /all after /enable-feature.
  • I used DISM /Online /NoRestart /Enable-Feature /all /FeatureName:NetFx3 /Source:D:\sources\sxs and worked.

    /all helps to install all required features

Resources