Many troubleshooting steps advise the use of the sfc command.

In Windows XP and Windows 2000, this tool is part of Windows File Protection.

This command can only be run from the Command Prompt when opened as an administrator.

SFC command in Windows 11

SeeHow to Open an Elevated Command Promptfor information on doing that.

The availability of sfc command switches may differ somewhat from operating system to operating system.

it’s possible for you to save the output of the sfc command to a file using aredirection operator.

SeeHow to Redirect Command Output to a Filefor instructionsCommand Prompt Trickshas more tips like this.

The/scannowoption is the most commonly used switch for the sfc command.

SeeMicrosoft’s piece on System File Checkerfor more information you may find useful.