Set-WinAcceptLanguageFromLanguageListOptOut

Applies To: Windows 8, Windows Server 2012

Set-WinAcceptLanguageFromLanguageListOptOut

Sets the HTTP Accept Language from the Language List opt-out setting for the current user account.

Syntax

Parameter Set: Default
Set-WinAcceptLanguageFromLanguageListOptOut [-OptOut] <Boolean> [ <CommonParameters>]

Detailed Description

By default, the HTTP Accept Language List is automatically generated from the current user account’s language list. You can use the Set-WinAcceptLanguageFromLanguageListOptOut cmdlet to set the HTTP Accept Language from Language List opt-out value. When set to TRUE, this setting deletes the current content of the HTTP Accept Language registry key and prevents changes to the language list from reestablishing the key. When set to FALSE, this setting reestablishes the HTTP Accept Language List based on the language list for the current user account.

Parameters

-OptOut<Boolean>

Aliases

none

Required?

true

Position?

1

Default Value

none

Accept Pipeline Input?

false

Accept Wildcard Characters?

false

<CommonParameters>

This cmdlet supports the common parameters: -Verbose, -Debug, -ErrorAction, -ErrorVariable, -OutBuffer, and -OutVariable. For more information, see about_CommonParameters.

Examples

Example 1

This cmdlet deletes the current content of the HTTP Accept Language registry key and blocks updates to the key based on changes to the user’s language list.

PS C:\> Set-WinAcceptLanguageFromLanguageListOptOut 1



PS C:\> 

Get-WinAcceptLanguageFromLanguageListOptOut