Win2K Chkdsk

Discussion in 'Software' started by Scousetechie, Jul 31, 2003.

  1. Scousetechie

    Scousetechie Specialist

    Does anybody know how to force a Win2k machine to automatically do a chkdsk on startup?

    On Win98 machines I used to just put a line in the autoexec.bat but that won't work on Win2k.

    Any ideas?
     
  2. exeter_acres

    exeter_acres Sergeant

    if I remember just type:

    chkdsk /f

    at the command prompt?

    I think.....
     
  3. da chicken

    da chicken MajorGeek

    Yeah, but that's interactive. You'd have to set up an input redirect to automatically type "Y<ENTER>".
     
  4. da chicken

    da chicken MajorGeek

    Here ya go:
    http://support.microsoft.com/default.aspx?scid=kb;en-us;197527

    I'd just make a batch file that gets called by your Startup folder if autoexec.bat doesn't work. Kind of a wonky work-around. There out to be a policy you can set to do this automatically. :/

    Here's a DOS command that checks drives C:, D:, and E:. if necessary, it will schedule.
    Code:
    for %x in (c: d: e:) do echo y|chkdsk %x /f/r
    
    You can replace (c: d: e:) with whatever you want. (c: h: l: e: f: k:), for example. Note: That's a pipe after "echo y", not a lower-case l or capital I.
     
    Last edited: Jul 31, 2003
  5. Scousetechie

    Scousetechie Specialist

    Thanks mate, I owe you one!
     

MajorGeeks.Com Menu

Downloads All In One Tweaks \ Android \ Anti-Malware \ Anti-Virus \ Appearance \ Backup \ Browsers \ CD\DVD\Blu-Ray \ Covert Ops \ Drive Utilities \ Drivers \ Graphics \ Internet Tools \ Multimedia \ Networking \ Office Tools \ PC Games \ System Tools \ Mac/Apple/Ipad Downloads

Other News: Top Downloads \ News (Tech) \ Off Base (Other Websites News) \ Way Off Base (Offbeat Stories and Pics)

Social: Facebook \ YouTube \ Twitter \ Tumblr \ Pintrest \ RSS Feeds