In my organisation we have identified a problem when trying to identify the current UI language.
In powershell you can use $PSUICulture ( from some version ) or Get-UICulture to identify the language of the UI. This is true if it run by a user or admin of the computer. If the same variable or command is used by SYSTEM you get something else.
Logged in as the user the windows UI is presented in english and everything looks good
Run powershell.exe as regular user and run "Write-Host $PSUICulture" which returns "en-US"
Run powershell.exe as SYSTEM and run "Write-Host $PSUICulture" which returns "sv-SE"
output from dism:
Deployment Image Servicing and Management tool
Image Version: 10.0.18362.778
Reporting online international settings.
Default system UI language : en-US
System locale : sv-SE
Default time zone : W. Europe Standard Time
Active keyboard(s) : 041d:0000041d
Keyboard layered driver : Not installed.
Installed language(s): en-US
Type : Fully localized language.
Installed language(s): sv-SE
Type : Partially localized language, MUI type.
Fallback Languages en-US
The operation completed successfully.
Is there something wrong with my configuration or is the command simply returning the wrong value?