CHKDSK

1:

Como parar ou evitar que o CHKDSK arranque:

Existem varias situações que por vezes necessitamos de evitar que um CHKDSK corra automaticamente,

A nossa recomendação é que o chkdsk corra sempre sendo desta forma a única maneira de sabermos que o volume esta sem corrupção,

Existem excepções especialmente quando falamos de volumes muito grandes e não temos janela de tempo para permitir que o chkdsk corra durante varias horas,

SERVIDOR NÃO CLUSTER:

Como prevenir:

1. Arrancar o Registry Editor.

2. localizar a seguinte chave:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager

3. Mudar a entrada de BootExecute de: autocheck autochk * /p \??\C: autocheck autochk * para autocheck autochk *.

Outra Maneira:

C:\Users\>chkntfs /?

Displays or modifies the checking of disk at boot time.

CHKNTFS volume [...]

CHKNTFS /D

CHKNTFS /T[:time]

CHKNTFS /X volume [...]

CHKNTFS /C volume [...]

volume Specifies the drive letter (followed by a colon),

mount point, or volume name.

/D Restores the machine to the default behavior; all drives are

checked at boot time and chkdsk is run on those that are

dirty.

/T:time Changes the AUTOCHK initiation countdown time to the

specified amount of time in seconds. If time is not

specified, displays the current setting.

/X Excludes a drive from the default boot-time check. Excluded

drives are not accumulated between command invocations.

/C Schedules a drive to be checked at boot time; chkdsk will run

if the drive is dirty.

Exemplo:

CHKNTFS C: /X

160963  CHKNTFS.EXE: What You Can Use It For

https://support.microsoft.com/default.aspx?scid=kb;EN-US;160963

SERVIDOR CLUSTER:

Para evitar:

Abrir um cmd e escrever:

"cluster clustername res "Disk E" /priv Skipchkdsk=1"

Depois de correremos o chkdsk ao volume deveremos aplicar o comportamento normal do cluster ao disco,

“cluster clustername res "Disk E" /priv Skipchkdsk=0"

223023  Enhanced disk resource private properties when using Cluster Server

https://support.microsoft.com/default.aspx?scid=kb;EN-US;223023