# Install on Windows

CrushMFT has no installer program. You unpack a folder, make an administrator, and install the service from the control panel. Everything stays in that one folder.

Needs: Windows 10 or Windows Server 2016, or later. See [Requirements](Requirements.md).

## 1. Java

Nothing to install. If the computer has no Java 21 or later, the first start downloads Eclipse Temurin into a folder `Java` in the CrushMFT folder: a small window shows the download (about 50 MB), and CrushMFT opens when it is done. CrushMFT then keeps that Java up to date by itself: [CrushMFT's own Java](Java-Updates.md).

A Java that is already on the computer (21 or later) is used as it is, and CrushMFT leaves it alone. To use a particular Java, unpack it into the CrushMFT folder as a folder named `Java`, so that `Java\bin\java.exe` is inside it: the server looks there first, then at `JAVA_HOME`, then at the system's Java.

On a server without internet access, install Java yourself (25 or later is recommended), or put one in the `Java` folder.

## 2. Unpack

Unpack `CrushMFT27.zip` to a place of your choice, for example `C:\CrushMFT27`. Avoid `Program Files`: Windows protects that folder, and the server writes its settings, users and logs into its own folder.

Make sure the account the service will run as may write to the folder.

## 3. The control panel

Double-click `CrushMFT.exe`. The [control panel](Control-Panel.md) opens.

If the machine has no WebView2, which is common on Windows Server, the panel opens as a page in the default browser. It works the same.

If a message says that Java could not be downloaded or started, it names the reason; the details are in `CrushMFT_launcher.log` in the CrushMFT folder. See step 1.

In the panel:

1. **Admin users**: add an administrator, a name and a password.
2. **Memory**: set what the service gets, in megabytes or as a share of the machine's memory, such as `50%`. See [Java and memory settings](Java-and-Memory.md).
3. **Listeners**: the ports the server will open. A port that another program already has is marked, before the first start. IIS on ports 80 and 443 is the usual one.
4. **Service**: **Install**, then **Start**. Windows asks for an administrator's consent.

The service is named `CrushMFTv27`, shown as "CrushMFTv27 Server". It starts with Windows.

## 4. The firewall

Windows Firewall blocks incoming connections to a new program. Allow the ports you offer: 443, and 2222 or 22 for SFTP, and for FTP 21 with the passive range.

## 5. Log in

`http://127.0.0.1:8080/` in a browser on the machine, as the administrator. Go on with [First-run setup](First-Run-Setup.md).

## Trying it without the service

**Temporary server** in the control panel runs the server for as long as the window is open. Nothing is installed. That is for a first look, or for a test on a workstation.

## The service account

The service runs as Local System. That account can read and write the machine's own disks and cannot reach network shares.

If users' files are on a file server, give the service an account that may reach it: **Run as account** in the control panel, with a domain or local account and its password. The account is given the right to log on as a service.

See [The Windows service](Windows-Service.md).

## Where things are

| | |
|---|---|
| the program, settings, users, logs | in the CrushMFT folder: [The files and folders of a server](Folder-Layout.md) |
| the service's own log | `service\wrapper.log` in the folder |
| the service's settings | `service\CrushMFTService.conf` |

## Beside version 11

Version 27 does not touch an installed version 11. Its folder is its own, and its service has another name. Both can be installed; only one can use a given port at a time. See [Upgrading from CrushFTP 11](Upgrade-from-11.md).

## Not tried for this page

Nothing was installed on Windows for this page. It is written from the design and the code of the Windows launcher and the control panel, whose own build records say they had not been run on Windows when they were written. If a step does not behave as described, the service's log, `service\wrapper.log`, is the first place to look.
