Welcome To Funfani. Please Login.

Login with username, password and session length




October 03, 2026, 01:42:14 AM
Funfani.com - Spreading Fun All Over!INFORMATION CLUBTechnical TipsHow to schedule a CHKDSK on every boot
Pages: Pages1
Print
Author Topic: How to schedule a CHKDSK on every boot  (Read 1,180 times)
0 Members and 1 Guest are viewing this topic.
Vatsal
Administrator
FF Trailblazer


Karma: 0
Offline Offline

Posts: 2,218


« on: December 27, 2005, 08:54:35 AM »

Create a file, C:\Y.TXT that contains: Y
Create a file C:\CHKBOOT.BAT that contains:

chkdsk C: /F <c:\y.txt or chkdsk C: /F /R <c:\y.txt
exit

If you have a D drive, just add another line, etc..

If you always logon to the server, just put C:\CHKBOOT.BAT in your StartUp group or download AUTOEXNT. This service will execute a batch file during system boot.

You can do this with one file as follows: (Provided by Keith Gorham)

echo y | chkdsk Drive: /f
exit

Logged
Pages: Pages1
Print

Jump to: