# How to install FenixPyre Windows Desktop Client via command line or RMM

### To install FenixPyre using the command line interface, do the following steps:

1. Download and unzip the installer zip file:
   * Go to the admin dashboard and click installers.
   * Click the download icon corresponding to your desired version of FenixPyre (note that this guide is for FenixPyre 6.2.0+).
   * Unzip the downloaded zip file to get the `FPSetup_v<version number of client>.exe` executable.
2. Open a Command Prompt or PowerShell window as an administrator.
3. Run the installer using your org-id and desired options (more information below).

```bash
FPSetup_v<version number of client>.exe --org-id <org-id> [parameters]
```

***

### Critical points to remember

* Ensure you have completed all the items in Minimum System Requirements.
* You must supply a valid organization id `org-id`.
* Should installation be non-responsive, verify the `org-id` parameter is correct and not empty.
* Ensure that you run the command at least once in non-silent mode to allow you to discover any errors. Once satisfied that the command works, add the `--silent` parameter for an unattended installation. You may also use a Remote Monitoring and Management (RMM) tool.
* All parameters are case-sensitive. You must enter them exactly as described. For example, `--SILENT` will not work and will generate an error.

***

### Parameters

#### `--org-id <org-id>`

* The org-id and domain name are case-sensitive.

#### `--silent`

* The installer will not display a user prompt or a progress bar during installation.
* The system will automatically reboot without prompting the user unless you also specify the `--reboot-prompt` option.

#### `--setup-logs <folder-path>`

* Logs created by the installer will be saved to the folder at `<folder-path>`.
* If the specified folder does not exist, the installer will create it.
* The installer will name the logs using the following format: `FPSetup_<date and time>.log`
* If you do not specify a folder, the installer will create the logs in the default path:\
  `C:\Users\Public\FenixPyreSetupLogs\FPSetup_<date and time>.log`

#### `--reboot-prompt`

* Use this parameter only when performing a silent installation.
* When supplied, the installer will prompt the user before rebooting the computer.

#### `--plugin-install`

* Installs Microsoft Office plugins only.

#### `--skip-reboot`

* This parameter tells the installer not to prompt the user to reboot the computer.
* The user will reboot manually and proceed with FenixPyre sign-in.

#### `--help`

* Displays a help window and ignores all other parameters.

#### `--skip-vcredist-check`

* `FenixPyreInstaller.exe` depends on Visual C++ Redistributable libraries (`msvcp140.dll`, `vccorlib140.dll`, `vcruntime140.dll`).
* This flag tells `FenixPyreInstaller.exe` to skip checking these dependencies.

#### `--disable-ignore-extensions`

* Sets the registry element `REGNAME_IGNORE_EXT_DISABLED`.
* Tells the FenixPyre agent to exclude hex, DLL, and config files from encryption.
* Available from FenixPyre agent version 4.0.0+.

#### `--disable-update-header`

* Disables the update Header feature of FenixPyre.
* Use if integrating with OneDrive/SharePoint.

#### `--enable-key-local-db`

* Enables Git support.

***

### Installation Examples

You can use the following commands to install FenixPyre with different options:

#### Regular install of FenixPyre with reboot prompt

Logs saved at: `C:\Users\Public\FenixPyreSetupLogs`

```bash
FPSetup_v<version number of client>.exe --install --org-id <org-id>
```

#### Silent install of FenixPyre (no reboot prompt)

Logs saved at: `C:\Users\Public\FenixPyreSetupLogs`

```bash
FPSetup_v<version number of client>.exe --install --org-id <org-id> --silent
```

#### Silent install with custom log folder

Logs saved at: `C:\Users\Public\my\custom\folder`

```bash
FPSetup_v<version number of client>.exe --install --org-id <org-id> --silent --setup-logs "C:\\Users\\Public\\my\\custom\\folder"
```

#### Silent install disabling network share operations

Logs saved at: `C:\Users\Public\FenixPyreSetupLogs`

```bash
FPSetup_v<version number of client>.exe --install --org-id <org-id> --silent --disable-NWShares
```

#### Regular install on Windows Server 2016+

```bash
FPSetup_v<version number of client>.exe --install --org-id <org-id> --skip-os-check
```


---

# Agent Instructions: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.fenixpyre.com/fenixpyre-for-admins/fenixpyre-windows-agent/how-to-install-fenixpyre-windows-desktop-client-via-command-line-or-rmm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
