> For the complete documentation index, see [llms.txt](https://docs.stoik.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.stoik.io/mdr/deploy/sentinelone/os/windows/troubleshooting.md).

# Troubleshooting

When a SentinelOne installation fails or the machine does not connect, go through the sections below in order. Each one tells you whether to move on to the next.

## Locate the problem

Find out whether the installation failed or the agent is installed but cannot reach the platform.

{% tabs %}
{% tab title="Without commands" %}

1. Press the Windows key, type `Add or remove programs` and press Enter.
2. In the search field of the list, type `Sentinel`.

| What you see                        | What it means                                                | What to do                                                                               |
| ----------------------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------------------------------- |
| `Sentinel Agent` is not in the list | The installation failed                                      | Go to [Run the .msi with administrator rights](#run-the-.msi-with-administrator-rights). |
| `Sentinel Agent` is in the list     | SentinelOne is installed but cannot reach the Stoïk platform | Go to [Installed but not connected](#installed-but-not-connected).                       |
| {% endtab %}                        |                                                              |                                                                                          |

{% tab title="With commands (IT teams)" %}
Open a command prompt or PowerShell as administrator: press the Windows key, type `cmd` (or `PowerShell` for the last check), right-click it, select `Run as administrator` and click `Yes`. The window title starts with `Administrator:`.

Is the agent installed and running?

```
sc.exe query SentinelAgent
```

* `The specified service does not exist` (error 1060): the agent is not installed. Go to [Run the .msi with administrator rights](#run-the-.msi-with-administrator-rights).
* `STATE : 4 RUNNING`: the agent is installed and running. Check its connection below.
* Any other state: the agent is installed but not running. Restart the machine, then check again.

Is the agent connected to the platform?

```
cd "C:\Program Files\SentinelOne\Sentinel Agent*"
sentinelctl management status
```

If `cd` fails, type `cd "C:\Program Files\SentinelOne\` and press Tab to complete the folder name. If the agent is not connected to the management server, go to [Installed but not connected](#installed-but-not-connected).

Can the machine reach the platform? In PowerShell, this tests port 443 to each domain in [Network requirements](https://docs.stoik.io/mdr/deploy/sentinelone/network.md). It can take a few minutes.

```powershell
$domains = "euce1-100","euce1-102","euce1-103","euce1-104","euce1-105","euce1-106","euce1-108","euce1-109","euce1-120-mssp","euce1-ir","euwe3-801"
$domains | ForEach-Object { $h = "$_.sentinelone.net"; [pscustomobject]@{ Domain = $h; Port443 = (Test-NetConnection $h -Port 443 -WarningAction SilentlyContinue).TcpTestSucceeded } }
```

* `True` on every line: the machine reaches the platform. If the agent is still not connected, check SSL inspection and the site token ([Installed but not connected](#installed-but-not-connected)).
* `False` on at least one line: a firewall or proxy blocks that domain. Take a screenshot and go to [Installed but not connected](#installed-but-not-connected).
  {% endtab %}
  {% endtabs %}

## Run the .msi with administrator rights

Use this if Windows did not show the `Do you want to allow this app to make changes to your device?` window and the installation failed: the installer may not have had administrator rights.

1. Press the Windows key, type `cmd`, right-click `Command Prompt`, select `Run as administrator` and click `Yes`.
2. Type `msiexec /i` followed by a space. Do not press Enter yet.
3. Drag the `.msi` file from the Desktop and drop it into the black window. Its full name appears after `msiexec /i`.
4. Press Enter. The installation window opens, this time with administrator rights.
5. Accept the license agreement, paste your site token in the `Site Token` field, click `Install`, then `Finish`.

Still failing? Go to [Basic checks](#basic-checks).

## Basic checks

Go through these checks in order. After each fix, install again.

* **Restart the machine.** A pending restart is the most common cause of failure. Click the Windows Start button, then the power icon, then `Restart`. If you see `Update and restart`, choose it and wait for the updates to finish.
* **Check that the previous antivirus is uninstalled.** In `Add or remove programs`, look for a security product (Sophos, ESET, Bitdefender, Kaspersky, Avast, AVG, McAfee, Norton, Trend Micro, Webroot, Symantec, WithSecure, CrowdStrike). If you find one, uninstall it and restart. If the uninstallation is blocked or asks for a password, contact whoever manages that antivirus. Microsoft Defender is built into Windows and does not appear in this list: leave it as it is.
* **Check that your account is an administrator.** Press the Windows key, type `Control Panel`, press Enter, then `User Accounts` > `User Accounts`. If the line under your name contains `Administrator`, your account is an administrator. Otherwise, ask someone with an administrator account to log in or to type their password during the installation.

Still failing with the `.msi`? Go to [Install from the command prompt](#install-from-the-command-prompt).

## Install from the command prompt

For Intel / AMD machines, when the sections above did not help. On ARM, this is the method of the install step: if it failed, try the PowerShell commands below with the arm64 file name.

1. In `C:\`, create a folder `Temp` and, inside it, a folder `S1`. Move the installer into `C:\Temp\S1`.
2. Press the Windows key, type `cmd`, right-click `Command Prompt`, select `Run as administrator` and click `Yes`.
3. Type the commands below, pressing Enter after each line. Replace `<version>` and `<site_token>`, and remove the `<` and `>` characters.

With the `.exe` (download `SentinelOneInstaller_windows_64bit_v<version>.exe` from the `Download the executable` menu first):

```
cd C:\Temp\S1
SentinelOneInstaller_windows_64bit_v<version>.exe -t "<site_token>" -q
```

Wait about 5 minutes, then type `echo %errorlevel%` and press Enter. `0` means the installation succeeded. Any other number: see [Exit code other than 0](#exit-code-other-than-0).

If it failed with the `.exe`, try the `.msi` in the same window. This command also writes a detailed log:

```
start /wait msiexec /i "SentinelInstaller_windows_64bit_v<version>.msi" SITE_TOKEN="<site_token>" /qn /norestart /L*v "C:\Windows\Temp\S1_install.log"
echo %errorlevel%
```

<details>

<summary>Last attempt: PowerShell</summary>

PowerShell does not always work with the installer, so use it only as a final attempt. Press the Windows key, type `PowerShell`, right-click `Windows PowerShell`, select `Run as administrator` and click `Yes`. Replace `<version>` and `<site_token>`, and keep the single quotes `'` and double quotes `"` exactly as they are.

With the `.exe` (on ARM, use the arm64 file name):

```powershell
cd C:\Temp\S1
Start-Process ".\SentinelOneInstaller_windows_64bit_v<version>.exe" -ArgumentList '-t "<site_token>" -q' -Wait -PassThru | Select-Object ExitCode
```

If it fails, with the `.msi`:

```powershell
Start-Process msiexec.exe -ArgumentList '/i "C:\Temp\S1\SentinelInstaller_windows_64bit_v<version>.msi" SITE_TOKEN="<site_token>" /qn /norestart /L*v "C:\Windows\Temp\S1_install.log"' -Wait -PassThru | Select-Object ExitCode
```

Wait until a number appears under `ExitCode`. `0` means the installation succeeded. Any other number: see [Exit code other than 0](#exit-code-other-than-0).

</details>

## Installed but not connected

The agent is on the machine but does not reach the Stoïk platform. The cause is almost always the network or the site token.

* **Site token**: a site token that was cut or pasted with a space installs the agent but never connects it. If in doubt, ask Stoïk to check it.
* **Firewall or proxy**: ask whoever manages the network to allow outbound traffic on port 443 to all the domains and IP addresses in [Network requirements](https://docs.stoik.io/mdr/deploy/sentinelone/network.md). No inbound port is needed. If the firewall inspects HTTPS traffic (SSL inspection), it must not inspect these domains (they all end with `.sentinelone.net`).
* Restart the machine after any network change, then wait 15 minutes.

To confirm the connection problem, or to give details to Stoïk, open a command prompt as administrator, then:

```
cd "C:\Program Files\SentinelOne\
sentinelctl management status
```

Press Tab after the path to complete the folder name. Take a screenshot of the result and send it to Stoïk with the agent logs in `C:\ProgramData\Sentinel\logs`.

## Exit code other than 0

| Code          | Meaning                                              | What to do                                                                                                                                                         |
| ------------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| 2015          | The machine does not meet SentinelOne's requirements | `C:\Windows\Temp\SC-exit-code.txt` names the failing requirement. Usual causes: a pending restart, leftovers of the previous antivirus, an outdated Windows build. |
| 2008          | The site token is missing                            | Run the command again with the site token: `-t "<site_token>"` for the `.exe`, `SITE_TOKEN="<site_token>"` for the `.msi`. Check that it was pasted in full.       |
| 100, 103, 104 | A restart is required                                | Restart the machine, then run the same command again.                                                                                                              |
| 1603          | The `.msi` installation failed                       | Open `C:\Windows\Temp\S1_install.log` and search for `Return value 3`: the lines just above give the cause.                                                        |
| 1618          | Another installation is already running              | Wait for Windows Update to finish, or restart.                                                                                                                     |
| 1663          | Wrong installer for this machine                     | Check the table in the install step and download the matching file.                                                                                                |

## Contact support

If nothing works, send the following to <protect@stoik.io>:

* A screenshot of the `About your PC` window (Windows version and processor type).
* The exact name of the file you used and the methods you tried.
* The error message or exit code, with a screenshot if possible.
* Whether another antivirus or a previous SentinelOne agent was installed, and whether a proxy or firewall filters outbound traffic.
* The logs below.

| Log                                            | Location                                                                      |
| ---------------------------------------------- | ----------------------------------------------------------------------------- |
| Installer exit code                            | `C:\Windows\Temp\SC-exit-code.txt` and `SC-after-reboot-exit-code.txt`        |
| `.msi` installation log (command prompt)       | `C:\Windows\Temp\S1_install.log`                                              |
| `.msi` installation log (double-click)         | `MSI*.log` files in `%TEMP%` (type `%TEMP%` in the File Explorer address bar) |
| Agent logs (agent installed but not connected) | `C:\ProgramData\Sentinel\logs`                                                |
| Windows events                                 | `Event Viewer` > `Windows Logs` > `Application`, source `MsiInstaller`        |

<details>

<summary>Gather the installation logs in a single file</summary>

This creates a `S1_logs.zip` file with the installation logs of the last two days.

1. Press the Windows key, type `PowerShell`, right-click `Windows PowerShell`, select `Run as administrator` and click `Yes`.
2. Copy the three lines below, then right-click once in the PowerShell window to paste them, and press Enter.

   ```powershell
   $out = "C:\Temp\S1_logs"; New-Item -ItemType Directory -Force $out | Out-Null
   Get-ChildItem "$env:TEMP","C:\Windows\Temp" -Include MSI*.log,SC-*.txt,S1_*.log -Recurse -ErrorAction SilentlyContinue | Where-Object LastWriteTime -gt (Get-Date).AddDays(-2) | Copy-Item -Destination $out
   Compress-Archive "$out\*" "C:\Temp\S1_logs.zip" -Force
   ```
3. Wait until a new line starting with `PS C:\` appears, then close the window. Red text about a file that cannot be found is not a problem.
4. Open File Explorer, type `C:\Temp` in the address bar and press Enter. Attach `S1_logs.zip` to your email.

Without PowerShell: open File Explorer, type `C:\Windows\Temp` in the address bar and press Enter. Click the `Date modified` column to show the newest files first, and copy the `SC-exit-code.txt`, `S1_install.log` and `MSI…log` files of today to the Desktop. Do the same with `%TEMP%` in the address bar. Attach these files to your email.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.stoik.io/mdr/deploy/sentinelone/os/windows/troubleshooting.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
