How to run chkdsk in unattended mode (without user input) during automated deployment of SafeGuard client components

  • N.º del artículo: 113908
  • Actualizado: 30 nov 2011

Issue
When deploying SGN client components using batch scripts you may need to add chkdsk command to your script. Default command listed in our installation guide - chkdsk %systemdrive% /f /v /x"will prompt for user input: "Chkdsk cannot run because the volume is in use by another process. Would you like to schedule this volume to be checked the next time the system restarts? (Y/N), which needs to be bypassed in scripted installation.

Known to apply to the following Sophos product(s) and version(s)
SafeGuard Device Encryption all supported

Operating system
All supported

What to do

Method 1

use the following command from command prompt (Start > Run > cmd):

REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager" /v BootExecute /t REG_MULTI_SZ /d "autocheck autochk /p \??\C:"\0"autocheck autochk *" /f


Method 2

use the following command: 

echo Y | chkdsk C: /f /v /x


 

 
Si necesita más ayuda, póngase en contacto con soporte técnico.

Valore el artículo

Muy malo Excelente

Comentarios