Attendance Agent Desktop Controls
=================================

These files control the existing Windows Scheduled Task only:

ContainerLoadPlanner-AttendanceAgent

They do not contain server passwords, API keys, fingerprint-device passwords, or private data.

Files:

- attendance-agent-control-ui.ps1
  Opens a visible control panel for status, enable, disable, and run now.

- attendance-agent-action.vbs
  Runs the quick desktop commands without showing a black CMD window.

- attendance-agent-control.ps1
  Controls the existing Windows Scheduled Task.

- Install-Desktop-Controls.ps1
  Recreates the desktop shortcuts if they were deleted.

How to restore shortcuts:

1. Extract this ZIP.
2. Right-click Install-Desktop-Controls.ps1.
3. Choose Run with PowerShell.

If Windows blocks the script, open PowerShell in this folder and run:

powershell -NoProfile -ExecutionPolicy Bypass -File .\Install-Desktop-Controls.ps1

The installer copies the control files to:

%LOCALAPPDATA%\ContainerLoadPlanner\AttendanceAgentControls

Then it creates desktop shortcuts that point to that stable folder.

The installer creates:

- Attendance sync control panel.
- Enable attendance sync.
- Disable attendance sync.
- Run attendance sync now.
