Know what to do when Check Disks malfunctions in Vista

 

Summary

The Check Disk application in Microsoft Windows Vista can sometimes malfunction, causing problems during the boot process. Find out how to permanently fix these problems.

Events

Social Media World Forum
22 - 23 Sep 2010

Suntec, Singapore

Governmentware 2010
28 - 30 Sep 2010

Suntec, Singapore

The 5th Annual CIO Forum Asia
28 Sep 2010

Singapore

IDC's Asia/Pacific Cloud Computing Conference 2010
31 Aug 2010

Marriott Hotel, Singapore

In the Sep. 25, 2008, edition of the Windows Vista Report (How do I ... use the Vista Check Disk tool for hard disk analysis?) I showed you how run Vista's Check Disk tool in analysis mode.

As I did mention, to run Check Disk in full repair mode, you select both the Automatically Fix File System Errors check box and the Scan For And Attempt Recovery Of Bad Sectors check box, as shown in Figure A, and click Start. When you do, the Check Disk GUI will schedule the DOS version to run at startup and prompt you to restart.

Figure A

To run Check Disk in full repair mode, select both check boxes and click Start.

Since that blog post ran, I've heard from several readers who have attempted to run Check Disk in full repair mode but have discovered that Check Disk fails to run at startup. I've also heard from several readers who have run Check Disk in full repair mode and have discovered that after doing so, Check Disk runs at every startup.

Fortunately, there are ways to work around both of these issues. In this edition of the Windows Vista Report, I'll show you what to do when Check Disks malfunctions in Vista.

Check Disk fails to run
When Check Disk fails to run at startup, the cause is typically a configuration error or a slight corruption problem in the registry. When the Check Disk GUI schedules the DOS version to run at startup, it actually makes a change in the registry that triggers the Check Disk operation to run as the system starts up.

If that entry isn't configured properly due to some glitch in the system or if it becomes corrupted by a third-party utility, Check Disk will not run at startup.

To fix the problem requires that you modify the registry. Since editing the registry can be a dangerous operation, it is important that you back it up before you begin.

To launch the Registry Editor, press [Windows]+R to open the Run dialog box. Then type regedit.exe in the Open text box and click OK. You'll then encounter a UAC and will need to respond appropriately.

When you see the Registry Editor, navigate to the following folder:

HKEY_LOCAL_MACHINESystemCurrentControlSetControlSession Manager

When you get there, locate the BootExecute value, as shown in Figure B, and double-click it.

Figure B

The BootExecute value launches Check Disk at startup.

As shown here, the default value data of BootExecute value should be

autocheck autochk *

If it reads anything else, simply overwrite the entry with the default value data.

To complete the operation, click OK to close the Edit Multi-String dialog box, close the Registry Editor, and restart your system. Once your system restarts, you can return to the Check Disk GUI, select both the Automatically Fix File System Errors check box and the Scan For And Attempt Recovery Of Bad Sectors check box and click Start. When the system restarts, Check Disk should run normally.

Check Disk runs at every startup
When Check Disk is scheduled to run at startup, Windows is supposed to reset the BootExecute value to its default setting as soon as the Check Disk operation is launched.

If Check Disk runs at every startup, the cause is typically a configuration error or a slight corruption problem in the registry that prevents the BootExecute value from being reset to its default setting. Therefore, the first solution described above should also solve this problem.

However, if resetting the BootExecute value to its default value doesn't solve the problem and Check Disk runs again at startup, it is possible that the Dirty Bit is stuck. To check the status of the Dirty Bit, you'll use the Fsutil command.

To begin, right-click on the Command Prompt shortcut and select the Run As Administrator command. When you encounter a UAC, you will need to respond appropriately. Then type:

Fsutil dirty query Y:

Where Y: is the drive letter on your system. The result should tell you that the drive is dirty.

At this point, you'll use the Chkntfs command to disable the Check Disk operation for the next startup. Type:

Chkntfs /x Y:

Where Y: is the drive letter on your system. The result should tell you that the file system is NTFS.

To continue, close the Command Prompt and restart your system. When your system restarts, it should boot right into Windows -- you should not see Check Disk attempt to run. However, if it does, you should open a Command Prompt window and launch Check Disk in full repair mode. Type:

Chkdsk /f /r Y:

Where Y: is the drive letter on your system.

You'll then be prompted to schedule Check Disk to run at startup. To continue, type Y and press [Enter]. Then, restart Windows and allow Check Disk to run at startup. When it does, it should properly reset the Dirty Bit and Windows should start normally from this point forward.

Greg Shultz is a documentation specialist for MediaBank. Previously, he worked as technical journalist in the computer publishing industry.

Talkback

Add your opinion

In order to post a comment, you need to be registered. (Sign In or register below)

Post your comment
HP Data Protector delivers high-performance data protection at up to 70% lower TCO.
Tech Vendor: HP
Did you know?
Did you know?

ZDNet Asia Live

