1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Resolved Chkdsk runs at startup

Discussion in 'Windows XP' started by psaulm119, 2010/11/04.

  1. 2010/11/04
    psaulm119 Lifetime Subscription

    psaulm119 Geek Member Thread Starter

    Joined:
    2003/12/07
    Messages:
    1,424
    Likes Received:
    21
    I'm wondering why. When I let it continue, it never finds any errors, but will insist on running the next time Windows boots up. I did find a registry hack to keep this from happening, but just want to make sure that I'm not turning down the dial on a boiler that is about to blow.

    Is there a problem that could make chkdsk run, even if it gives you no error message?

    I did look in msconfig's startup tab, and checkdisk is not set to run.
     
  2. 2010/11/04
    broni

    broni Moderator Malware Analyst

    Joined:
    2002/08/01
    Messages:
    21,701
    Likes Received:
    116
    Click Start, then Run, type cmd, and click "Ok ".
    At the prompt in the command window that opens, type:
    fsutil dirty query C:
    and press "Enter ".
    Does the result of this indicate the drive is "Dirty "?
     

  3. to hide this advert.

  4. 2010/11/04
    psaulm119 Lifetime Subscription

    psaulm119 Geek Member Thread Starter

    Joined:
    2003/12/07
    Messages:
    1,424
    Likes Received:
    21
    No, partition C is not dirty. But I have two partitions. I typed in the same but changed "D," and it said that volume D is dirty.

    So now what?
     
  5. 2010/11/04
    broni

    broni Moderator Malware Analyst

    Joined:
    2002/08/01
    Messages:
    21,701
    Likes Received:
    116
    * If you have Spyware Doctor installed, uninstall it.
    * If you have ZoneAlarm installed, open it, click the "Overview" tab, then select "Preferences ", and UNcheck the "Protect ZA Client" check box.


    Click Start, then Run, type cmd in the Open box and click "OK ".
    At the prompt in the Command window, type the following commands, pressing "Enter" after each one:
    Please, note the spaces.

    * chkntfs /d <--- (This will reset autocheck options to default...will come back invalid on some installations)
    * chkntfs /c C: <--- (This will allow checking the specified drive )
    * chkntfs /x C: <--- (The x switch tells Windows to NOT check the specified drive on the next boot)


    At this point, restart your computer, it will not do a chkdsk and will boot directly to Windows.


    This next step is important as this is where the Dirty Bit will be unset.

    Click Start, then Run, type cmd in the Open box and click "OK ".
    At the command prompt, type the following, pressing "Enter" after each one:
    Again, note the spaces.

    * chkdsk /f /r C: <--- (To manually run a full chkdsk operation on the specified drive)
    * Y <--- (To accept having it run on the next boot)


    This should take you through 5 stages of the scan and will unset the Dirty Bit.
    Be patient...this is a very thorough check and will take quite a while.

    Finally, when the chkdsk operation has completed, type:
    fsutil dirty query C:
    press "Enter ", and Windows will confirm that the Dirty Bit is not set on that drive.

    Reboot again and see if chkdsk still runs on startup.
     
    rsinfo likes this.
  6. 2010/11/04
    psaulm119 Lifetime Subscription

    psaulm119 Geek Member Thread Starter

    Joined:
    2003/12/07
    Messages:
    1,424
    Likes Received:
    21
    Was this designed for a computer with only a c partition? I did what you said, rebooted, and it ran checkdisk but only for the D partition.

    IN other words, how would I modify

    * chkntfs /d <--- (This will reset autocheck options to default...will come back invalid on some installations)
    * chkntfs /c C: <--- (This will allow checking the specified drive )
    * chkntfs /x C: <--- (The x switch tells Windows to NOT check the specified drive on the next boot)

    for c and d partitions?
     
  7. 2010/11/04
    psaulm119 Lifetime Subscription

    psaulm119 Geek Member Thread Starter

    Joined:
    2003/12/07
    Messages:
    1,424
    Likes Received:
    21
    I went ahead and typed in
    chkdsk /f /r C: <--- (To manually run a full chkdsk operation on the specified drive)
    * Y <--- (To accept having it run on the next boot)

    But instead of C, typed in D. Windows gave me a warning about unmounting this or that, and asked if I really wanted to do it. Said it was being used by something or other. So I just xed out.
     
  8. 2010/11/04
    broni

    broni Moderator Malware Analyst

    Joined:
    2002/08/01
    Messages:
    21,701
    Likes Received:
    116
    You have to replace C: with D: in 2nd and 3rd command.
    Disregard any Windows warnings.
     
  9. 2010/11/04
    psaulm119 Lifetime Subscription

    psaulm119 Geek Member Thread Starter

    Joined:
    2003/12/07
    Messages:
    1,424
    Likes Received:
    21
    OK I did all that and all five tests completed. It said there were 0 sectors with errors (or bad sectors?).

    I rebooted and no chkdsk.

    I guess that fixed it, although I "m wondering, if nothing was wrong, why Windows insisted on running it at startup until now.
     
  10. 2010/11/04
    broni

    broni Moderator Malware Analyst

    Joined:
    2002/08/01
    Messages:
    21,701
    Likes Received:
    116
    We may never know.

    If you want a real hard drive test...

    Run hard drive diagnostics: http://www.tacktech.com/display.cfm?ttid=287 (or http://www.bleepingcomputer.com/forums/index.php?showtopic=28744&hl=hard+drive+diagnostic)
    Make sure, you select tool, which is appropriate for the brand of your hard drive.
    Depending on the program, it'll create bootable floppy, or bootable CD.
    If downloaded file is of .iso type, use ImgBurn: http://www.imgburn.com/ to burn .iso file to a CD (select "Write image file to disc" option), and make the CD bootable.
    For Toshiba hard drives, see here: http://sdd.toshiba.com/main.aspx?Pa...rivesUSandCanada/SoftwareUtilities#diagnostic

    Note : If you do not know how to set your computer to boot from CD follow the steps here
     
  11. 2010/11/04
    psaulm119 Lifetime Subscription

    psaulm119 Geek Member Thread Starter

    Joined:
    2003/12/07
    Messages:
    1,424
    Likes Received:
    21
    Thanks. I've got a Samsung and I went to the link and saw a cd-iso to burn. I'll take care of that at some point this coming week.

    At least now I can rest secure, not wondering if my hdd is gonna go south.
     
  12. 2010/11/04
    broni

    broni Moderator Malware Analyst

    Joined:
    2002/08/01
    Messages:
    21,701
    Likes Received:
    116
    You're very welcome :)
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.