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. How to change lockscreen picture by command line?

    in Windows 10 Customization
    How to change lockscreen picture by command line?: Hi All is there any way to change lockscreen picture via command line or powershell scripts? Thanks for any replies. 153063
  3. command line repair

    in Windows 10 Installation and Upgrade
    command line repair: Hello I use sfc and chkdsk regularly on people's computers. I know chkdsk checks and repairs the file system, and sfc checks and repairs system files. Is there one over the other that should be run first? Like sfc then chkdsk or the opposite? Also I heard using dism to...
  4. Command Line

    in Windows 10 Support
    Command Line: Is there a command line entry that will help check and repair drivers, and .dll's files. Or a way to have W10 (1909) repair/replace Only whats corrupt or missing? 148659
  5. Windows 10 Will Not Change User Language

    in Windows 10 Customization
    Windows 10 Will Not Change User Language: Hi! Long story short, I installed a Korean IME/Language pack and wound up changing my system settings and they won't revert back. Using the Run -> LPK Setup -> Uninstall I have been able to apply a "quick fix" that allows me to use my computer somewhat normally (so when I...
  6. Command Line

    in Windows 10 Network and Sharing
    Command Line: Hello sir. I am using windows 10 64bit. Earlier the netsat command use to work but it doesnt work now. whenever i try this command it displa an error. C:\>netstat 'netstat' is not recognized as an internal or external command, operable program or batch file. i have tried...
  7. Windows Command-Line: The Evolution of the Windows Command-Line

    in Windows 10 News
    Windows Command-Line: The Evolution of the Windows Command-Line: Welcome to the second post in this "Windows Command-Line" series. In this post we'll discuss some of the background & history behind the Windows Command-Line. Specifically, we’ll explore its humble origins in MS-DOS, to its modern-day incarnation supporting tools like...
  8. Command Line Questions

    in Windows 10 Support
    Command Line Questions: [img] Sorry, newbie question here... I'm reading the tutorial Customize Command Prompt Colors, but I still don't understand what the "Popup Colors" are. I've never actually seen them. Is it for command prompts launched by an application? Also, does anyone know of a forum...
  9. Can't add user via command line

    in User Accounts and Family Safety
    Can't add user via command line: I am trying to add a user via the command line through a virtual pc I added with VMWare. I'm running windows 10, and unable to add because this is what I get when I open CMD: I can't go beyond this point, I keep getting error messages. Any help would be deeply appreciated....
  10. Run a scheduled task via command line via command line

    in Windows 10 Support
    Run a scheduled task via command line via command line: i want start a Run a scheduled task via command line like this: Code: %SystemRoot%\system32\taskschd.msc /Run /TN "RegIdleBackup" when i run the cmd in the prompt as admin the shedular task GUI pop up but the task not start. Is there a solution? Is the...