Your Guide to Nextcloud All-in-One on Windows 10 & 11!

Setting up a Nextcloud All-in-One on Windows (or AIO) is a simple, effective way to achieve a full-blown Nextcloud installation with many features working out of the box. It provides you with easy deployment and maintenance of these features while allowing you to keep your data under your control.

In this blog, you will find the instructions for setting up an All-in-One on Windows 10 and 11. It is compatible with a PC with an x64 CPU with at least 8GB of RAM and 4 cores.

Featured image for the blog post Nextcloud AIO on Windows showing a laptop running Windows.

Before you start

First, you will need to get a public domain and be able to open ports for the guide to work. Also, make sure that you are not behind CGNAT, as it will not work with that.

Please also keep in mind that the following instructions are meant for installations without a web server or reverse proxy (like Apache, Nginx, and else) already being in place. If you want to run AIO behind a web server or reverse proxy (like Apache, Nginx, and else), see the reverse proxy documentation.

With that, let’s get started!

Install Docker Desktop

  1. Download Docker for Windows: https://docs.docker.com/desktop/install/windows-install/.
Install Docker Desktop on Windows screenshot

2. Execute the « .exe » and install it. Click on « OK » to continue (WSL2 is recommended).

Configuration of Docker Desktop for Windows screenshot

3. Wait until you see this screen, and click on « Close and restart » to restart the PC.

Installation succeeded Docker Desktop for Windows screenshot

4. Open « Docker Desktop », then read through and accept the Terms.

Docker Subscription Service Agreement screenshot

5. You should see this pop-up now and follow the link in the pop-up. If the pop doesn’t open, you can find the link here directly.

Docker Desktop installation process

6. Click on the first link there (« WSL2 Linux kernel update package for x64 machines »).

Docker Linux kernel update screenshot

7. Download the wsl_update MSI and install it.

Linux update setup
Linux update setup

8. Now click on ‘Restart’ to restart Docker Desktop.

WSL installation incomplete

11. Next, you might see this pop-up after a while and click on « Skip tutorial » to skip it:

Docker Desktop installation

12. Finally, Docker Desktop is ready, and you should see this.

Docker home screen screenshot

13. Make sure that Docker Desktop starts automatically when you log in by ticking the first value in the settings.

Docker Desktop installation process

14. Make sure to enable IPv6 support for Docker. You can follow this documentation if needed.

Install AIO

After you’ve successfully completed installing Docker Desktop, you can move on to installing your AIO.

1. Now open the command prompt:

command prompt

2. Start AIO with this 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" ^
ghcr.io/nextcloud-releases/all-in-one:latest

Make sure to adjust /run/desktop/mnt/host/c/ncdata to your needs. This path is equivalent to C:\ncdata on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with /run/desktop/mnt/host/. Append to that the exact location on your Windows host, e.g. c/ncdata which is equivalent to C:\ncdata.

3. Then you can open the AIO interface at https://localhost:8080. ⚠️ Important: Always use an IP address or localhost if you access this port and not a domain, as HSTS might block access to it later! You need to accept the Self-Signed certificate, and then you should see this:

Nextcloud AIO setup

4. Click on Open Nextcloud AIO login and paste in your password:

Nextcloud AIO login

5. Now you should finally see the AIO dashboard.

Screenshot of Nextcloud AIO new instance screen

6. Next, type in your public domain that you set up before starting this guide. The interface should help you figure out the exact steps. (Set up DDNS for your domain to point to your public IP, port-forward at least ports 443/tcp and 3478/udp and 3478/tcp to your Windows machine.)

7. After you’ve set it up correctly, it should allow you to pass to the next step, where you can configure the wanted optional addons and the timezone, and click on Start containers to download and start them.

Screenshot of Nextcloud AIO download and start containers screen

8. Now you should see a spinner that will take a while (depending on your internet speed, around 10 minutes or more).

Screenshot of Nextcloud AIO loading containers screen

9. When all containers are downloaded and started, you will see this screen showing the containers still starting, which will do the first install for you.

Screenshot of Nextcloud AIO containers and optional containers screen

10. When everything is done, you should see this screen.

Screenshot of Nextcloud AIO containers and backup and restore screen

11. You can now open your new Nextcloud instance and log in with the given admin credentials.

12. You should also open the Backup and restore section type in a path like e.g. /run/desktop/mnt/host/c/backup and submit it. This path is equivalent to C:\backup on your Windows host so you need to translate the path accordingly. Hint: the path that you enter needs to start with /run/desktop/mnt/host/. Append to that the exact location on your Windows host, e.g. c/backup which is equivalent to C:\backup.

That’s it! Now everything is set up and ready for production.

Discover more about Nextcloud All-in-One and its many options

This Nextcloud AIO manual was developed by Simon Lindner, Software Engineer at Nextcloud.
You can check out our Nextcloud podcasts for an interview with Simon, where he explains more about his interest in making Nextcloud and open source software accessible to everyone.

Make sure to read our guide to set up Community Containers, developed by the Nextcloud community, for your Nextcloud instance. With these useful features, including Caddy, Fail2ban, and Pi-hole, you can enhance your Nextcloud AIO in a couple of clicks.

Last but not least, we also have Your Guide to the Nextcloud All-in-One on Linux available for Linux users who would like to access the power of Nextcloud All-in-One.

Watch the global launch of Nextcloud Hub 25 Autumn

Explore sleek design improvements, smart new features, and a snappier performance.
Your digital workspace, ready in no time.

Discover the full release

Continue the discussion at the Nextcloud forums

Go to Forums