Patent ID: 8145946

Claim:
A task execution apparatus including at least one processor and a memory communicatively-coupled via a bus that communicates with a device and executes a task to perform remote control of the device, the task execution apparatus comprising: an execution unit configured to execute the task on a plurality of devices; an acquisition unit configured to acquire a cause of failure in execution by the execution unit, wherein the acquisition unit determines that the task executed by the execution unit failed due to a security reason in a case where the device that is an operation target of the task executed by the execution unit supports a security mode, fails to write a setting value in a non-security mode, and succeeds to read the setting value in the non-security mode; a confirmation unit configured to confirm that each device of the plurality of devices on which the execution unit failed to execute the task does not support the task executed by the execution unit based on the cause acquired by the acquisition unit; and a re-execution unit configured to re-execute the task on each of the plurality of devices on which the execution unit failed to execute the task, wherein the re-execution unit excludes each of the plurality of devices from a re-execution target of the task, in a case where the confirmation unit confirms that each of the plurality of devices does not support the task executed by the execution unit.