Environment variable in MS Windows

Hi all,
I have an windows image (1809) which runs a windows service as local system account.

I’ve been trying to pass environment variable to this container, but the service application just fails to find it.

When enumerating using powershell / cmd I see the variable, but not from the application.

I’m guessing the passed env vars ( docker compose => environment: -Key:Value ) are created in user scope (=containeradministrator) and not system scope in the container, and cant be accessed by local system account?

Is there a way around this?
RocknRoll
/Bjarne