3098Serbe (cyrillique, Serbie et Monténégro (anciennement))
10266Serbe (cyrillique, Serbie)
12314Serbe (cyrillique, Monténégro)
2074Serbe (latin, Serbie et Monténégro (anciennement))
11290Serbe (latin, Monténégro)
9242Serbe (latin, Serbie)
1072Sesotho
1132Sesotho sa Leboa
1074Setswana
1113Sindhi (Devanâgarî)
2137Sindhi (arabe)
1115Sinhala
1051Slovaque
1060Slovène
1143Somali
2094Bas-sorabe
1070Haut-sorabe
11274Espagnol (Argentine)
16394Espagnol (Bolivie)
13322Espagnol (Chili)
9226Espagnol (Colombie)
5130Espagnol (Costa Rica)
7178Espagnol (République dominicaine)
12298Espagnol (Équateur)
17418Espagnol (Salvador)
4106Espagnol (Guatemala)
18442Espagnol (Honduras)
2058Espagnol (Mexique)
19466Espagnol (Nicaragua)
6154Espagnol (Panama)
15370Espagnol (Paraguay)
10250Espagnol (Pérou)
20490Espagnol (Porto Rico)
3082Espagnol (Espagne)
21514Espagnol (États-Unis)
14346Espagnol (Uruguay)
8202Espagnol (Venezuela)
1089Swahili
2077Suédois (Finlande)
1053Suédois (Suède)
1114Syriaque
2143Amazighe de l’Atlas central (latin, Algérie)
1119Amazighe de l’Atlas central (arabe, Maroc)
1097Tamoul
1092Tatar
1098Telugu
1064Tadjik
1054Thaï
1105Tibétain (Chine)
2163Tigrinya (Érythrée)
1139Tigrinya (Éthiopie)
1055Turc
1090Turkmène
1152Ouïgour (Chine)
1058Ukrainien
1056Ourdou
2115Ouzbek (cyrillique)
1091Ouzbek (latin)
2051Valencien
1075Venda
1066Vietnamien
1106Gallois
1160Wolof
1073Xitsonga
1157Iakoute
1144Yi (Chine)
1085Yiddish
1130Yorouba
Description
Définir les options d’édition pour les programmes Office 2016. En plus de configurer ce paramètre, pensez à activer la même langue dans le nœud de stratégie « Langues d’édition activées ». Pour obtenir d’autres informations importantes sur le paramétrage de la version installée de Microsoft Office, veuillez consulter la documentation du Kit de ressources d’Office.
Générateur d'exports
BETA
Configurez l'état, la portée et les options, puis générez les sorties .reg, PowerShell, Intune et SCCM — ou ajoutez le paramètre à une collection multi-paramètres.
Ces exports écrivent le registre — ce n'est pas une GPO managée.ⓘ
Fichier .reg
Windows Registry Editor Version 5.00
; Exported from gporais.com
; Policy: Langue d’édition principale
; State: Enabled
; Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
[HKEY_CURRENT_USER\software\policies\microsoft\office\16.0\common\languageresources]
"installlanguage"=dword:00000436
Autres formats (PowerShell, Intune, SCCM)
PowerShell
# Exported from gporais.com
# Policy: Langue d’édition principale
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\software\policies\microsoft\office\16.0\common\languageresources'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'installlanguage' -Value 1078 -Type DWord
Intune XML
Aucune correspondance directe Policy CSP / OMA-URI pour cette stratégie. Utilisez l'onglet Intune Remediation, ou importez l'ADMX dans Intune.
Intune Remediation
# === Detection script ===
# Exported from gporais.com
# Policy: Langue d’édition principale
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKCU:\software\policies\microsoft\office\16.0\common\languageresources' -Name 'installlanguage' -Expected 1078 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Langue d’édition principale
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\software\policies\microsoft\office\16.0\common\languageresources'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'installlanguage' -Value 1078 -Type DWord
Scripts SCCM
# Exported from gporais.com
# Policy: Langue d’édition principale
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# SCCM Configuration Item guidance:
# Create a Configuration Item of type "Setting: Script".
# Discovery script: use the Detection script below.
# Remediation script: use the Remediation script below.
# Compliance rule: the Discovery script output equals 'Compliant'.
# === Detection script ===
# Exported from gporais.com
# Policy: Langue d’édition principale
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
function Test-RegistryValue {
param(
[Parameter(Mandatory = $true)][string]$Path,
[Parameter(Mandatory = $true)][string]$Name,
[object]$Expected,
[ValidateSet('String', 'DWord', 'MultiString')][string]$Kind = 'String',
[switch]$Absent
)
try {
$item = Get-ItemProperty -LiteralPath $Path -Name $Name -ErrorAction Stop
} catch {
return $Absent.IsPresent
}
if ($Absent.IsPresent) { return $false }
$actual = $item.$Name
if ($Kind -eq 'DWord') { return ([int64]$actual) -eq ([int64]$Expected) }
if ($Kind -eq 'MultiString') {
$actualValues = @($actual)
$expectedValues = @($Expected)
if ($actualValues.Count -ne $expectedValues.Count) { return $false }
for ($i = 0; $i -lt $expectedValues.Count; $i++) {
if ([string]$actualValues[$i] -ne [string]$expectedValues[$i]) { return $false }
}
return $true
}
return [string]$actual -eq [string]$Expected
}
$checks = @(
(Test-RegistryValue -Path 'HKCU:\software\policies\microsoft\office\16.0\common\languageresources' -Name 'installlanguage' -Expected 1078 -Kind DWord)
)
if ($checks -notcontains $false) {
Write-Output 'Compliant'
exit 0
}
Write-Output 'Non-compliant'
exit 1
# === Remediation script ===
# Exported from gporais.com
# Policy: Langue d’édition principale
# State: Enabled
# Supported on: Au minimum Windows Server 2008 R2 ou Windows 7
# Warning: In SYSTEM context (the Intune default), HKCU targets the SYSTEM profile. Run this script using the logged-on credentials.
$path = 'HKCU:\software\policies\microsoft\office\16.0\common\languageresources'
New-Item -Path $path -Force | Out-Null
Set-ItemProperty -Path $path -Name 'installlanguage' -Value 1078 -Type DWord
Vous construisez une collection multi-paramètres ? Ajoutez ce paramètre et générez des exports combinés (.reg, PowerShell, GPO).