[SOLVED] Can't add roles, sfc and dism don't work

MickN

Member
Joined
Feb 26, 2025
Posts
5
Windows server 2022 std
Microsoft Windows [version 10.0.20348.2762]
(c) Microsoft Corporation. Tous droits réservés.

C:\WINDOWS\system32>sfc /scannow

La protection des ressources Windows n’a pas réussi à démarrer le service de réparation.

C:\WINDOWS\system32>Dism /Online /Cleanup-Image /RestoreHealth

Outil Gestion et maintenance des images de déploiement
Version : 10.0.20348.681

Version de l’image : 10.0.20348.2762


Erreur : 193

%1 n’est pas une application Win32 valide.

Le fichier journal DISM se trouve à l’emplacement C:\WINDOWS\Logs\DISM\dism.log

C:\WINDOWS\system32>
 

Attachments

Hi @MickN,

Welcome to Sysnative Forums!

If you haven't already, please review the posting instructions here, and attach the requested log files. Without log files, our helpers will not be able to assist, and this will slow down fixing your machine.

If logs have been already been provided, our team of volunteers will analyse the provided log files to build a fix for your system. Please be aware that this may take several days from your initial post, due to the high volume of threads that we receive.


- Sysnative Windows Update Team
 
Hi and welcome to Sysnative,

Step 1. Download
67139f7e69a58-SFCFix-ico.PNG
SFCFix and save it to your desktop.

Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
67139f52b3c1e-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.


Step 2. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

HI and thanks a lot!
Here's the response file. I'll let you know , but for now sfc /scannow is running. :)
Count on me i will donate!
MickN
 

Attachments

Great, let me know the result of SFC and run the following DISM command as well and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 
Hi again,
SFC could not repair everything, i'm not too worry. I was able to install the role i wanted. :) Dism gave this
1740757508337.webp
It's way better. I'll reboot and start fresh.
 

Attachments

Here's the next fix.

Step 1.
Warning: This fix was written specifically for this system. Do not run this fix on another system.
  • Save any work you have open, and close all programs.
  • Download the attachment SFCFix.zip and save it to your desktop.
  • Drag the SFCFix.zip file over the SFCFix.exe executable and release it.
650c22f99662d-6190d993a26f3-SFCFix-Zip-Eng.gif

  • SFCFix will launch, let it complete.
  • Once done, a file will appear on your desktop, called SFCFix.txt.
  • Post the logfile (SFCFix.txt) as attachment in your next reply.


Step 2. Run the following DISM command and post the result. If it fails attach a new copy of the CBS log.
Code:
DISM /online /cleanup-image /RestoreHealth
 

Attachments

You're welcome and if there are no remaining issues we can mark this thread as solved.. (y)
 

Has Sysnative Forums helped you? Please consider donating to help us support the site!

Back
Top