Atakama is configured to run by default when a user logs in. However, you can configure Windows Task Scheduler to launch Atakama without requiring user login. The Task Scheduler can facilitate functions such as the Key Shard Server and Auto Encryption to work after unplanned outages that may require restarts.
Create a task to launch Atakama after server restart
Open Task Scheduler: Press "Windows + R" to open the Run dialog, type "taskschd.msc" (without quotes), and hit Enter. This will open the Task Scheduler application.
Create a new task: In the Task Scheduler window, click on "Create Basic Task..."in the Actions pane on the right side.
Name the task: Launch Atakama at boot
Trigger: Select "When the computer starts" as the trigger.
Action: Choose "Start a program" as the action to be performed when the trigger is activated.
Program/script: Click the "Browse" button and select “AtakamaW.exe” from the C:\Program Files\Atakama (Atakama.exe does not work for this task).
Finish: Review your settings and click "Finish" to create the task.
Open the task, go to:
General and select Run whether user is logged on or not.
Settings tab and uncheck the option “Stop the task if it runs longer than” and click OK.
You will need to type in the login's password to allow this task to run without logging in.
Create a task to launch Atakama after logoff (required if Key Shard Server is also used as an administrator)
Open Task Scheduler: Press "Windows + R" to open the Run dialog, type "taskschd.msc" (without quotes), and hit Enter. This will open the Task Scheduler application.
Create a new task: In the Task Scheduler window, click on "Create Basic Task..." in the Actions pane on the right side.
Name the task: Give your task a descriptive name and add an optional description to help identify its purpose.
Trigger: Select "When a specific event is logged" as the trigger.
Configure the trigger settings:
Log: Select "Security" from the drop-down menu.
Source: Type "Microsoft-Windows-Security-Auditing" (without quotes) in the Source field.
Event ID: Enter "4647" (without quotes). This Event ID corresponds to a logoff event.
Action: Choose "Start a program" as the action to be performed when the trigger is activated.
Program/script: Click the "Browse" button and select “AtakamaW.exe” from the C:\Program Files\Atakama (Atakama.exe does not work for this task).
Finish: Review your settings and click "Finish" to create the task.
Open the task, go to:
General and select Run whether user is logged on or not.
Settings tab and uncheck the option “Stop the task if it runs longer than” and click OK.
You will need to type in the login's password to allow this task to run without logging in.
Note: You need to disable Atakama from startup (can be done via Task Manager) to prevent multiple Atakama processes from starting up and potentially causing issues for the Key Shard Server.
Create a task to launch Atakama to auto-encrypt a specific folder daily
Open Task Scheduler: Press "Windows + R" to open the Run dialog, type "taskschd.msc" (without quotes), and hit Enter. This will open the Task Scheduler application.
Create a new task: In the Task Scheduler window, click on "Create Basic Task..."in the Actions pane on the right side.
Name the task: Launch Atakama at boot
Trigger: Select "Daily" as the trigger.
Set a specific time when the task will be triggered.
Action: Choose "Start a program" as the action to be performed when the trigger is activated.
Program/script: Click the "Browse" button and select “Atakama.exe” from the C:\Program Files\Atakama folder. In the "Add arguments" field, add "file protect [folder path] --recursive" (without the quotes and replace [folder path] with the backend path of the secure folder).
Finish: Review your settings and click "Finish" to create the task.
Open the task, go to:
General and select Run whether user is logged on or not.
Settings tab and uncheck the option “Stop the task if it runs longer than” and click OK.
You will need to type in the login's password to allow this task to run without logging in.