Batch file creation in MAC to Fore Reconnect Cortex Agent

Showing results for 
Show  only  | Search instead for 
Did you mean: 

Batch file creation in MAC to Fore Reconnect Cortex Agent

L1 Bithead

Hi Everyone,


 I would like to force reconnect the workstation that is in old Cortex Tenant to the new Cortex Tenant we have.

Is is possible to create a batch file for this so it can help us to work easily? is the .bat format applicable in MAC OS?


Thank you in advance everyone! 

Hoping to hear from you all your thoughts/insights. 




L4 Transporter



Yes! Reconnect Command for MAC agents, is available. You will able to Migrate devices from old tenant to new tenant using bash script(MAC doesn't support .bat). If you have access to old tenant I would suggest following below steps to migrate the endpoint to new tenant.

1. Create a new MAC OS agent installation package in the new tenant and copy the agent id.

2. Go to old tenant-->Endpoints--> All Endpoints--> Filter out MAC devices.

3. Press Alt(Windows) or Command(Mac)--> Select MAC devices--> Right click on any Agent --> Endpoint Control --> Change Managing Server


4. Paste the Agent Installation ID which you have created in step 1 & Click Move.



You can monitor the progress in Action Center Under Incident & Response.


Hope this will suffice your need. Please mark the response as "Accept as Solution" if it answers your query.





Ashutosh Patil
  • 1 replies
  • 78 Subscriptions
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!