Skip to content

Device Link to CapaOne

This guide shows you how to link your devices to CapaOne. There are two options, both shown below:

  1. Run a PowerShell script on the client.
  2. 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.
CapaOne Agent package in the CapaInstaller folder under Computer Packages
2 Link the package to the computers.
CapaOne Agent package linked to 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.
CapaOne dashboard menu item on a device
4 Sign in to https://dash.capaone.com, and verify that you can see your client in your dashboard view.
Client shown in the CapaOne dashboard

How to link single devices to CapaOne with PowerShell script:

Description
1 Sign in to your https://dash.capaone.com account.
CapaOne dashboard sign-in page
2 Click the Download and install agent tab, and copy your PowerShell script.
Download and install agent tab with the PowerShell script
3 Paste the PowerShell script into PowerShell on the client, and run it.
PowerShell script running on the client
4 Make sure that the client is now linked to CapaOne in your https://dash.capaone.com account.
Client linked in the CapaOne dashboard

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.

  1. 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 the COA service to start, the service didn’t start.

  2. Check the service. In PowerShell, run:

    Terminal window
    Get-Service COA

    The service’s display name is CapaOneAgent.

  3. If the service isn’t running, restart the device. A pending Windows restart can stop the service from starting.

  4. If the device still doesn’t appear, check the agent logs in C:\ProgramData\CapaSystems\COA\Logs for errors.

The COA service runs, and the device appears in CapaOne.

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 denied

On 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.

  1. Restart the device, and run the package again. A restart often releases the locked file.

  2. 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()
  3. Save the package, and run it again on the device.

The package installs the CapaOne Agent.