windows icon indicating copy to clipboard operation
windows copied to clipboard

What is the problem of automatic restart?

Open 389377616 opened this issue 2 months ago • 4 comments

Operating system

Debian GNU/Linux 12 (bookworm)

Description

I installed win10x64-ltsc in Docker on my fnOS. After the system booted up normally, I opened it in a browser at IP:8006 and ran a program. After a while, I checked and found that the program had closed. I tried to open the program again, but it closed again after a while. I opened Task Manager and checked the system uptime, only to find that the system had automatically restarted, causing the program to close. I don't know what's causing the system to become unstable and I'd appreciate some help from a technician.

Docker compose

docker run -it --name windows --restart=always \
  -p 8006:8006 -p 3389:3389/tcp -p 3389:3389/udp \
  --device=/dev/kvm --device=/dev/net/tun --device=/dev/bus/usb \
  --cap-add NET_ADMIN \
  -v /vol1/1000/docker/windows/storage:/storage \
  -v /vol1/1000/docker/windows/shared:/shared \
  --stop-timeout 120 \
  -e VERSION="10l" \
  -e LANGUAGE="Chinese" \
  -e REGION="zh-CN" \
  -e KEYBOARD="en-US" \
  dockurr/windows

Docker log

❯ Extracting Windows 10 image...

❯ Adding drivers to image...

❯ Adding win10x64-ltsc.xml for automatic installation...

❯ Building Windows 10 image...

❯ Creating a 64 GB growable disk image in raw format...

❯ Booting Windows using QEMU v10.0.3...

BdsDxe: skipped Boot0002 "UEFI QEMU QEMU HARDDISK " from PciRoot(0x0)/Pci(0xA,0x0)/Scsi(0x0,0x0)


BdsDxe: loading Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)


BdsDxe: starting Boot0001 "UEFI QEMU DVD-ROM QM00013 " from PciRoot(0x0)/Pci(0x5,0x0)/Sata(0x0,0xFFFF,0x0)


❯ Windows started successfully, visit http://127.0.0.1:8006/ to view the screen...

BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


❯ Shutdown completed!

❯ Starting Windows for Docker v5.08...

❯ For support visit https://github.com/dockur/windows

❯ CPU: Genuine Intel 0000 | RAM: 9/16 GB | DISK: 127 GB (btrfs) | KERNEL: 6.12.18-trim...



❯ Warning: you are using the BTRFS filesystem for /storage, this might introduce issues with Windows Setup!

❯ Booting Windows using QEMU v10.0.3...

BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


❯ Windows started successfully, visit http://127.0.0.1:8006/ to view the screen...

❯ Shutdown completed!

❯ Starting Windows for Docker v5.08...

❯ For support visit https://github.com/dockur/windows

❯ CPU: Genuine Intel 0000 | RAM: 9/16 GB | DISK: 127 GB (btrfs) | KERNEL: 6.12.18-trim...



❯ Warning: you are using the BTRFS filesystem for /storage, this might introduce issues with Windows Setup!

❯ Booting Windows using QEMU v10.0.3...

BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


❯ Windows started successfully, visit http://127.0.0.1:8006/ to view the screen...

❯ Shutdown completed!

❯ Starting Windows for Docker v5.08...

❯ For support visit https://github.com/dockur/windows

❯ CPU: Genuine Intel 0000 | RAM: 9/16 GB | DISK: 127 GB (btrfs) | KERNEL: 6.12.18-trim...



❯ Warning: you are using the BTRFS filesystem for /storage, this might introduce issues with Windows Setup!

❯ Booting Windows using QEMU v10.0.3...

BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


❯ Windows started successfully, visit http://127.0.0.1:8006/ to view the screen...

❯ Shutdown completed!

❯ Starting Windows for Docker v5.08...

❯ For support visit https://github.com/dockur/windows

❯ CPU: Genuine Intel 0000 | RAM: 9/16 GB | DISK: 127 GB (btrfs) | KERNEL: 6.12.18-trim...



❯ Warning: you are using the BTRFS filesystem for /storage, this might introduce issues with Windows Setup!

❯ Booting Windows using QEMU v10.0.3...

BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


❯ Windows started successfully, visit http://127.0.0.1:8006/ to view the screen...

❯ Shutdown completed!

❯ Starting Windows for Docker v5.08...

❯ For support visit https://github.com/dockur/windows

❯ CPU: Genuine Intel 0000 | RAM: 9/16 GB | DISK: 127 GB (btrfs) | KERNEL: 6.12.18-trim...



❯ Warning: you are using the BTRFS filesystem for /storage, this might introduce issues with Windows Setup!

❯ Booting Windows using QEMU v10.0.3...

BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


❯ Windows started successfully, visit http://127.0.0.1:8006/ to view the screen...

❯ Shutdown completed!

❯ Starting Windows for Docker v5.08...

❯ For support visit https://github.com/dockur/windows

❯ CPU: Genuine Intel 0000 | RAM: 9/16 GB | DISK: 127 GB (btrfs) | KERNEL: 6.12.18-trim...



❯ Warning: you are using the BTRFS filesystem for /storage, this might introduce issues with Windows Setup!

❯ Booting Windows using QEMU v10.0.3...

BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


❯ Windows started successfully, visit http://127.0.0.1:8006/ to view the screen...

❯ Shutdown completed!

❯ Starting Windows for Docker v5.08...

❯ For support visit https://github.com/dockur/windows

❯ CPU: Genuine Intel 0000 | RAM: 9/16 GB | DISK: 127 GB (btrfs) | KERNEL: 6.12.18-trim...



❯ Warning: you are using the BTRFS filesystem for /storage, this might introduce issues with Windows Setup!

❯ Booting Windows using QEMU v10.0.3...

BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


❯ Windows started successfully, visit http://127.0.0.1:8006/ to view the screen...

❯ Shutdown completed!

❯ Starting Windows for Docker v5.08...

❯ For support visit https://github.com/dockur/windows

❯ CPU: Genuine Intel 0000 | RAM: 9/16 GB | DISK: 127 GB (btrfs) | KERNEL: 6.12.18-trim...



❯ Warning: you are using the BTRFS filesystem for /storage, this might introduce issues with Windows Setup!

❯ Booting Windows using QEMU v10.0.3...

BdsDxe: loading Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


BdsDxe: starting Boot0004 "Windows Boot Manager" from HD(1,GPT,E7A47B2C-1315-466D-9FB2-E7BB4FAB442E,0x800,0x40000)/\EFI\Microsoft\Boot\bootmgfw.efi


❯ Windows started successfully, visit http://127.0.0.1:8006/ to view the screen...

Screenshots (optional)

No response

389377616 avatar Oct 15 '25 02:10 389377616

When did you install this system? Because after 90 days Microsoft shuts down Windows every hour if you don't buy a license.

kroese avatar Oct 15 '25 05:10 kroese

When did you install this system? Because after 90 days Microsoft shuts down Windows every hour if you don't buy a license. I don't know if this system still has this problem. Which system should I choose? There will be no problem.

389377616 avatar Oct 15 '25 10:10 389377616

When did you install this system? Because after 90 days Microsoft shuts down Windows every hour if you don't buy a license. But are you sure it's the problem? I just installed it for less than 90 days, and the restart interval seems to be less than an hour. I feel that sometimes it takes a dozen or twenty minutes to restart.

389377616 avatar Oct 15 '25 10:10 389377616

Maybe this program you installed is causing the system to shutdown, do a fresh install and do not install any third-party applications and see if you still encounter the issue.

kroese avatar Oct 15 '25 12:10 kroese