Sounds badly broken right out of the gate. Time may be better spent standing up a new one, patch fully, try adding feature again, and move on.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I have a newly rebuilt domain server (not dc) that I am now trying to install .NET 3.5 on.
When I use Add Roles and Features, I get an error message stating the source files are missing. I downloaded an ISO for 2012R2 from the Microsoft site and mounted it up on drive E: and used E:\sources\sxs as my alternate source path. That failed.
I tried using Dism /online /enable-feature /featurename:NetFx3 /all /source:e:\sources\sxs /LimitAccess and that failed with a 0x800F0906 error.
I tried to follow https://social.technet.microsoft.com/wiki/contents/articles/50892.windows-server-2012-r2-troubleshooting-net-framework-3-5-installation-failure-offlineonlinegpo.aspx and I went to the DC and edited the Group Policy. I forced the update to my server and then tried everything again. This time I am seeing a 0x800f081f error from the dism command.
I tried to boot into Safe Mode and try things there but I got all of the same error messages.
Not sure what to try next. Should I unjoin the domain? Reinstall the OS on the server and make sure I install .NET 3.5 during the installation?
Any assistance is greatly appreciated.
an exerpt from the DISM log file:
2023-06-19 13:16:39, Info DISM DISM Package Manager: PID=5132 TID=2532 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
2023-06-19 13:16:39, Info DISM DISM Package Manager: PID=5132 TID=2532 Encountered the option "featurename" with value "NetFx3" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
2023-06-19 13:16:39, Info DISM DISM Package Manager: PID=5132 TID=2532 Encountered an unknown option "featurename" with value "NetFx3" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
2023-06-19 13:16:39, Info DISM DISM Package Manager: PID=5132 TID=2532 Encountered the option "source" with value "e:\sources\sxs" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
2023-06-19 13:16:39, Info DISM DISM Package Manager: PID=5132 TID=2532 Encountered an unknown option "source" with value "e:\sources\sxs" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
2023-06-19 13:16:39, Info DISM DISM Package Manager: PID=5132 TID=2532 Loaded servicing stack for online use only. - CDISMPackageManager::RefreshInstanceAndLock
2023-06-19 13:16:40, Info DISM DISM Package Manager: PID=5132 TID=2532 Feature NetFx3ServerFeatures with CBS state 4(CbsInstallStateStaged) being mapped to dism state 4(DISM_INSTALL_STATE_STAGED) - CDISMPackageFeature::LogInstallStateMapping
2023-06-19 13:16:40, Info DISM DISM Package Manager: PID=5132 TID=2532 Initiating Changes on Package with values: 5, 7 - CDISMPackage::Internal_ChangePackageState
2023-06-19 13:16:40, Info DISM DISM Package Manager: PID=5132 TID=2532 CBS session options=0x20100! - CDISMPackageManager::Internal_Finalize
2023-06-19 13:17:43, Info DISM DISM Package Manager: PID=5132 TID=4504 Error in operation: source for package or file not found, ResolveSource() unsuccessful. (CBS HRESULT=0x800f081f) - CCbsConUIHandler::Error
2023-06-19 13:17:43, Error DISM DISM Package Manager: PID=5132 TID=2532 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f081f)
2023-06-19 13:17:43, Error DISM DISM Package Manager: PID=5132 TID=2532 The source files could not be found; their location must be specified using the /source option to restore the feature. - GetCbsErrorMsg
Sounds badly broken right out of the gate. Time may be better spent standing up a new one, patch fully, try adding feature again, and move on.
--please don't forget to upvote
and Accept as answer
if the reply is helpful--
It can happen if you have settings for WSUS. The Feature on Demand require an access for Internet and it need a settings to not check FoD on the WSUS server.
The GPO (or local GPO) to edit;
Computer Configuration > Policies > Administrative Templates >System > Specify settings for optional component installation and component repair
Set it to Enabled
Alternate source file path: <BLANK>
Never attempt to download payload from Windows Update: Disabled
Download repair content and optional features directly from Windows Update instead of Windows Server Update Services (WSUS): Enabled
To state; Deploy .NET Framework 3.5 by using Group Policy Feature on Demand setting
For Windows 8 and Windows Server 2012, WSUS is not supported as a source for feature installation (for example, adding .NET Framework 3.5 feature files)