Tuesday, July 28, 2009

Disable Check Disk at the start up

The /x switch will exclude a drive from the default boot-time check.

If you have drive C: as your hard drive, then the command to disable chkdsk from scanning C: drive would be:
chkntfs /x c:

This will work by modifying the BootExcecute value in the system registry. The BootExecute value is located in the following registry key:

HKEY_LOCAL_MACHINE\SYSTEM\CURRENTCONTROLSET\CONTROL\Session Manager

The default value is for BootExecute is autocheck autochk *. When you use the /x switch, it will add a /k parameter prior to the asterisk. The /k parameter excludes volumes from being checked for the presence of a dirty bit.

No comments:

Post a Comment