[SFC] You must be an administrator running a console session

task manager -run command prompt elevated - create new task

When you try to run Sfc.exe /scannow on Command Prompt to repair the system files, the following error message may appear:

You must be an administrator running a console session in order to
use the sfc utility.

This may happen even though you right-click Command Prompt from the Start menu search results, and click Run as administrator.Read more

Error 0xc000012f “Bad Image” When Running a Program

bad image error c000012f

When you run a program in Windows, error 0xc000012f may pop up, mentioning that the binary you’re trying to run is corrupted. Here are some examples, with the full error message verbatim:

<filename> is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator or the software vendor for support. Error status 0xc000012f

Read more

[Fix] Turn Windows Features On Or Off is Blank in Windows 10/11

windows features white box

The Windows Features dialog box (optionalfeatures.exe) lets you add or remove additional or optional Windows features. For instance, you can remove Media Features → Windows Media Player using the Windows Features (“Turn Windows Features On Or Off”) dialog box if you no longer plan to use WMP. Sometimes, the “Turn Windows Features On Or Off” … Read more

How to Repair Windows 10/11 System Files Using DISM and SFC

sfc scannow cannot repair files

If the system files in your Windows 10/11 computer become corrupt and the System File Checker (SFC /scannow) is unable to reinstate the critical system files, it’s due to corruption of the Component Store located in the C:\Windows\WinSxS directory. This directory contains the files needed for the SFC utility to restore missing or damaged system files. The Component store stores all the Windows system files grouped by components and as hard links.

Read more

How to Run System File Checker (SFC) Offline in Windows 10/11 & Earlier

The System File Checker (sfc.exe) is a useful tool that lets you scan the integrity of Windows system files and repair corrupt or missing system files. Numerous cases have been resolved by running the sfc.exe /scannow command.

However, there are situations wherein a corrupt or missing system file prevents Windows from booting normally or prevents Command Prompt and console programs like Sfc.exe from being launched. In such cases, Sfc.exe can be run offline via the Windows Recovery Environment (Windows RE) in all versions of Windows, including Windows 11.Read more