# Send Commands to device

> Send commands to enrolled devices, which stay pending in the system until the device picks them up.

Source: https://docs.capaone.com/capainstaller/the-capainstaller-console/configuration-management/how-to-use-configuration-management/working-with-devices/send-commands-to-device/  
Product: CapaInstaller — a separate CapaSystems product; do not apply this page to any other.

From Configuration Management it is possible to send a number of commands to enrolled devices.

### Managing commands

These commands will be created as pending in the system and carried out when contact with the device is established.

<details>
<summary>How to send, view pending and delete commands to devices...</summary>

- **Right-click** the device and **expand** the 'Send Command' context menu.
- Depending on the device a set of available commands will be shown in the "Send Command" menu

![](/attachments/capainstaller/944a9cb2-25d7-4250-91d4-1b41d7639413.webp)

:::tip
The Wipe Command can be scheduled to be carried out at a specific date and time.
:::

### Viewing pending commands

In order to see which commands have been created and are still pending, select a device in the navigation pane, and select 'Commands' in the top panel of the content view.

![](/attachments/capainstaller/76923124-05ce-48f8-8600-08f486cd912f.png)

### Canceling device commands

Commands that have been issued to devices, can be canceled if they haven't yet been sent to the device.

In order to see which commands have been created and are still pending on a device, select it in the navigation pane, and click 'Commands' in the top panel of the content view.

Right-click the command or commands that are no longer needed, and select 'Delete'.

</details>

### Common commands

<details>
<summary>Available commands all CapaInstaller managed devices</summary>

- ### Get Inventory

  Collects inventory data from the device, which is then available in the detail view for that device in the CapaInstaller Console

- ### Clear passcode

  Enables the device to be unlocked without the need for a passcode. If a policy exists that requires a passcode, a grace period will be given to enter a new passcode

- ### Lock

  Requires a lock screen to be set up on the device, with either pin, password, or pattern.

  Will cause the device to be remotely locked like pressing the lock button on the device.

  If authentication is set up it will be required to unlock the device.

- ### Wipe

  The Wipe command erases all device data and restores it to factory defaults.

  This command can be scheduled for a specific time

- ### Rename

  Renames the selected device

</details>

### Device Owner commands

- ### **Lost Mode**

  |   Step | Configuration                                                                                                                                                                                                                                                                          |
  |-------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  |      1 | First, right-click your device, expand “Send Command”, and click “Device is lost” <br/> ![](/attachments/capainstaller/38309fa2-4d6f-414b-9c5a-7a9a38b1a6c5.png)                                                                                                                       |
  |      2 | Type a message, and phone number, and click “OK”. <br/> ![](/attachments/capainstaller/18d489ba-8e5e-4ce6-baf4-f81bd2710491.png)                                                                                                                                                       |
  |      3 | On the device, it will look like this, and you have to type the last 6 digits of the phones UUID if you want to enter the phone: <br/>![](/attachments/capainstaller/2baa9f7f-98b8-4e68-a48e-f0fd1e65a85c.png)![](/attachments/capainstaller/d09741e6-8aff-48c1-9c62-a4f7877bf1fc.png) |
  |      4 | When you have found your device, right-click your device, click “Send Command” and click “Device Found Again” <br/> ![](/attachments/capainstaller/9fe1b609-6ea9-46c3-9358-db6356db18b0.png)                                                                                           |

### Samsung Knox commands

- ### **Lost Mode**

  |   Step | Configuration                                                                                                                                                                                                                                                                           |
  |-------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  |      1 | First, right-click your device, expand “Send Command”, and click “Device is lost” <br/> ![](/attachments/capainstaller/4856ea6c-9597-4fba-aaab-8c6e1d2dafd8.png)                                                                                                                        |
  |      2 | Type a message, phone number, and footnote and click “OK”. <br/> ![](/attachments/capainstaller/6c6ceb4f-d53d-48fd-ba52-3520c4495cde.png)                                                                                                                                               |
  |      3 | On the device, it will look like this, and you have to type the last 6 digits of the phones UUID if you want to enter the phone: <br/> ![](/attachments/capainstaller/30de353f-7e29-46d8-9a5b-8a2128bfbda4.png)![](/attachments/capainstaller/647b95da-a461-47b0-912d-d15f17c5d81d.png) |
  |      4 | When you have found your device, right-click your device, click “Send Command” and click “Device found again": <br/> ![](/attachments/capainstaller/4a7e5314-686a-4558-8725-e0145f0022eb.png)                                                                                           |

### iOS commands

<details>
<summary>Specific commands for devices running iOS</summary>

- ### Lost Mode

  |   Step | Configuration                                                                                                                                                                                |
  |-------:|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
  |      1 | First, right-click your device, expand “Send Command”, and click “Device is lost” <br/> ![](/attachments/capainstaller/873e7b3b-015c-49f6-8d79-772956255c4c.png)                             |
  |      2 | Type a message, and phone number, and click “OK”. <br/> ![](/attachments/capainstaller/4c1bc0fc-03bc-442f-a49c-55e958c566b9.png)                                                             |
  |      3 | On the device, it will look like this: <br/> ![](/attachments/capainstaller/5d168aa4-0faf-4087-a63b-26c2f65c86a6.png)                                                                        |
  |      4 | When you have found your device, right-click your device, click “Send Command” and click “Device found again” <br/> ![](/attachments/capainstaller/6a7265f2-0541-4249-ade2-ebd25b7e06ec.png) |
  |      5 | On the device, it will look like this: <br/> ![](/attachments/capainstaller/d4083030-13ce-4174-bcb4-8478a177d05b.png)                                                                        |

- ### **Update operating system for iOS**

:::note[Important]
The phone must be on charge (or have at least 50% battery) and be connected to Wi-Fi

Check [Apple Documentation | iOS Update](https://support.apple.com/en-om/guide/mdm/mdm02df57e2a/web) for further information.
:::

|   Step | Configuration                                                                                                                                                                                                                                             |
|-------:|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|      1 | First, make sure that "Update Is Available" is set to "True" <br/> ![](/attachments/capainstaller/49467aa0-f556-4114-84bf-6f6d0bdfbd2b.png)                                                                                                               |
|      2 | Right-click your apple device, click send command, and then click "Update Operating System" <br/> ![](/attachments/capainstaller/ba53fc4d-6d12-4aea-828a-50912cf9d567.png)                                                                                |
|      3 | Click on "Download and install update". (Note that the device will restart) <br/> ![](/attachments/capainstaller/85c9de3e-63e2-4f9c-8c7f-410070ff6944.png)                                                                                                |
|      4 | Check the update has started under inventory in your device <br/> ![](/attachments/capainstaller/1d69e331-64fc-44e3-b096-4e5ab76fe155.png)                                                                                                                |
|      5 | Make sure that the update status now is set to "installing" <br/>❗ Be aware that the "Installing" status will not update until a user is logging on to the iOS device <br/> **![](/attachments/capainstaller/68ed8049-4d78-4e1e-8aa4-7c4445e99746.png)** |
|      6 | Make sure you have the software update installed. <br/> ![](/attachments/capainstaller/c2c7c15f-fcaf-4285-854a-8fa6d56a26df.png)                                                                                                                          |

</details>

## Related

- [Units in Configuration Management](/capainstaller/the-capainstaller-console/configuration-management/what-is-configuration-management/units-in-configuration-management/)
