Removing AI with flyoobe fckd up my trustedinstaller.exe
cant use sfc and dism commands in cmd now. how can i fix this? thx
Hi @xNiHiLvSx, SFC and DISM need the Windows Modules Installer service (TrustedInstaller) running, and removing components can leave that service stopped or set to Disabled. Please try this:
- Press
Win + R, typeservices.mscand press Enter. - Find Windows Modules Installer, double-click it, set Startup type to Manual, then click Start and OK.
- Then right-click Start and open Terminal (Admin) or Command Prompt (Admin), and run these one at a time:
sfc /scannow
Then, if SFC still fails or reports errors it cannot fix:
DISM /Online /Cleanup-Image /RestoreHealth
Then run sfc /scannow once more.
Please do not delete or rename TrustedInstaller.exe itself — that will make it worse.
If the service is missing, will not start, or you get an access-denied error, the safest fix is an in-place repair: run Windows 11 setup from the Microsoft Media Creation Tool and choose Keep personal files and apps.
Could you share the exact error message you get when you run sfc /scannow? That will show whether it is the service, a missing file, or something else.