# Install RustSC on Windows

Paste one command into PowerShell and your Windows host is installed and connected.

## Install and connect

Closing the RustSC window leaves it running in the notification area. Your servers keep running either way.

1. In the portal, open **Hosts**, then **Add host**, and choose the **Windows** tab.
2. Choose **Copy install command**. The command already holds your connection code.
3. On the host that will run your servers, open **PowerShell** from the Start menu. Paste the command and press Enter.
4. Choose **Yes** when Windows asks for permission. RustSC installs and connects by itself.
5. In the portal, wait for the host to show **Connected**, then choose **Add server**.

## If something goes wrong

- PowerShell says the code was already used or has expired: copy the command again from **Add host**. It holds a new code.
- PowerShell says it stopped: it says why and what to do. Run the same command again; it picks up where it left off.
- RustSC is already installed: open it and paste the code under **Connect to your workspace**, then choose **Connect**.
- The host does not show **Connected**: open RustSC on the host. It says whether it is connected.
- No command is offered on the page: Windows installation is not available from this service yet.

- [Add a host to your workspace](https://rustsc.com/support/guides/add-host/index.html.md)

- [Add your first server](https://rustsc.com/support/guides/add-server/index.html.md)

HTML version: https://rustsc.com/support/guides/install-windows/
