To repair system files, open the Command Prompt as an administrator and run the sfc /scannow command. This will scan and replace any corrupted system files.