---
title: "Distributed installation script for the Sitecore XP Scaled topology"
slug: "distributed-installation-script-for-the-sitecore-xp-scaled-topology"
abstract: ""
---
# Distributed installation script for the Sitecore XP Scaled topology

To simplify your scaled installation on multiple servers, you can use a PowerShell script to install the Sitecore XP Scaled topology. For more information, see Architecture overview in Sitecore documentation.

> [!note]
> If you use this script to install the Sitecore XP Scaled topology, each server role must be installed on a separate computer and there must be no previous Sitecore installation on any of these computers.

## Distributed installation script prerequisites

To prepare the servers, you must perform the following steps on each server:

1. Enable PowerShell Remoting.

    For more information about PowerShell Remoting, see the section [Run SIF remotely](https://doc.sitecore.com/xp/en/developers/105/guides/installation-guide-for-the-xp-scaled-topology/run-sif-remotely.html "Run SIF remotely").

2. Install all the prerequisites.

    For more information about the prerequisites, see the section [Install the prerequisites](https://doc.sitecore.com/xp/en/developers/105/guides/installation-guide-for-the-xp-scaled-topology/install-the-prerequisites.html "Install the prerequisites").

3. Create the `c:\resourcefiles` folder on every computer that will be assigned a Sitecore server role or will run Solr.
4. Configure the Web Server Role (IIS).

    ![Select role services](https://doc.sitecore.com/api/markdown-image/xp/en/developers/105/guides/installation-guide-for-the-xp-scaled-topology/images/IIS.png)

## Run the distributed installation script for the XP Scaled topology

To edit and run the Distributed XP topology installation script:

1. Create a folder called `c:\resourcefiles`.
2. On the [Sitecore Experience Platform download site](https://developers.sitecore.com/downloads/Sitecore_Experience_Platform), download the Packages for XP Scaled topology. This file is listed in the Download options for On Premises deployment section. Extract to `c:\resourcefiles` folder all `scwdp.zip` files and all configuration files.
3. Save your Sitecore license file in the `c:\resourcefiles` folder as `license.xml`.
4. In the `c:\resourcefiles` folder, edit the `XP1-Distributed.ps1` script and update each line with the appropriate settings for your environment.
5. In a PowerShell command line, go to the `c:\resourcefiles` folder and run the following command:

    ```text
    .\XP1-Distributed.ps1
    ```

After you have edited and run the installation script, you must complete the post-installation steps described in the chapter [Sitecore XP post installation steps](https://doc.sitecore.com/xp/en/developers/105/guides/installation-guide-for-the-xp-scaled-topology/post-installation-steps.html "Post-installation steps").