Use the SFC and DISM tools to check the integrity of system files. You can read more details in this article.