Simply run:

echo y|chkdsk c: /x > NUL

Now when the computer retarts it will run a CHKDSK on drive C: and restart.