DISM /start componentcleanup Error: 2

Kong, Shirley [AUTOSOL/PSS/SNG] 1 Reputation point
2022-01-06T11:11:05.21+00:00

I get this error when I run the utility on Server 2016.

Deployment Image Servicing and Management tool

Version: 10.0.14393.4169

Image Version: 10.0.14393.4169

[==========================100.0%==========================]

[==========================100.0%==========================]

Error: 2

The system cannot find the file specified.

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

2022-01-04 22:46:31, Info DISM DISM Package Manager: PID=2844 TID=9812 Error in operation: (null) (CBS HRESULT=0x80070002) - CCbsConUIHandler::Error

2022-01-04 22:46:31, Error DISM DISM Package Manager: PID=2844 TID=4596 Failed finalizing changes. - CDISMPackageManager::Internal_Finalize(hr:0x80070002)

2022-01-04 22:46:36, Error DISM DISM Package Manager: PID=2844 TID=4596 Failed processing package changes - CDISMPackageManager::StartComponentCleanupEx(hr:0x80070002)

2022-01-04 22:46:36, Error DISM DISM Package Manager: PID=2844 TID=4596 Failed to start component cleanup. - CPackageManagerCLIHandler::ProcessCmdLine_CleanupImage(hr:0x80070002)

2022-01-04 22:46:36, Error DISM DISM Package Manager: PID=2844 TID=4596 Failed while processing command cleanup-image. - CPackageManagerCLIHandler::ExecuteCmdLine(hr:0x80070002)

2022-01-04 22:46:36, Info DISM DISM Package Manager: PID=2844 TID=4596 Further logs for online package and feature related operations can be found at %WINDIR%\logs\CBS\cbs.log - CPackageManagerCLIHandler::ExecuteCmdLine

2022-01-04 22:46:36, Error DISM DISM.EXE: DISM Package Manager processed the command line but failed. HRESULT=80070002

2022-01-04 22:46:36, Info DISM DISM Provider Store: PID=2844 TID=4596 Found the OSServices. Waiting to finalize it until all other providers are unloaded. - CDISMProviderStore::Final_OnDisconnect

Windows Server 2016
Windows Server 2016
A Microsoft server operating system that supports enterprise-level management updated to data storage.
2,389 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Limitless Technology 39,396 Reputation points
    2022-01-07T11:16:07.05+00:00

    Hi there,

    It is important to check if you are using the correct version of DISM installed with Windows. If you have been experiencing DISM error 2, I would suggest you run the commands using WinPE. Running commands in WinPE will help you execute them successfully without facing any errors.

    It is common to experience DISM error 2 on your computer because of the security software installed on your PC. If you have been facing the issue, disable or uninstall antivirus from your PC and check if the error is solved.

    You can also uninstall the current antivirus in your PC and install a better one to get rid of the issue permanently.


    --If the reply is helpful, please Upvote and Accept it as an answer--

    0 comments No comments