This is the procedure to stop the activation of Scandisk after you have had a bad shutdown:
Select Start => Run
Type msconfig
Go to General => Advanced
Check the box that says Disable Scandisk after bad shutdown