Knowledge Base

Second Instance of ScanDisk Returns Incorrect Exit Code

Article ID: 135958

Article Last Modified on 1/19/2007


APPLIES TO


This article was previously published under Q135958

SYMPTOMS

If you schedule two ScanDisk tasks in System Agent that overlap, the second task quits immediately with an exit code of 0. This causes ScanDisk to report that no errors were found, even though ScanDisk did not complete its scan.

CAUSE

You can run only one instance of ScanDisk at a time. If you try to start a second instance, the second instance quits immediately, and generates an incorrect exit code.

RESOLUTION

Do not schedule two ScanDisk tasks in System Agent that overlap.

Keywords: KB135958