How to stop scheduled chkdisk on windows 7?

8,919

Solution 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.

Solution 2

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).
Share:
8,919

Related videos on Youtube

user3660103
Author by

user3660103

I did my bachelors in electrical engineering specializing in computer networking, and finished master studies in digital communications. Currently doing medical software development. I'm also an amateur radio operator, callsign YU1NKA/DM1NKA.

Updated on September 17, 2022

Comments

  • user3660103
    user3660103 almost 2 years

    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.

    • Knox
      Knox about 14 years
      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
      Knox about 14 years
      Another thought, have you tried hooking up a USB keyboard?
    • user3660103
      user3660103 about 14 years
      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.
    • user3660103
      user3660103 about 14 years
      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.
  • user3660103
    user3660103 about 14 years
    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.
  • ta.speot.is
    ta.speot.is about 14 years
    Sorry, missed that you were using a laptop.