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

  • Article ID: 113908
  • Rating:
  • 2 customers rated this article 6.0 out of 6
  • Updated: 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


 

 
If you need more information or guidance, then please contact technical support.

Rate this article

Very poor Excellent

Comments