All modern versions of Windows contain their integrated tools for checking and correcting the health of our discs: "chkdsk" or "mistaker tool
You may never have to use the tool yourself if you use Windows 8 or Windows 10, as it's for you in Windows 7 versions and tests for bad sectors or any other mistakes during automatic servicing and Windows 10 also performs defragmentation if you have a hard drive.
Now your disk can present errors after you shut down the machine wrongly, or because of faulty software or data, depending on your Windows version of your machine and the circumstances.
How to test for drive errors :
Open the Windows Explorer and go down to the "Server" or "This server" route where your hard drives are. Right-click on the app to search and then click on Property.
In the following window choose the Tools tab, and click on the "Test" button in the first section to display if Windows has any device file mistakes on that drive. For any drive, you can even use external drives or USB sticks to do the same.
The next thing to do is simply wait for your test to be done, depending on your disk size, capacity, machine speed, and other factors.
The one-time tool will show you, when you press, in Windows 8 and Windows 10, if it has found errors during its automated tests, but if you choose, you can start a manual search.
You need to restart your computer or prepare a reset to correct errors if your device detects any errors in your file system.
This method can also be done even more easily with administrator permission by entering a command in a terminal or command prompt:
For instance, by opening an administrator of PowerShell and pasting chkdsk /f C. you can do this.
The drive letter you want to check can be replaced by "C." You have to restart the machine or schedule the test on your next restart to run chkdsk from the terminal. It requires all steps, testing, and correcting errors simultaneously.