Windows 10: Change User Language by command line

Discus and support Change User Language by command line in Windows 10 Support to solve the problem; Hi, I have a Win10 Enterprise version. I have set 3 Languages under the Setting -> Language. I can manually switch between the 3 languages under the... Discussion in 'Windows 10 Support' started by billychin, Dec 21, 2016.

  1. billychin Win User

    Change User Language by command line


    Hi,

    I have a Win10 Enterprise version. I have set 3 Languages under the Setting -> Language. I can manually switch between the 3 languages under the Language setting page (by the set as primary language, then perform a sign out and sign in with the same user againg).

    However, I want to automate the language switching by command. Can any one advise me how to do it?

    Thank you.

    Regards,
    Billy

    :)
     
    billychin, Dec 21, 2016
    #1

  2. Windows 10 Stuck at Safe Mode Login Screen - PC Unusable

    Hi King,

    Thank you for posting your query in Microsoft Community.

    Check for the language layout on the lock screen. Select the proper language and try to log-in.

    You can also use on-screen keyboard and try log-in and make sure you click on the (EYE) button to check whether its entered correctly or not.

    If the issue still persists then, I suggest you to enable the built-in Administrator account by following the steps below:


    • Press Windows key + X and select Command Prompt (Admin).

    • Type the below command line and press Enter.

      net user administrator /active: yes
    After the command line is complete, restart the system and login to the built-in Administrator account and do the necessary changes to your account. Again, restart your computer and login to your account and disable the built-in Administrator account
    by following the steps below:


    • Press Windows key + X and select
      Command Prompt (Admin
      ).

    • Type the below command line and press Enter.

      net user administrator /active: no
    Hope it helps.
     
    SujataMoktan, Dec 21, 2016
    #2
  3. Shaare Win User
    Windows user name (as seen in command line) can't be change?

    Greetings,

    Got a nice HP all in one with Windows home.

    During initial setup I let it use my Microsoft account.

    Using the command line I see that my user name is 'antoi'

    from the path C:\Users\Antoi

    How do I change that and how do I share folders?

    I tried <domain>\<username> ... Home\Antoi ... but the password never works, be it the pin, the ms account password etc.

    I'm new to Windows 10 and this part confuses me.

    Thank you for your help.
     
    Shaare, Dec 21, 2016
    #3
  4. Kari Win User

    Change User Language by command line

    That will not work, is not possible.

    I know your situation, I myself need Windows in four languages. I wholeheartedly recommend the same fast and easy solution to you as what I use.

    Each user account in Windows 10 can be set to use different display language. In my case the main user account I mostly use as well as a local admin account are both set to use the original Windows install language UK English. In addition I have created three local user accounts naming them simply as Finnish, Swedish and German and installed respective language packs (Suomi = Finnish, Svenska = Swedish, Deutsch = German):


    Change User Language by command line [​IMG]

    Whenever I need fast access to Windows in another language, I simply switch user by clicking my avatar in Start and selecting language / account I need:


    Change User Language by command line [​IMG]

    When starting the PC I can select in which language I want to use Windows:


    Change User Language by command line [​IMG]

    (Click to enlarge.)
    Simple, easy and fast.
     
  5. EdTittel Win User
    Great concept, brilliant execution. Thanks for sharing, Kari. I'm going to use this to make Deutsch available on my PC, too.
    --Ed--
     
    EdTittel, Dec 21, 2016
    #5
  6. Asuza Win User
    Nice one Kari. I've never seen anyone doing this before. Good source of inspiration.
     
    Asuza, Dec 21, 2016
    #6
  7. EdTittel Win User
    I was just reading the Harden Windows 10 Security Guide for an article I'm researching. They also recommend setting up a separate account for doing online shopping, ebanking, and so forth, and using it only for those things. In general this is called "role-based security," and works very well to keep privilege creep and/or unwanted access to a minimum. Kari's idea is something like "language-based account" access and works both well and similarly.
    Good stuff!
    --Ed--
     
    EdTittel, Dec 21, 2016
    #7
  8. Asuza Win User

    Change User Language by command line

    Hello EdTittel,

    As a person who's obsessed with IT security { I also chose IT Security as an optional course as part of my study }, I will make sure to add the link to my bookmarks and read it tomorrow morning. Looks very interesting.
     
    Asuza, Dec 21, 2016
    #8
  9. Kari Win User
    The solution I use was presented in a really simple way above. To really make it work you need to customize regional settings on every account for apps and browsers to work as you want to.

    An example: on my Swedish user account, I've set Country or region in Settings > Time & language > Region & language to be Sweden (region can be set individually for each user account in Windows), Bing and Google are set to use their respective Swedish sites in Swedish language, both of them having my location set to Stockholm Sweden. Bing is happy with just Stockholm Sweden as location, Google requires a post (zip) code; I use that of Stockholm City Hall, Stockholm 11221 Sweden *Wink

    Now for instance the News app shows me Swedish news, as I want to.

    I've also created a specific Microsoft account to be used with this user account, when setting the payment methods used with this Microsoft account at https://account.microsoft.com I'll set it for purchases in Sweden, in order to be able to use the Swedish Windows Store and get Swedish apps:


    Change User Language by command line [​IMG]

    In my case I then repeat the procedure with English, Finnish and German accounts.

    This tutorial is already a bit outdated but it is still good to read even if I say so myself: Location of Windows 10 - Change for when Abroad
     
  10. dencal Win User
    Reading through that security guide one could develop a neurosis....not saying its not good advice, but 3 to 4 hours to set up..way over the top in my view.
    There are far simpler ways to safeguard yourself against hackers.....and money is what they are really after.

    My bank withdrawals on the internet require verification from a card reader, this produces a different code each time to be entered on drop down menus on screen, not using my keyboard, so keylogging is out, the bank also asks for double security verification.

    Most bank transactions with clients over the internet are scrambled now.....it is easier now for hackers to attack the banks.
     
    dencal, Dec 21, 2016
    #10
  11. billychin Win User
    Hi Kari,

    Thanks a lot for your reply. What I need is an automated method since we are building like a kiosk PC so we are implementing a change lang feature with our program. We'll need a scipting method or so instead of asking user to switch it thru windows.

    BTW, in case multiple user profiles have to be used, is there any way to switch user with command? Then I may still write script to switch user in order to change language as result.

    Thx,
    Billy
     
    billychin, Dec 22, 2016
    #11
  12. Kari Win User
    Interesting. I did not think about a kiosk environment. I am not able to offer you a solution, only giving some tips where to start creating a single click user / language switch.

    All the elements are there, everything you need to achieve is available with one or more commands, so I think this is doable although I have to admit I've never done this nor have I thought about it.

    You can switch user relatively easily from command line. It's done with TSCON command (more: Tscon). The command syntax is TSCON SESSION_ID /PASSWORD:Actual_Password.

    The session ID = a user. In screenshot below, I am signed in with four user accounts at the moment ( =1, Swedish =2, German = 3 and Finnish = 4):

    Change User Language by command line [​IMG]


    Session ID for each signed in user can be found with command QUERY SESSION:

    Change User Language by command line [​IMG]


    I am at the moment signed in as user , with session ID 2. If I want to switch user to user Swedish (session ID 5), I would give command TSCON 5 /PASSWORD:MyReallyGoodPassword (assuming that user Swedish' password is MyReallyGoodPassword):

    Change User Language by command line [​IMG]


    On my system with four installed languages, this would immediately switch from user account with display language UK English to user account Swedish with display language Swedish.

    The problem is, session IDs are not the same every time you start Windows and sign in to your user accounts. User named Swedish can be Session ID 5 this time, Session ID 9 next restart.

    My point: all the commands exist. It's up to find a way to make them to a batch file that can be executed at will.
     
  13. Change User Language by command line

    HOW DID YOU DO THIS PLEASE? It looks awesome and I can't access the 'solution' *Sad

     
    mcphersonr, Mar 6, 2018
    #13
  14. Kari Win User
    I do not fully understand your question?

    If you mean having individual languages set on each user account, simply download and install additional language packs for each language you'll need, create the new user accounts for each language, and switch their display language to required language.

    Tutorials:
     
Thema:

Change User Language by command line

Loading...
  1. Change User Language by command line - Similar Threads - Change User Language

  2. Changing Timezone from command line

    in Windows 10 Tutorials
    Changing Timezone from command line: It would be the case that you would need to change the time zone on the server but from the Time & Date option, it would be greyed out due to policy. There is a workaround for changing the timezone using the Command Prompt as Administrator. Type tzutil /g to get the current...
  3. User permission for using command line

    in Windows 10 Gaming
    User permission for using command line: I am trying to automate a process at work using an AutoHotkey-script. I need to use command line when running a given program for adding -FO and -V. What kind of permission is needed for this? Right now I only have reading permission for both the folder and the exe-file for...
  4. User permission for using command line

    in Windows 10 Software and Apps
    User permission for using command line: I am trying to automate a process at work using an AutoHotkey-script. I need to use command line when running a given program for adding -FO and -V. What kind of permission is needed for this? Right now I only have reading permission for both the folder and the exe-file for...
  5. Changing Timezone from command line

    in Windows 10 Tutorials
    Changing Timezone from command line: It would be the case that you would need to change the time zone on the server but from the Time & Date option, it would be greyed out due to policy. There is a workaround for changing the timezone using the Command Prompt as Administrator. Type tzutil /g to get the current...
  6. WIN11 - Can I change my preferred language with command line?

    in Windows 10 Gaming
    WIN11 - Can I change my preferred language with command line?: I'm looking for a way to install/set the preferred language of a Windows11 system. Currently the Windows Display language is English united states en-US but the preferred language is set to dutch belgium. This setting has the consequence that for example my windows defender...
  7. WIN11 - Can I change my preferred language with command line?

    in Windows 10 Software and Apps
    WIN11 - Can I change my preferred language with command line?: I'm looking for a way to install/set the preferred language of a Windows11 system. Currently the Windows Display language is English united states en-US but the preferred language is set to dutch belgium. This setting has the consequence that for example my windows defender...
  8. How to install a Language pack using command line

    in Windows 10 Gaming
    How to install a Language pack using command line: Hi,I want to know How to install a Language pack using command line in Windows 10.Eg: I want to install the Japanese language pack using PowerShell command so that it should install and provide me the language selection from the Task Bar....
  9. How to install a Language pack using command line

    in Windows 10 Software and Apps
    How to install a Language pack using command line: Hi,I want to know How to install a Language pack using command line in Windows 10.Eg: I want to install the Japanese language pack using PowerShell command so that it should install and provide me the language selection from the Task Bar....
  10. Command line commands

    in Windows 10 Customization
    Command line commands: I would like to create a shortcut on the desktop using a command in a .bat file. I would like to specify what icon file to use, what program to execute, and the parameters to pass to the program. I have researched MKLINK but I don't think it will do the job. Any...