Microsoft Exam Questions

Which tool should you use?

You have a server named Server1 that runs Windows Server 2012 R2. You suspect that some protected
system files are corrupt. You need to verify the protected system files on Server1 and replace files that have
incorrect versions.
Which tool should you use?

A.
Sfc

B.
Repair-volume

C.
Repair-FileIntegrity

D.
Fsutil

Explanation:
Sfc scans and verifies the integrity of all protected system files and replaces incorrect versions with correct
versions.
Examples:
To verify the kernel32.dll file, type:
sfc /verifyfile=c:\\windows\\system32\\kernel32.dll
To setup offline repair of the kernel32.dll file with an offline boot directory set to d: and offline windows directory
set to d:\\windows, type:
sfc /scanfile=d:\\windows\\system32\\kernel32.dll /offbootdir=d:\\ /offwindir=d:\\windows
Technet, sfc
https://technet.microsoft.com/en-us/library/ff950779.aspx