Net Framework 3.5 instalation fails

Hello!

I'm trying to enable Net Framework 3.5 and it always fails with error: 0x800f0922. 

PS C:\WINDOWS\system32> dism /online /enable-feature /featurename:netfx3 /all 

Deployment Image Servicing and Management tool
Version: 10.0.18234.1000

Image Version: 10.0.18234.1000

Enabling feature(s)
[==========================100.0%==========================]

Error: 0x800f0922

DISM failed. No operation was performed.
For more information, review the log file.

The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

dism.log

2018-09-11 13:19:26, Info                  DISM   DISM Package Manager: PID=13116 TID=16148 Processing the top level command token(enable-feature). - CPackageManagerCLIHandler::Private_ValidateCmdLine
2018-09-11 13:19:26, Info                  DISM   DISM Package Manager: PID=13116 TID=16148 Attempting to route to appropriate command handler. - CPackageManagerCLIHandler::ExecuteCmdLine
2018-09-11 13:19:26, Info                  DISM   DISM Package Manager: PID=13116 TID=16148 Routing the command... - CPackageManagerCLIHandler::ExecuteCmdLine
2018-09-11 13:19:26, Info                  DISM   DISM Package Manager: PID=13116 TID=16148 Encountered the option "featurename" with value "netfx3" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
2018-09-11 13:19:26, Info                  DISM   DISM Package Manager: PID=13116 TID=16148 Encountered an unknown option "featurename" with value "netfx3" - CPackageManagerCLIHandler::Private_GetPackagesFromCommandLine
2018-09-11 13:19:27, Info                  DISM   DISM Package Manager: PID=13116 TID=16148 Initiating Changes on Package with values: 5, 7 - CDISMPackage::Internal_ChangePackageState
2018-09-11 13:19:27, Info                  DISM   DISM Package Manager: PID=13116 TID=16148 CBS session options=0x20100! - CDISMPackageManager::Internal_Finalize
2018-09-11 13:19:34, Info                  DISM   DISM Package Manager: PID=13116 TID=16080  Error in operation: (null) (CBS HRESULT=0x800f0922) - CCbsConUIHandler::Error
2018-09-11 13:19:34, Error                 DISM   DISM Package Manager: PID=13116 TID=16148 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x800f0922)
2018-09-11 13:19:34, Error                 DISM   DISM Package Manager: PID=13116 TID=16148 Failed processing package changes with session options - CDISMPackageManager::ProcessChangesWithOptions(hr:0x800f0922)
2018-09-11 13:19:34, Error                 DISM   DISM Package Manager: PID=13116 TID=16148 Failed ProcessChanges. - CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x800f0922)
2018-09-11 13:19:34, Error                 DISM   DISM Package Manager: PID=13116 TID=16148 Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x800f0922)
2018-09-11 13:19:34, Info                  DISM   DISM Package Manager: PID=13116 TID=16148 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine
2018-09-11 13:19:34, Error                 DISM   DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=800F0922

cbs.log

