Share via

Unable to add/remove roles on server 2019

Fernando Ruiz 1 Reputation point
2022-11-18T19:10:09.83+00:00

When i attempt to launch the add/remove role wizard, i get this error:

![261959-image.png]

When trying Get-WindowsFeatures I get:

261930-image.png

It sounds like windows installer is having issues as well as i am not able to install some programs or remove some programs.. when attempting to remove or install i get this:

262061-image.png

Here is my dism.log

261977-dism.log

I tried sfc /scannow, dism /restorehealth, chkdsk, updating windows, mofcomp, re-installing windows installer (msi.dll, msihnd.dll msiexec.exe), different admin account. used MSERT found nothing. tried safe mode, didn't work. made sure msiservice was running. I'm out of ideas.

Windows for business | Windows Server | User experience | PowerShell
Windows for business | Windows Server | User experience | Other
0 comments No comments

3 answers

Sort by: Most helpful
  1. Anonymous
    2022-11-21T18:26:03.467+00:00

    Sounds good, that's what I would have expected. Standing up a new one, patch fully, migrate roles over and move on is the better solution.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    Was this answer helpful?


  2. Anonymous
    2022-11-21T16:17:20.147+00:00

    Sounds good, you can also try a repair install by running setup.exe from the root of the install media, but I wouldn't hold much hope for this working. Time may be better spent standing up a new one, patch fully, migrate roles over and move on.

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    Was this answer helpful?


  3. Anonymous
    2022-11-18T19:14:40.597+00:00

    An old one but still may be helpful.
    https://support.microsoft.com/en-us/topic/-windows-installer-service-could-not-be-accessed-error-message-when-installing-application-2b29fc85-f5a5-3db7-08d8-cdc3b2e216d9

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    Was this answer helpful?


Your answer

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