ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Unable to install .Net 3.5 on a new Windows 10 install

    Scheduled Pinned Locked Moved IT Discussion
    13 Posts 7 Posters 6.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • JaredBuschJ
      JaredBusch
      last edited by JaredBusch

      I have a clean Windows 10 rev 1511 install from the upgrade ISO
      Did Windows Updates
      Installed Office 2013
      Joined to Domain

      Now I want to install the .Net 3.5/2.0 framework for an application that requires it.

      Typically you do this from here. Windows simply goes and downloads it and you move on.
      0_1464389070398_upload-95124ae0-6d97-4725-bdb1-88905849e507

      When that fails (typically due to WSUS), you can install with DISM and your install media.

      Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\sxs /LimitAccess
      

      My media is in D:\x64\sources\sxs
      0_1464390095866_upload-17ed96a7-f70c-45bc-9986-c0ada34deff5

      But I get a fail even with local media (tried 3 different ISO files).

      2016-05-27 15:54:37, Info                  DISM   DISM Provider Store: PID=624 TID=3888 Getting Provider DISM Package Manager - CDISMProviderStore::GetProvider
      2016-05-27 15:54:37, Info                  DISM   DISM Provider Store: PID=624 TID=3888 Provider has previously been initialized.  Returning the existing instance. - CDISMProviderStore::Internal_GetProvider
      2016-05-27 15:54:37, Info                  DISM   DISM Package Manager: PID=624 TID=3888 Processing the top level command token(enable-feature). - CPackageManagerCLIHandler::Private_ValidateCmdLine
      2016-05-27 15:54:37, Info                  DISM   DISM Package Manager: PID=624 TID=3888 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine
      2016-05-27 15:54:37, Info                  DISM   DISM Package Manager: PID=624 TID=3888 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
      2016-05-27 15:54:37, Info                  DISM   DISM Package Manager: PID=624 TID=3888 Encountered the option "featurename" with value "NetFX3" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
      2016-05-27 15:54:37, Info                  DISM   DISM Package Manager: PID=624 TID=3888 Encountered an unknown option "featurename" with value "NetFX3" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
      2016-05-27 15:54:37, Info                  DISM   DISM Package Manager: PID=624 TID=3888 Encountered the option "source" with value "D:\x64\sources\sxs" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
      2016-05-27 15:54:37, Info                  DISM   DISM Package Manager: PID=624 TID=3888 Encountered an unknown option "source" with value "D:\x64\sources\sxs" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
      2016-05-27 15:54:37, Info                  DISM   DISM Package Manager: PID=624 TID=3888 Initiating Changes on Package with values: 5, 7 - CDISMPackage::Internal_ChangePackageState
      2016-05-27 15:54:37, Info                  DISM   DISM Package Manager: PID=624 TID=3888 CBS session options=0x20100! - CDISMPackageManager::Internal_Finalize
      2016-05-27 15:55:03, Info                  DISM   DISM Package Manager: PID=624 TID=4080  Error in operation: (null) (CBS HRESULT=0x80070002) - CCbsConUIHandler::Error
      2016-05-27 15:55:03, Error                 DISM   DISM Package Manager: PID=624 TID=3888 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x80070002)
      2016-05-27 15:55:03, Error                 DISM   DISM Package Manager: PID=624 TID=3888 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x80070002)
      2016-05-27 15:55:03, Error                 DISM   DISM Package Manager: PID=624 TID=3888 Failed ProcessChanges. - CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x80070002)
      2016-05-27 15:55:04, Error                 DISM   DISM Package Manager: PID=624 TID=3888 Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070002)
      2016-05-27 15:55:04, Info                  DISM   DISM Package Manager: PID=624 TID=3888 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
      2016-05-27 15:55:04, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=80070002
      
      1 Reply Last reply Reply Quote 3
      • MattSpellerM
        MattSpeller
        last edited by

        I had similar issues, turned out W10 had it installed already. Try your install without it.

        JaredBuschJ 1 Reply Last reply Reply Quote 0
        • JaredBuschJ
          JaredBusch @MattSpeller
          last edited by

          @MattSpeller said in Unable to install .Net 3.5 on a new Windows 10 install:

          I had similar issues, turned out W10 had it installed already. Try your install without it.

          Tis not installed. note the Windows feature screenshot above.

          MattSpellerM 1 Reply Last reply Reply Quote 1
          • MattSpellerM
            MattSpeller @JaredBusch
            last edited by

            @JaredBusch said in Unable to install .Net 3.5 on a new Windows 10 install:

            @MattSpeller said in Unable to install .Net 3.5 on a new Windows 10 install:

            I had similar issues, turned out W10 had it installed already. Try your install without it.

            Tis not installed. note the Windows feature screenshot above.

            0.o

            I shouldn't be working right now, good grief

            1 Reply Last reply Reply Quote 1
            • thwrT
              thwr
              last edited by thwr

              dism sxs fails? That's ugly...

              Have you seen this (blocking GPO)? http://superuser.com/questions/946988/cant-install-net-3-5-on-windows-10#comment1449644_947660

              Edit: Won't help I think. GPO is about loading additional dependencies directly from Windows Update. Shouldn't relate to offline sxs.

              JaredBuschJ 1 Reply Last reply Reply Quote 1
              • JaredBuschJ
                JaredBusch @thwr
                last edited by

                @thwr said in Unable to install .Net 3.5 on a new Windows 10 install:

                dism sxs fails? That's ugly...

                Have you seen this (blocking GPO)? http://superuser.com/questions/946988/cant-install-net-3-5-on-windows-10#comment1449644_947660

                Edit: Won't help I think. GPO is about loading additional dependencies directly from Windows Update. Shouldn't relate to offline sxs.

                That GPO would make sure that MS servers were contacted. I set it anyway. no difference online or media.

                thwrT J 2 Replies Last reply Reply Quote 1
                • thwrT
                  thwr @JaredBusch
                  last edited by

                  @JaredBusch yeah, sorry, realized it the second after hitting "submit".

                  Still not able to install? Any errors in the event log?

                  JaredBuschJ 1 Reply Last reply Reply Quote 0
                  • JaredBuschJ
                    JaredBusch @thwr
                    last edited by

                    @thwr said in Unable to install .Net 3.5 on a new Windows 10 install:

                    @JaredBusch yeah, sorry, realized it the second after hitting "submit".

                    Still not able to install? Any errors in the event log?

                    Not worth the time to figure out anymore. Told Windows to reset. Do not have physical access right now.

                    1 Reply Last reply Reply Quote 1
                    • JaredBuschJ
                      JaredBusch
                      last edited by

                      Windows reset completed, enabled .Net 35 first, worked perfectly.

                      Up yours Microsoft.

                      M 1 Reply Last reply Reply Quote 6
                      • nadnerBN
                        nadnerB
                        last edited by

                        I'm pretty sure when I had this issue, sfc /scannow did the trick.
                        It was a while ago though...

                        1 Reply Last reply Reply Quote 1
                        • J
                          Jason Banned @JaredBusch
                          last edited by

                          @JaredBusch said in Unable to install .Net 3.5 on a new Windows 10 install:

                          @thwr said in Unable to install .Net 3.5 on a new Windows 10 install:

                          dism sxs fails? That's ugly...

                          Have you seen this (blocking GPO)? http://superuser.com/questions/946988/cant-install-net-3-5-on-windows-10#comment1449644_947660

                          Edit: Won't help I think. GPO is about loading additional dependencies directly from Windows Update. Shouldn't relate to offline sxs.

                          That GPO would make sure that MS servers were contacted. I set it anyway. no difference online or media.

                          That GPO Never seems to work..

                          1 Reply Last reply Reply Quote 1
                          • M
                            MangoGeorge @JaredBusch
                            last edited by

                            @jaredbusch, 1803 fresh install doing the same thing, fresh iso downloaded via latest Media Creation Tool for the source location.
                            Tried numerous options including an installer program, a command line to install a specified package, and copying the sxs folder locally instead of mounted iso.

                            nadnerB's suggestion to run sfc didn't do anything, but runnings DISM /Online /Cleanup-Image /RestoreHealth appears to have done the trick. Net 3.5 finally installed successfully and didn't require a reset and repeat of 3 hours' setup.

                            F 1 Reply Last reply Reply Quote 1
                            • F
                              flaxking @MangoGeorge
                              last edited by

                              @mangogeorge

                              I wonder if you could grab the cab file without needing to get it from the iso

                              https://github.com/Microsoft/dotnet-framework-docker/blob/master/3.5/runtime/windowsservercore-ltsc2016/Dockerfile

                              the download URI used in the script does seem to be specific to ltsc2016, but I wonder if that matters

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post