Disable CHKDSK?

  • Thread starter Thread starter Hw2k
  • Start date Start date
H

Hw2k

My computer tend to crash alot(that's not the problem here), and while
reboot I don't often feel like sitting by the monitor and wait so I g
and do something else, but when I come back chkdsk is running throug
my harddrives (5 of them) and it takes forever, is there a way t
disable chkdsk, or "reversing" it, so that instead of "Press any key t
abort" it would work as "Press a key to start scanning"? :
 
chkdsk can be run manually from a script, and it can be suppressed on startup.
Open regedit

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
On the right side look for (or create the dword value): AutoChkTimeOut
Double Click and set to 0 (zero) to disable.

--check.vbs-
set shell=createobject("wscript.shell") ' show a Yes No dialog
go=shell.popup "Run chkdsk on C: ?", 10, "chkdsk", 4
if go < 7 then ' if not "no", run it
shell.run "chkdsk C: /f ", true
end if
go=shell.popup "Run chkdsk on D: ?", 10, "chkdsk", 4
if go < 7 then
shell.run "chkdsk D: /f ", true
end if
....
--cut--

..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top