Apr 28 2020 03:36 AM
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.
This is the setup:
output from dism:
Deployment Image Servicing and Management tool
Version: 10.0.18362.1
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?