Tutorials

▷ How to prevent chkdsk from running with every boot

Table of contents:

Anonim

Today we will teach you how to prevent CHKDSK from running with every boot. If your computer has been extremely slow for a few days or if there are strange error messages every time you try to copy or move a file, maybe your computer's hard drive has some problems, but that doesn't mean you have to replace it.

For that, we will see two methods that are really worth it, tested on various versions of Windows (XP, 7, Vista, 8 and Windows 10). To clear things up a bit, this issue may come after a power outage, a hardware or software issue.

Index of contents

What is CHKDSK

CHKDSK is a command on the Windows command line to run a program, or utility, known as Check Disk.

The Check Disk program enters the scene to check that the files on the computer and the file system are in order.

In addition, it checks the physical disk in order to know if there are damaged sectors and tries to recover the data from them.

In general, Windows runs chkdsk.exe when the hard drive has potential problems.

Sometimes hard drive issues only happen at the software level and Windows thankfully has CHKDSK to easily fix them, and it allows you to fix all the errors that commonly prevent hard drives from working properly.

When this command is running, you will see a blue color screen in Windows XP or black color screen for Windows Vista, 7, 8 and 10 during startup that says:

This method is very similar to the first, but in a more manual way, because the command explained above may not work with some users.

We will assign the changes to the BootExecute value. To do this, we open the Run window (Win + R) and write:

regedit

Follow this path: HKEY_LOCAL_MACHINE> SYSTEM> CurrentControlSet> Control> Session Manager.

Double-click the BootExecute value.

Put in place of "autocheck autochk *", "autocheck autochk / k: C *" (C is the letter of your drive). Click "Accept".

Then restart your computer, and at startup you will see that CHKDSK no longer appears.

The chkntfs utility itself works by modifying the BootExecute value in the System Registry, which is what Windows looks at during startup.

The default value for the BootExecute entry is "autocheck autochk *". When you use the / x parameter in chkntfs, the Registry will add a / k: parameter and a drive letter before the asterisk.

This parameter excludes checking for the presence of a dirty bit on volumes. For example, if you run the command "chkntfs / xc:" at a Command Prompt, this would modify the registry entry to "autocheck autochk / k: C *".

CHKDSK continues to run with every boot

After letting Check Disk do its work, there is only one way to really check whether it will run again at startup: restart the computer.

  • How to use chkdsk

Hopefully it won't work and you can get on with your day. If it keeps working, you may have deeper problems with the file system, hard drive, registry issues, or the operating system itself.

You should consider doing a Windows system recovery, or even a clean reinstallation of Windows. It may also be time to install a new hard drive. This would be an extreme case, but it is a potential solution.

And if you have any other method to prevent CHKDSK from running on system startup, share it in the comments.

Tutorials

Editor's choice

Back to top button