# Bulk Installation Methods for FSO Agent in Windows You can install the FSO agent in multiple machines for Windows in one go using one of the following methods: - [Active Directory (AD)](#active-directory-ad) - [Custom Scripts](#custom-scripts) - [During Agent Installation](#during-agent-installation) - [Via System Center Configuration Manager (SCCM)](#via-system-center-configuration-manager-sccm) - [Via ManageEngine Endpoint Central](#via-manageengine-endpoint-central) ## Active Directory (AD) ### Prerequisite After a reboot, the server monitoring agent will be installed. Make sure that the Active Directory (AD) is configured properly to accommodate the installation process. ### Instructions 1. Create a network share in your Windows machine. For example: **\\MyServer\MyShare** 2. Download the FSO agent and save the files **ApplicationsManager_Windows_Installer.msi** and [InstallAgent.vbs](https://www.manageengine.com/products/applications_manager/help/InstallAgent.vbs). 3. Edit the **InstallAgent.vbs** file. Then find *[COMMAND-LINE-PARAMS]* and replace it using the parameters given below. Input your Device Key from the Applications Manager web client (**Settings → REST API → Applications Manager**). ``` EDITA1=[Your_Applications_Manager_Device_Key] ``` 4. Include the path of the network share with *ApplicationsManager_Windows_Installer.msi* ``` \\MyServer\MyShare\ApplicationsManager_Windows_Installer.msi ``` 5. For a proxy server, follow the below format: ``` EDITA1=[Your_Applications_Manager_Device_Key] ENABLEPROXY=yes ProxyServerName=[proxyservername]:[port] ProxyUserName=[proxyusername] ProxyPassword=[proxypassword] ``` 6. To define the Group Policy Management, refer to this article: https://pitstop.manageengine.com/portal/en/kb/articles/how-to-configure-group-policy-management-for-bulk-agent-deployment-on-windows-servers-via-active-directory Once a new Group Policy Management is created, the agent will get installed automatically when the user computer under that particular domain is started. ## Custom Scripts Write your own scripts and execute it in multiple machines and get the agent installed. For example: ``` msiexec.exe /i ApplicationsManager_Windows_Installer.msi EDITA1=[Your_Applications_Manager_Device_Key] ENABLEPROXY=yes ProxyServerName=[proxyservername]:[port] ProxyUserName=[proxyusername] ProxyPassword=[proxypassword] /qn ``` ## During Agent Installation ### Prerequisites - File copying permission from the host to the remote machine is necessary during the agent installation. - Ensure that the remote machine has the required permissions for remote Windows Management Instrumentation (WMI) execution. ### Instructions You can bulk install the agent in multiple servers using the installation wizard itself. Please follow the steps below: 1. Log in to Applications Manager and go to **Settings → FSO Agent → Deploy Agent → Windows** and download the **Applications Manager FSO Agent for Windows**. You can also select **Bulk Install** from the tray icon to start the bulk installation process. 2. Follow the steps in the installation wizard to install the agent. Once that's done, you will get an option to bulk install the agent in multiple servers. Click **Yes**. 3. Choose the **Operating System** (OS) from the drop-down and check the servers in which you would like to install the agent. Multiple selection is possible by checking on the tick boxes beside every server name listed. Click **Next**. 4. Enter the Active Directory (AD) username and password. You should have **Admin privilege** to perform this action. If you have a proxy, check the option **Enable Proxy for Selected Servers** and specify the proxy details. Check the option **Use Host Proxy Configuration** to replicate the same proxy details as given during agent installation. Else, select **New Proxy Configuration** and enter the proxy details. The agent will now be installed in all the selected servers. ## Via System Center Configuration Manager (SCCM) To start the **Create Application Wizard** and create the application, please follow the steps below: 1. In the *Configuration Manager* console, choose **Software Library** → **Application Management** → **Applications**. 2. On the *Home* tab, in the **Create Group**, choose **Create Application**. 3. On the *General* page of the *Create Application Wizard*, choose **Automatically detect information about this application from installation files**. 4. Specify the following information: **Type:** Choose Windows Installer (*.msi file) **Location:** Type the location of the installation file **ApplicationsManager_Windows_Installer.msi** 5. Choose **Next**. On the *Import Information* page, review the details and click **Next**. 6. On the *General Information* page, you can supply further information about the application. ``` msiexec.exe /i ApplicationsManager_Windows_Installer.msi EDITA1=[Your_Applications_Manager_Device_Key] SERVERNAME=[Hostname] SERVERPORT=[Port] SERVERPROTOCOL=https ENABLESILENT=YES REBOOT=ReallySuppress /qn ``` **Note:** The Installation program field lets you specify the full command line that will be used to install the application on PCs. 7. Choose **Next** and complete the wizard. To find the created application, expand **Application Management** → **Applications**. ## Via ManageEngine Endpoint Central Follow the below instructions to deploy FSO agent for Windows in multiple servers using ManageEngine Endpoint Central: 1. Download the FSO agent and save the **ApplicationsManager_Windows_Installer.msi** file. 2. Sign in to the ManageEngine Endpoint Central portal. 3. Click **Software Deployments**. 4. Click **+ Add Packages**, and then Windows. 5. Enter the necessary information: - **Package Name:** ApplicationsManager_Windows_Installer - **Package Type:** EXE/APPX/MSIEXEC/MSU - **License Type:** Commercial - **Locate Installable:** Upload the MSI file 6. Click **Installation**. 7. Provide the installation command: ``` msiexec.exe /i ApplicationsManager_Windows_Installer.msi EDITA1=[Your_Applications_Manager_Device_Key] SERVERNAME=[Hostname] SERVERPORT=[Port] SERVERPROTOCOL=https INSTALLATIONTYPE=WinEC ENABLESILENT=YES REBOOT=ReallySuppress /qn ``` 8. Click **Add Packages**. 9. Go to the **Configurations** tab. 10. Create a new configuration and select **Install**. 11. Select the created package and deploy immediately.