Skip to content

Commit 5925ad7

Browse files
committed
Back to Windows 11
1 parent c61da44 commit 5925ad7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ Improvements:
3636

3737
### Planned features
3838

39-
- [ ] Set up with Windows 11 instead of Windows 10 (originally the setup script would install Windows 11, but at some point something broke upstream resulting in the automated installation failing - it seems to work fine with Windows 10 though and as long as Office runs on it that's good enough for now)
4039
- [ ] Option to deny network access to VM (after Office is all set up). The first aim is to avoid Windows and Office "phoning home", which could perhaps be done by setting the Windows DNS server to IP that doesn't work. It would also be nice to completely stop all non-RDP network traffic to reduce security risks for users who don't keep their Windows VM updated
4140
- [ ] GUI
4241
- [ ] Install wizard replacing `setup.sh`
@@ -86,7 +85,7 @@ Or as a one-line command that you can copy and paste:
8685
mkdir -p ~/.local/bin/linoffice && wget -qO- https://github.com/eylenburg/linoffice/archive/refs/heads/main.zip | funzip | tar -x -C ~/.local/bin/linoffice --strip-components=1 && chmod +x ~/.local/bin/linoffice/setup.sh && ~/.local/bin/linoffice/setup.sh
8786
```
8887

89-
The setup.sh should do everything automatically but will take quite a while. You need to download about 8 GB in total and wait until both Windows and Office are installed. In my experience, on a modern laptop and with fast Internet, it took about 30 minutes all in, maybe 10 minutes of downloading and 20 minutes of installing.
88+
The setup.sh should do everything automatically but will take quite a while. You need to download about 8 GB in total and wait until both Windows and Office are installed. In my experience, on a modern laptop (2023 mid-range AMD Ryzen CPU) and with fast Internet (250 Mbps download), it took about 15 minutes all in (breakdown: 3 minutes Windows download, 8 minutes Windows install, 4 minutes Office download and install).
9089

9190
Unfortunately it is not allowed to redistribute Microsoft software, otherwise I would have just prepared a pre-made VM with Office installed, which would cut down the installation time and make this whole project much simpler. At the moment, the script downloads Windows, installs it into a VM, then downloads Office and installs it in the VM, as well as various other tweaks to integrate Office.
9291

config/compose.yaml.default

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ services:
1616
# Version of Windows to configure. For valid options, visit:
1717
# https://github.com/dockur/windows?tab=readme-ov-file#how-do-i-select-the-windows-version
1818
# https://github.com/dockur/windows?tab=readme-ov-file#how-do-i-install-a-custom-image
19-
VERSION: "10" # 11 seems to be broken at the moment
19+
VERSION: "11" # "10" also works (Windows 10)
2020
RAM_SIZE: "4G" # RAM allocated to the Windows VM.
2121
CPU_CORES: "4" # CPU cores allocated to the Windows VM.
2222
DISK_SIZE: "64G" # Size of the primary hard disk.
@@ -27,6 +27,7 @@ services:
2727
LANGUAGE: "English"
2828
REGION: "en-001"
2929
KEYBOARD: "en-US"
30+
ARGUMENTS: "-cpu host,arch_capabilities=off"
3031
ports:
3132
- 8006:8006 # Map '8006' on Linux host to '8006' on Windows VM --> For VNC Web Interface @ http://127.0.0.1:8006
3233
- 3388:3389/tcp # Map '3388' on Linux host to '3389' on Windows VM --> For Remote Desktop Protocol (RDP). 3388 is chosen to avoid conflict with the standard RDP and WinApps port 3389, in case there are two VMs running.

0 commit comments

Comments
 (0)