Device Link to CapaOne
This guide shows you how to link your devices to CapaOne. There are two options, both shown below:
- Run a PowerShell script on the client.
- Pass the CapaOne Agent Package to the client.
How to link your device with CapaOne with CapaSystems CapaOne Agent Package:
| Description | |
|---|---|
| 1 | In your root Configuration Management Point, go to Applications and Packages → Computer Packages → CapaInstaller. Here you find the CapaOne Agent package. To use it in another Configuration Management Point, promote it from the root point. ![]() |
| 2 | Link the package to the computers. ![]() |
| 3 | When the package status is Installed on the client, and Hardware Inventory has run, right-click the client and select CapaOne dashboard…. The device opens in the CapaOne dashboard at https://dash.capaone.com. ![]() |
| 4 | Sign in to https://dash.capaone.com, and verify that you can see your client in your dashboard view. ![]() |
How to link single devices to CapaOne with PowerShell script:
| Description | |
|---|---|
| 1 | Sign in to your https://dash.capaone.com account. ![]() |
| 2 | Click the Download and install agent tab, and copy your PowerShell script. ![]() |
| 3 | Paste the PowerShell script into PowerShell on the client, and run it. ![]() |
| 4 | Make sure that the client is now linked to CapaOne in your https://dash.capaone.com account. ![]() |
Troubleshooting
Section titled “Troubleshooting”The device doesn’t appear in CapaOne after the package installs
Section titled “The device doesn’t appear in CapaOne after the package installs”The CapaOne Agent package ends with Job executed successfully, but the device doesn’t appear
in CapaOne. The CapaInstaller job log shows the result of the package, not whether the CapaOne Agent
started and contacted CapaOne.
-
On the device, open the MSI log of the agent installation:
C:\Program Files\CapaInstaller\Client\Logs\Msilogs\Appl_Install_CapaOne Agent.Log. If the installation waited a long time for theCOAservice to start, the service didn’t start. -
Check the service. In PowerShell, run:
Terminal window Get-Service COAThe service’s display name is CapaOneAgent.
-
If the service isn’t running, restart the device. A pending Windows restart can stop the service from starting.
-
If the device still doesn’t appear, check the agent logs in
C:\ProgramData\CapaSystems\COA\Logsfor errors.
The COA service runs, and the device appears in CapaOne.
The package fails with Runtime Error (70)
Section titled “The package fails with Runtime Error (70)”The CapaOne Agent package fails with Job Failed before the agent is installed. The log shows a
line like this, during the DeleteOldLogFiles step:
File_DelFile : Runtime Error (70) : Permission deniedOn a Danish Windows installation, the error text is Tilladelse nægtet.
Before it installs the agent, the package deletes old .tmp files in C:\Windows\Temp. If one
file is locked or read-only, the delete fails, and the job stops.
-
Restart the device, and run the package again. A restart often releases the locked file.
-
If the package still fails, turn off the cleanup step. The agent installation doesn’t need it. In the package script, put
'in front of this line, so it becomes a comment:'If bStatus Then bStatus=DeleteOldLogFiles() -
Save the package, and run it again on the device.
The package installs the CapaOne Agent.







