Skip to content

How to avoid Administrator session after startup #1644

@thomas-maeder

Description

@thomas-maeder

Operating system

Ubuntu 24.04

Description

After having started the container, I try to open a rdp session with my regular (non-admin) user.
I am always told that I have to log out from the Administrator session that was created during startup.

Is it possible to avoid the creation of this Administrator session, so that I can directoy rdp as regular user after startup?

Docker compose

services:
  windows11:
    image: dockurr/windows
    container_name: windows11
    environment:
      VERSION: "11"
      CPU_CORES: "4"
      USERNAME: "Administrator"
      PASSWORD: "XXXXXXXx"
      LANGUAGE: "German"
      REGION: "de-CH"
      KEYBOARD: "de-CH"
    devices:
      - /dev/kvm
      - /dev/net/tun
    cap_add:
      - NET_ADMIN
    ports:
      - 8006:8006
      - 3389:3389/tcp
      - 3389:3389/udp
    volumes:
      - ./storage:/storage
      - /home/thomas:/data
      - ./samba.sh:/run/samba.sh:r
    restart: always
    stop_grace_period: 2m

Docker log

N/A

Screenshots (optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions