PS C:\WINDOWS\system32> sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection found corrupt files but was unable to fix some
of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
supported in offline servicing scenarios.
PS C:\WINDOWS\system32> dism /online /cleanup-image /restorehealth
Deployment Image Servicing and Management tool
Version: 10.0.16299.15
Image Version: 10.0.16299.125
[==========================100.0%==========================] The restore operation completed successfully.
The operation completed successfully.
PS C:\WINDOWS\system32> chkdsk /scan
The type of the file system is NTFS.
Volume label is 0. MyBoxSys.
Stage 1: Examining basic file system structure ...
934656 file records processed.
File verification completed.
33835 large file records processed.
0 bad file records processed.
Stage 2: Examining file name linkage ...
41035 reparse records processed.
1212918 index entries processed.
Index verification completed.
0 unindexed files scanned.
0 unindexed files recovered to lost and found.
41035 reparse records processed.
Stage 3: Examining security descriptors ...
Security descriptor verification completed.
139132 data files processed.
CHKDSK is verifying Usn Journal...
56647384 USN bytes processed.
Usn Journal verification completed.
Windows has scanned the file system and found no problems.
No further action is required.
175823682 KB total disk space.
130261348 KB in 503227 files.
301592 KB in 139133 indexes.
0 KB in bad sectors.
1084342 KB in use by the system.
65536 KB occupied by the log file.
44176400 KB available on disk.
4096 bytes in each allocation unit.
43955920 total allocation units on disk.
11044100 allocation units available on disk.