Editar

Compartilhar via


Copy-UserInternationalSettingsToSystem

Copies the current user's international settings (Windows Display language, Input language, Regional Format/locale, and Location/GeoID) to one or both of the following:

  • Welcome screen and system accounts
  • New user accounts

Important: Note that this PowerShell cmdlet is only available for Windows 11 and later.

This is a system setting. It can only be changed by a user who has Administrator permissions. Changes take effect after the computer is restarted.

Syntax

Copy-UserInternationalSettingsToSystem
    [-WelcomeScreen <Boolean>]
    [-NewUser <Boolean>]
    [<CommonParameters>]

Description

The Copy-UserInternationalSettingsToSystem cmdlet gets the international settings from the current user. You can decide whether to copy these settings into the Welcome screen and system accounts, the New user accounts, or both.

This cmdlet takes two parameters: -WelcomeScreen and -NewUser.

When any of the parameters is set to $True, this cmdlet gets the current values from the current user and copies them to the system settings for the selected options based on the parameters that were set to $True.

Examples

Example 1: Copy settings into both the Welcome screen and system accounts, and new user accounts

PS C:\> Copy-UserInternationalSettingsToSystem -WelcomeScreen $True -NewUser $True

This example copies the Windows Display language, Input language, Regional Format/locale, and Location/GeoID into both the Welcome screen and system accounts, and new user accounts.

Example 2: Copy the settings into only the Welcome screen and system accounts

PS C:\> Copy-UserInternationalSettingsToSystem -WelcomeScreen $True -NewUser $False

This example copies the Windows Display language, Input language, Format/locale, and Regional Location/GeoID to the Welcome screen and system accounts only.

Parameters

-NewUser

Copies the settings into the new user accounts.

Type:Boolean
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-WelcomeScreen

Copies the settings into the Welcome screen and system accounts.

Type:Boolean
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False