How to stop scheduled chkdisk on windows 7?

1

I have a problem with windows 7 64-bit. I was trying out chkdsk command line options and scheduled a chddsk /r on next start. After that I disassembled the laptop on which I set the chkdsk. After I reassembled it, windows gets normally to the point where it should start the check and then hangs when the countdown reaches 1 second. During the countdown, it doesn't detect any input from keyboard. At first I thought that I didn't correctly install the keyboard, but under GNU/Linux, everything is working fine and I can normally mount the windows partition .

So is there any way to stop the scheduled chkdsk? I really don't feel like reinstalling windows again because I just finished setting up my tool-chain the way I like it and compiled about 6GiB worth of dependencies I need for some project I'm working on.

AndrejaKo

Posted 2010-05-10T11:25:11.560

Reputation: 16 459

We had a very similar problem, CHKDSK would run at every boot. Eventually, we let it run overnight, and i think it gets past the initial setup or initial analysis and then will let you stop it from the keyboard. How long are you waiting? – Knox – 2010-05-10T11:34:56.717

Another thought, have you tried hooking up a USB keyboard? – Knox – 2010-05-10T11:35:57.650

I'll try now with USB keyboard. As for waiting, I waited about 5 minutes. After about two minutes the HDD LED powered down, so I thought that the check hung. – AndrejaKo – 2010-05-10T11:42:55.137

USB keyboard solved the problem. I still don't understand why it wouldn't detect the PS/2 internal keyboard... Everything is working fine now. – AndrejaKo – 2010-05-10T12:04:13.713

Answers

1

I'll put my answer of using a USB keyboard here (since it worked) It was possible that in rebuilding the laptop that it needed to do something to recognize the internal keyboard that would occur after the chkdsk.

Knox

Posted 2010-05-10T11:25:11.560

Reputation: 1 168

1

There is a Microsoft article that describes How to Cancel CHKDSK After It Has Been Scheduled, with a little gotcha. The way to do it is to update the registry:

  1. Run the Registry Editor (Regedt32.exe). You must use Regedt32 and not Regedit.exe
  2. Goto HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager
  3. Change the BootExecute value from:
    autocheck autochk * /r\DosDevice\<drive letter>:
    To:
    autocheck autochk *

The gotcha is of course that you can't boot and call Regedt32 to modify the registry.
The possibilities are:

  1. Use the recovery console to edit the registry. The following article was written for XP but is probably still valid.
  2. The Offline NT Password & Registry Editor boot cd claims to contain a registry editor.
  3. Do In-place Upgrade to repair the system, if all other advice has failed (this won't destroy your existing system setup).

harrymc

Posted 2010-05-10T11:25:11.560

Reputation: 306 093

0

You can skip the CHKDSK by pushing a key, but you know this already. If you go into BIOS you can try disabling "USB Aware Operating System". This will make the BIOS emulate a PS2 keyboard for your OS. Then you should be able to push keys before the CHKDSK.

Otherwise, boot into safe mode and try this.

ta.speot.is

Posted 2010-05-10T11:25:11.560

Reputation: 13 727

I have an Acer laptop which uses the evil Insyde H20 UEFI which doesn't have any useful settings available for user to change. I even had to modify the UEFI image in order to enable Intel VT-x. I'll try safe mode now. – AndrejaKo – 2010-05-10T11:51:19.250

Sorry, missed that you were using a laptop. – ta.speot.is – 2010-05-10T13:05:37.807