This is a quick way to check the integrity of the local disk of a Windows 10 VM, that sits on an ESXi 6.7 Host
Go to the Type here to search box
Best Match will show Command Prompt
Select Run as administrator
Type in chkdsk C: /f /r /x
Check disk will now run and scan your system. If any errors come up, you will be notified, and can choose a course of action.