This is a guide on how to fix a device that is having trouble registering the agent and is seeing the "Is your device already registered?" error message.
Prerequisites
- When installing the device through the agent installer, you are seeing the following message in the browser pop-up "Is your device already registered?".
Procedure
When seeing the error message as described above, you will want to try an agent reset:
Mac
- Open terminal (easiest way is cmd + space bar & search for 'terminal')
- Type
sudo /usr/local/vanta/vanta-cli reset
- Hit 'Return'. It may ask you for a password (use the password you have to download apps or to open your computer)
- Type
sudo /usr/local/vanta/vanta-cli register --secret=VANTA_KEY --email=YOUR_EMAIL
Windows
- Search for cmd.exe in the search bar. Right-click and select “run as administrator.”
- Type
C:\PROGRA~1\Vanta\vanta-cli reset
and pressreturn
- Type
C:\PROGRA~1\Vanta\vanta-cli register --secret=VANTA_KEY --email=YOUR_EMAIL
*YOUR_EMAIL is the email the user use to login to Vanta
*VANTA_KEY is only available to Admin and Editor. Please contact your Admin for the VANTA_KEY.
The VANTA_KEY can be found in the Computers page -> Unmonitored tab -> View Setup Instructions -> Option 3: MDM and Vanta agent.
- Run the reset command from the Vanta-cli:
- Mac -
- Open terminal (easiest way is cmd + space bar & search for 'terminal')
- Type
sudo /usr/local/vanta/vanta-cli reset
- Hit 'Return'. It may ask you for a password (use the password you have to download apps or to open your computer)
- Windows -
- Search for cmd.exe in the search bar. Right-click and select “run as administrator.”
- Type
C:\PROGRA~1\Vanta\vanta-cli reset
and hit 'Return'
- Mac -
- Locate the company's Vanta Key, This can be provided to you by your admin.
- Vanta Admin can locate the key within Vanta using the following steps:
- Navigate to the Computers Page
- Click on the Unmonitored Tab
- Click on View Setup Instructions
- Click on Option 3: MDM and Vanta Agent
- Look for the phrase VANTA_KEY
- Vanta Admin can locate the key within Vanta using the following steps:
- Run the below command prompt in your terminal, replacing 'VANTA_KEY' with the key from the previous step, and 'YOUR_EMAIL' with the email for the device's primary
- Mac -
- Open terminal (easiest way is cmd + space bar & search for 'terminal')
- Type
sudo /usr/local/vanta/vanta-cli register --secret=VANTA_KEY --email=YOUR_EMAIL
and hit 'Return'. - For example:
sudo /usr/local/vanta/vanta-cli register --secret=1232131231asdasd --email=abc@defg.com
- Windows -
- Search for cmd.exe in the search bar. Right-click and select “run as administrator.”
- Type
C:\PROGRA~1\Vanta\vanta-cli register --secret=VANTA_KEY --email=YOUR_EMAIL
and hit 'Return'
- For example:C:\PROGRA~1\Vanta\vanta-cli register --secret=1232131231asdasd --email=abc@defg.com
- Mac -
Additional Resources
- For more Vanta agent-related articles, please visit Vanta Agent section.