# Batch File

Batch File tasks are scheduled for executing batch files on the computer. A Batch File task has a Start Time and an End Time. During this period, the batch file is executed on the computer. You must configure additional settings in the Batch File tab for the Batch File Task to work. You can configure to shutdown the computer after the Batch File Task is completed. Computers will reboot Frozen after the batch file has been executed.

The Batch File task can be scheduled by completing the following steps:

1. Select *Batch File* from the *Task Type* drop-down and click *Add*.
2. The following options are displayed:
   * Name – Specify a name for the task.
   * Day – Select the day, or specify if the task will occur on Weekdays or Weekends.
   * Start – Select the Start Time.
   * End – Select the End Time. The minimum interval is 15 minutes.
   * Allow user to cancel the task – Select the checkbox if the user is allowed to cancel the task before it starts.
   * Attempt to wake up locally – Select this option to wake up the computer locally without requiring any communication from the Deep Freeze Cloud Console.<br>

     Note that certain hardware profiles do not support this option. If this option is selected, but the computer hardware does not support it, the computer will not wake up automatically.
   * Shut down after task – Select the checkbox to shutdown the computer after the task.
   * Disable keyboard and mouse – Select the checkbox to disable keyboard and mouse during the task.
   * Show message – Select the checkbox to display a message on the computer *Before* and *During* the task. Specify the time interval in minutes and enter a brief message to be displayed before the task starts.
3. Click *OK*.
4. Go to [Batch File Tab](https://docs.faronics.com/deep-freeze-cloud/using-deep-freeze-cloud-console/deep-freeze-service/batch-file-tab) to configure additional settings.

{% hint style="info" %}
The message *This computer will reboot in %d for Batch File* is displayed in the *Message to be displayed before the task* field. This message can be edited. Add the word *minutes* in the message after %d to include the word minutes as part of the message.
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.faronics.com/deep-freeze-cloud/using-deep-freeze-cloud-console/deep-freeze-service/workstation-tasks-tab/batch-file.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