2018-09-11 13:19:32, Error                 CBS    Exec: An error occurred while committing the transaction, the transaction has been rolled back. [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]
2018-09-11 13:19:32, Info                  CBS    Perf: InstallUninstallChain complete.
2018-09-11 13:19:32, Info                  CSI    0000079c@2018/9/11:10:19:32.826 CSI Transaction @0x217d031d120 destroyed
2018-09-11 13:19:32, Info                  CBS    Failed to execute execution chain. [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]
2018-09-11 13:19:32, Error                 CBS    Failed to process single phase execution. [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]
2018-09-11 13:19:32, Info                  CBS    WER: Generating failure report for package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.18234.1000, status: 0x800f0922, failure source: Execute, start state: Installed, target state: Installed, client id: DISM Package Manager Provider
2018-09-11 13:19:32, Info                  CBS    Not able to query DisableWerReporting flag.  Assuming not set... [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2018-09-11 13:19:32, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CBS.log to WER report.
2018-09-11 13:19:32, Info                  CBS    Added C:\WINDOWS\Logs\CBS\CbsPersist_20180911092744.log to WER report.
2018-09-11 13:19:32, Info                  CBS    Not able to add %windir%\winsxs\pending.xml to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2018-09-11 13:19:32, Info                  CBS    Not able to add %windir%\winsxs\pending.xml.bad to WER report. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2018-09-11 13:19:33, Info                  CBS    Reboot mark cleared
2018-09-11 13:19:33, Info                  CBS    Winlogon: Simplifying Winlogon CreateSession notifications
2018-09-11 13:19:33, Info                  CBS    Winlogon: Deregistering for CreateSession notifications
2018-09-11 13:19:33, Info                  CBS    FinalCommitPackagesState: Started persisting state of packages
2018-09-11 13:19:33, Info                  CBS    TI: CBS has queried the current reboot required state: 0
2018-09-11 13:19:33, Info                  CBS    Reporting selectable update change for package: Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~amd64~~10.0.18234.1000, update: NetFx3, start: Staged, applicable: Installed, target: Installed, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 41, first merged sequence: 41, download source: 0, download time (secs): 4294967295, download status: 0x800f0922 (CBS_E_INSTALLERS_FAILED),reboot required: False, overall result:0x800f0922 (CBS_E_INSTALLERS_FAILED)
2018-09-11 13:19:33, Info                  CBS    Reporting package change for package: Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~amd64~~10.0.18234.1000, current: Installed, pending: Default, start: Installed, applicable: Installed, target: Installed, limit: Installed, status: 0x0, failure source: Execute, reboot required: False, client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 41, first merged sequence: 41, reboot reason: REBOOT_NOT_REQUIRED, RM App session: -1, RM App name: N/A, FileName in use: N/A, release type: Feature Pack, OC operation: True, download source: 0, download time (secs): 4294967295, download status: 0x0 (S_OK), Express download: False, Download Size: 0
2018-09-11 13:19:34, Info                  CBS    Reporting package change completion for package: Microsoft-Windows-NetFx3-OC-Package~31bf3856ad364e35~amd64~~10.0.18234.1000, current: Installed, original: Installed, target: Installed, status: 0x800f0922, failure source: Execute, failure details: "(null)", client id: DISM Package Manager Provider, initiated offline: False, execution sequence: 41, first merged sequence: 41, pending decision: InteractiveInstallFailed, primitive execution context: Interactive
2018-09-11 13:19:34, Info                  CBS    The store corruption status report is incomplete. [HRESULT = 0x80070002 - ERROR_FILE_NOT_FOUND]
2018-09-11 13:19:34, Info                  CBS    Execute time performance datapoint is invalid. [HRESULT = 0x80070490 - ERROR_NOT_FOUND]
2018-09-11 13:19:34, Info                  CBS    FinalCommitPackagesState: Completed persisting state of packages
2018-09-11 13:19:34, Info                  CBS    Enabling LKG boot option
2018-09-11 13:19:34, Info                  CBS    Exec: Will not run corruption repair because no store corruption found.
2018-09-11 13:19:34, Info                  CBS    Exec: Processing complete.  Session: 30689720_3945146207, Package: Microsoft-Windows-Foundation-Package~31bf3856ad364e35~amd64~~10.0.18234.1000, Identifier: Windows Foundation [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]
2018-09-11 13:19:34, Info                  CBS    Reporting capability session finalize status: 0x800f0922, client id: DISM Package Manager Provider, reboot count: 0, capabilities: NetFX3~, state: Installed, ID: 30689720_3945146207, RetryID: (null), retryStatus: 0, torn state reservicing: 0x80004001
2018-09-11 13:19:34, Error                 CBS    Failed to perform operation.  [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]
2018-09-11 13:19:34, Info                  CBS    Session: 30689720_3945146207 finalized. Reboot required: no [HRESULT = 0x800f0922 - CBS_E_INSTALLERS_FAILED]

Answer
Answer

Finally solved!

  • Open Settings -> Update & Security -> Recovery -> Click Restart Now (Advanced Startup)
  • Choose Troubleshoot -> Advanced Options -> Command Prompt
  • In Command Prompt run:

dism /Image:<system_drive_letter>:\  /Enable-Feature /FeatureName:NetFx3

  • Reboot! Done!

7 people found this reply helpful

·

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated April 24, 2024 Views 6,049 Applies to: