Issue with error when enable the .NET Framework 3.5 with DISM Order

Zhu Alex 0 Reputation points
2025-02-11T04:49:26.88+00:00

The error log as below

2025-02-10 16:50:57, Info DISM DISM Package Manager: PID=23216 TID=23240 Error in operation: (null) (CBS HRESULT=0x80070005) - CCbsConUIHandler::Error

2025-02-10 16:50:57, Error DISM DISM Package Manager: PID=23216 TID=23244 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x80070005)

2025-02-10 16:50:57, Error DISM DISM Package Manager: PID=23216 TID=23244 Failed processing package changes with session options - CDISMPackageManager::Internal_ProcessChangesWithOptions(hr:0x80070005)

2025-02-10 16:50:57, Error DISM DISM Package Manager: PID=23216 TID=23244 Failed ProcessChanges. - CPackageManagerCLIHandler::Private_ProcessFeatureChange(hr:0x80070005)

2025-02-10 16:50:57, Error DISM DISM Package Manager: PID=23216 TID=23244 Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070005)

2025-02-10 16:50:57, Info DISM DISM Package Manager: PID=23216 TID=23244 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine

2025-02-10 16:50:57, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=80070005

2025-02-10 16:50:57, Info DISM DISM Package Manager: PID=23216 TID=23244 Finalizing CBS core. - CDISMPackageManager::Finalize

2025-02-10 16:50:57, Info DISM DISM Manager: PID=23184 TID=23188 Closing session event handle 0x230 - CDISMManager::CleanupImageSessionEntry

2025-02-10 16:50:57, Info DISM DISM.EXE: Image session has been closed. Reboot required=no.

2025-02-10 16:50:57, Info DISM DISM.EXE:

2025-02-10 16:50:57, Info DISM DISM.EXE: <----- Ending Dism.exe session ----->

2025-02-10 16:50:57, Info DISM DISM.EXE:

.NET Runtime
.NET Runtime
.NET: Microsoft Technologies based on the .NET software framework.Runtime: An environment required to run apps that aren't compiled to machine language.
1,196 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Jiachen Li-MSFT 33,536 Reputation points Microsoft Vendor
    2025-02-11T06:01:47.1366667+00:00

    Hi @Zhu Alex ,

    0x80070005 is an access denied error. This error typically indicates a permissions issue.

    Make sure you are running the Command Prompt with administrative privileges.

    Verify that the account you are using has the necessary permissions to access the source files and make changes to the system.

    Ensure that the group policy settings are not preventing the installation. You can check this by running gpedit.msc and navigating to Computer Configuration > Administrative Templates > System. Look for the setting Specify settings for optional component installation and component repair and make sure it is not configured to prevent the installation.

    Best Regards.

    Jiachen Li


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.