Originally published at: Your Guide to Nextcloud All-in-One on Windows 10 & 11! - Nextcloud
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.

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
- Download Docker for Windows: https://docs.docker.com/desktop/install/windows-install/.

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

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

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

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.

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

7. Download the wsl_update MSI and install it.


8. Now click on âRestartâ to restart Docker Desktop.

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

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

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

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:

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:

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

5. Now you should finally see the AIO dashboard.

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.

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

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.

10. When everything is done, you should see this 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.