Unable to install .Net 3.5 on a new Windows 10 install
-
I have a clean Windows 10 rev 1511 install from the upgrade ISO
Did Windows Updates
Installed Office 2013
Joined to DomainNow 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.
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
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
-
I had similar issues, turned out W10 had it installed already. Try your install without it.
-
@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.
-
@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
-
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.
-
@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.
-
@JaredBusch yeah, sorry, realized it the second after hitting "submit".
Still not able to install? Any errors in the event log?
-
@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.
-
Windows reset completed, enabled .Net 35 first, worked perfectly.
Up yours Microsoft.
-
I'm pretty sure when I had this issue,
sfc /scannow
did the trick.
It was a while ago though... -
@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..
-
@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.
-
I wonder if you could grab the cab file without needing to get it from the iso
the download URI used in the script does seem to be specific to ltsc2016, but I wonder if that matters