An executable .bat file which runs in your CMD to scan your pc on corrupt files. Everybody can use it, if you distribute it to others be my guest, but leave my credentials in it. Also you are not prohibitted of changing this code if you want to furthur distribute it.
If you want to do that, fork this main project.
Licensed: (GNU-3) REALSDEALS ©
Win_Scan (this repository) has been implemented in my other repository which is somewhat more advanced. Please check that one out: https://github.com/REALSDEALS/pcHealth Status will change when the pcHealth repo has completely been finished and build.
That one allows you to run more commands through a simple menu. It can scan for corrupt files, make a battery report, try and repair any malfunctions in your Windows Installation ect.
P.S. I don't say that everyone corrupt Windows installation will be fixed with this, but it's always worth a shot!
First of all thanks for using my simple batch script. It's not much but it can make your life as an IT'er or someone that does repairs on Windows devices, a lot easier.
What this batch script does is run the /sfc scannow command, to scan/check your Windows image. If it finds any corrupt and/or missing files it will try to repair them. But there is also a possibillity that it isn't able to fix them.
In that case you can try to run the DISM Command. (There will be a future implementation of that command in a external batch script. When made I'll link it down here.)
As stated as above, you can check your Windows Image...
Normally you would do that if you are experiencing BSOD's or other Windows related malfunctions.
You need to get the .bat file which is located in the 'script' folder.
-
Right-click and run the file as administrator
-
Read the lines carefully
-
Press a key to start the scan process.
-
Wait for it to finish, it will automatically come back with the results
-
When repaired? Restart PC and restart the .bat again, to make sure it succesfully repaired the missing/corrupt files.
-
If not able to fix, run the DISM Command.
If you have any questions, feel free to contact me. Check out my main page to mail me.