Brand new Google Instant: a search-as-you-type engine and Google SG will soon get a taste of it. See http://bit.ly/cm7kzy and @zdnetasia

#Force #Cloud S'pore: Social media trumps paid keyword ads: Microsoft aiming to hone CRM pitch: SAN FRANCISCO-... http://bit.ly/do6ECA #TCN

Iwebslog.com-Multi-task tricks of the Table Move handle in Word: Click or double-click the Table Move handle... http://dlvr.it/4xkZW #Excel

37 minutes ago by learnexcel on topsy

S'pore: Social media trumps paid keyword ads http://bit.ly/96gvyw

Microsoft aiming to hone CRM pitch: As it gears up to start testing a new version of its product, Redmond says it'... http://bit.ly/cCRyE6

10 things you should know about NoSQL databases: The relational database model has prevailed for deca... http://bit.ly/9kJeXc - #Asia #News

Multi-task tricks of the Table Move handle in Word: Click or double-click the Table Move handle to qu... http://bit.ly/b7UBPf - #Asia #News

Microsoft aiming to hone CRM pitch: SAN FRANCISCO--Microsoft is tired of seeing Salesforce.com get all the headlin... http://bit.ly/d6Uf6U

Microsoft aiming to hone CRM pitch: SAN FRANCISCO--Microsoft is tired of seeing Salesforce.com get all the headlin... http://bit.ly/9vsZxf

who would've thunk it?? increasingly important medium.. 'S'pore: Social media trumps paid keyword ads' - ZDNet Asia - http://bit.ly/axe88O

RT @zdnetasia: Oracle's Hurd for Phillips swap: What's the customer relations impact? http://ur1.ca/1jqms

Salesforce chief: Enterprise tech lacks innovation: Consumer tech makers such as Twitter are setting ... http://bit.ly/ca4KYi - #Asia #News

Adobe warns of zero-day hole in Reader, Acrobat: Critical vulnerability could allow an attacker to ta... http://bit.ly/bY9Xe6 - #Asia #News

Microsoft aiming to hone CRM pitch http://bit.ly/dn8jno

3 hours 35 minutes ago by superstarch on topsy

Link to the Dual Roles of the CIO: http://www.ciodashboard.com/cio-careers/cio-dual-roles/

12 hours 48 minutes ago by cbcurran on Boeing CIO: IT key to drive business growth

Here's another view of the dual roles of the CIO that I think is consistent. What we've found, however, is that only about 1 in 4 CIOs o...

12 hours 49 minutes ago by cbcurran on Boeing CIO: IT key to drive business growth

I agree with the author's sentiment in that Oracle seems to be set on a course to building an anti-open-source reputation. I don't agree ...

13 hours 53 minutes ago by sisto on Could Oracle fracture open source community?

Hi Rick, I like your point that there is a time and a place for automation, and that it can be quite effective when used properly. One su...

16 hours 13 minutes ago by XebiaLabs on Agile drivers for new project management tools

sorry for the double entry just a mistake

19 hours 24 minutes ago by notek on 5 ways to avoid removable media malware

Amazing and very informative blog one point i'd like to point out is that, for number 2 instead of completely restraining the use of remo...

19 hours 25 minutes ago by notek on 5 ways to avoid removable media malware

S'pore: Social media trumps paid keyword ads http://bit.ly/9Z7dNd

19 hours 42 minutes ago by lenwilton on topsy

Hi. My name is Philippe de Passorio, head of Total Immersion office in Apac. Since we have opened our subsidiary in Hong Kong 1 year ago,...

20 hours 28 minutes ago by philippe on APAC lags in augmented reality adoption

Haha, thought long and hard about how to phrase it... no worries, you owe me lunch then, ;)

23 hours 28 minutes ago by yedwin on Is M'sia's online world ready for free speech?

Nice post man. Looks like I don't have to write one on this now.

23 hours 50 minutes ago by davidlian on Is M'sia's online world ready for free speech?

The only reason Oracle has a leg to stand on here is that Sun didn't open source all of Java. The saw that Java as a desktop application...

1 day 32 minutes ago by txtechdog on Could Oracle fracture open source community?

I recently made some good experiences with CopyRight2 from Sys-Manage. You can download a trial version here: http://www.sys-manage.com/P...

1 day 10 minutes ago by JPatrick on Migrate shares from one Windows NT server to another

I have to disagree with the author's statement "If Oracle destroys OpenOffice and MySQL the Linux operating system would be left with, wh...

1 day 31 minutes ago by schumacr on Could Oracle fracture open source community?

Oracle may well kill OpenOffice and MySQL but the FOSS community has a better DB in PostgreSQL, and OOo will be forked to get out from un...

1 day 59 minutes ago by GreyGeek on Could Oracle fracture open source community?

sir want create my own accounting software but i dont know anythink abount the programing i try to improave my self with learn of some ex...

1 day 32 minutes ago by parveenidhi on Create a shortcut to a custom Word template