The simplest way to re-register a device is as follows:
- If re-registering using a single-use certificate that has been successfully registered before, ensure that the existing device has been deregistered in SquareOne Companion (see Device Management Screen).
- If re-registering using a batch certificate, this is not necessary as the steps described here result in a new assetId being generated for the device. However, it is important for the batch certificate to not have reached its use-limit.
- Delete the existing configuration and registration files on the device as follows:
- On Windows, delete the files cfg and dvc.cert.pem from the directory C:\ProgramData\SquareOne\IqEdge.
- Note that if the device has a hidden partition installed, the files will be located on there instead of on the C:\ drive. The files will be in the same location within the drive, i.e. <HP>\ProgramData\SquareOne\IqEdge, where <HP> is the hidden partition.
- On Linux, delete the cfg file with the command
- On Windows, delete the files cfg and dvc.cert.pem from the directory C:\ProgramData\SquareOne\IqEdge.
sudo rm /var/lib/datav/runtime.cfg
- Follow the regular instructions to complete the registration as normal.
Note that if a device is re-registering with the same identity (i.e. the same certificate and private key), it is not necessary to place the certificate and private key files again as described; simply follow the instructions to reboot the device or restart the SquareOne Edge Client service.
The exception to this rule is where the device has previously been Banned in Companion, this deletes all certificates. Banned devices can be recovered, contact Bsquare for assistance with this process.