To install Nextcloud on Windows Server, Windows 11, or Windows 10, a con­veni­ent all-in-one solution is available in the form of a Docker image. To be able to install the software, you need to meet the hardware re­quire­ments and own a public domain.

Nextcloud for Windows and Windows Server

Nextcloud is a powerful, open-source cloud software for storing and syn­chron­ising data, suitable for busi­nesses, in­di­vidu­als, and gov­ern­ment agencies alike. Although the software is typically run on Linux servers, Nextcloud can also be installed on Windows systems, such as Windows Server. However, this requires sim­u­lat­ing a Linux-based en­vir­on­ment.

There are several options for achieving this. The Nextcloud de­vel­op­ment team re­com­mends using either a Docker image or a virtual machine (e.g., with Vir­tu­al­Box or Hyper-V) on Windows Server. The more commonly used option is in­stalling Nextcloud via Docker, primarily due to its ease of in­stall­a­tion. Therefore, we will focus on this method below.

Note

Since Windows is not natively optimised for Nextcloud, per­form­ance issues may arise. Possible ap­proaches to improve per­form­ance include caching, database op­tim­isa­tion, and setting up dedicated storage dir­ect­or­ies.

What re­quire­ments must be met for Nextcloud on Windows?

To install Nextcloud on Windows 11/10 or Windows Server, your hardware must meet the minimum re­quire­ments. You will need a 64-bit processor with four CPU cores and at least eight gigabytes of RAM. Ad­di­tion­ally, support for hardware vir­tu­al­isa­tion must be enabled in the BIOS. The system should also have suf­fi­cient storage space for data and backups.

If you want to use Nextcloud on Windows, you will also need to own a public domain and be able to open ports. Another key challenge for in­stalling and con­fig­ur­ing the cloud software is having an ad­min­is­trat­or account.

Tip

Managed Nextcloud from IONOS offers a powerful solution for GDPR-compliant teamwork, making it ideal for agencies, small busi­nesses, and freel­an­cers. You retain full data sov­er­eignty without having to worry about the in­stall­a­tion, main­ten­ance, and updates of your cloud. Your data will be securely stored in European data centres that meet the highest privacy standards.

How to install Docker Desktop

To install via Docker, you need the ap­pro­pri­ate software. Set it up as follows:

  1. Download Docker Desktop for Windows from the Docker website.
  2. Run the .exe file to install the ap­plic­a­tion.
  3. Tick the box that says ‘Use WSL2 instead of Hyper-V’, as WSL2 is the re­com­men­ded option. Then click ‘OK’.
  4. After the in­stall­a­tion, restart your computer by clicking on the ‘Close and restart’ button.
  5. Open the Docker software and accept the terms of use by clicking ‘Accept’.
  6. Follow the link displayed in the pop-up window.
  7. On the Windows doc­u­ment­a­tion page, under step 4, click the first link to download the WSL2 Linux Kernel update package for x64 machines.
  8. Install the wsl_update.msi file and restart Docker Desktop.
  9. You can skip the following tutorial by clicking on ‘Skip Tutorial’.
  10. Under ‘Settings’, tick the first option to ensure that the Docker software loads auto­mat­ic­ally when logging in.

How to install and set up Nextcloud on Windows

Once Docker Desktop has been suc­cess­fully installed, you can download and set up Nextcloud. The following guide refers to in­stall­a­tion without an existing web server or reverse proxies.

  1. Open the command line and enter the following command:
docker run ^ 
--sig-proxy=false^ 
--name nextcloud-aio-mastercontainer ^ 
--restart always ^ 
--publish 80:80 ^ 
--publish 8080:8080 ^ 
--publish 8443:8443 ^ 
--volume nextcloud_aio_mastercontainer:/mnt/docker-aio-config ^ 
--volume //var/run/docker.sock:/var/run/docker.sock:ro ^ 
-e NEXTCLOUD_DATADIR="/run/desktop/mnt/host/c/ncdata" ^ 
nextcloud/all-in-one:latest
bash
Note

Adjust the path /run/desktop/mnt/host/c/ncdata to suit your in­di­vidu­al re­quire­ments. The path cor­res­ponds to C:/ncdata on your system, so make sure to adjust it ac­cord­ingly. Also, ensure that the path you enter begins with /run/desktop/mnt/host/.

  1. Then, open the AIO interface at https://localhost:8080. Use an IP address or local hostname (instead of a domain) to avoid possible HSTS blocking. After accepting the cer­ti­fic­ate, your password will be displayed, which you should keep safe.
  2. Click the ‘Open Nextcloud AIO login’ button and enter your password.
  3. You will then be re­dir­ec­ted to the AIO dashboard, where you can enter your public domain. The dynamic DNS (DDNS) should point to your public IP address. Also, make sure to forward at least ports 443/TCP, 3478/UDP, and 3478/TCP to your Windows system.
  4. Next, you will have the option to configure optional add-ons and set your timezone. After that, click ‘Start con­tain­ers’ to begin the download.
  5. Once all con­tain­ers have been down­loaded and started, Nextcloud will display an overview screen listing the running services and con­tain­ers.
  6. Open your new Nextcloud instance and log in with your cre­den­tials to configure Nextcloud.
Note

Our separate guide explains how to install Nextcloud on Ubuntu. There are also detailed guides available in the Digital Guide for Nextcloud on Kuber­netes and Nextcloud on Debian 12.

Nextcloud clients for Windows

Nextcloud provides various desktop clients for Windows, macOS, and Linux. These allow you to connect to your Nextcloud and keep data syn­chron­ised. To offer flexible access, Nextcloud also provides mobile clients for iOS and Android. All Nextcloud clients for desktop and mobile devices can be installed easily, for free, and on an unlimited number of devices.

Managed Nextcloud
Cloud storage that puts you in control
  • Keep your data safe with industry-leading security
  • Save time on updates and main­ten­ance
  • Easily add apps and online office tools
Go to Main Menu