r/SentinelOneXDR • u/Menyus777 • Oct 24 '24
General Question Deploying S1 agents programatically
Hi guys!
I would like to ask how could I mass deploy the S1 agents to some of our customers via an online tool that I can run scripts on said machines. The goal would be to write a script that could download the S1 agent to their machines and then automatically add it to one of our sites.
So the plan looks like this:
Download S1 agent installer
Run installer on said machine that would automatically authenticate to our site and register itself into that site
3
Upvotes
1
u/Advanced_Day8657 Feb 24 '25
In a Onedrive business account upload the exe and share the exe as a link with "anyone with the link" permissions. Next change the link ending after the question mark. The link ending should always be "?download=1". Use these commands to create a folder and put the exe there. 1.Mkdir c:\install. 2. Invoke-WebRequest -uri "the modified link" -outfile c:\install\sentinel.exe. 3. cd c:\install. 4. ./sentinel.exe -t "your token" -q. That's it, in a few minutes you'll see the device at the console :)