Ouvrir dans l'explorateur

Specify SharePoint Server URL and organization name

Cette stratégie n'a pas de traduction française dans les modèles de l'éditeur ; le texte original est en anglais.

Type
Ordinateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › OneDrive EN : Computer Configuration › Policies › Administrative Templates › OneDrive
Pris en charge sur
At least Windows Server 2008 R2 or Windows 7
Fichier ADMX
OneDrive.admx
Nom interne
OneDrive/SharePointOnPremFrontDoorUrl

Explication

This setting lets you enable users to use the OneDrive sync app (OneDrive.exe) to sync files in SharePoint Server 2019. The URL defines the location of the SharePoint Server and enables the sync app to authenticate and set up sync. The organization name lets you specify the OneDrive and SharePoint folder names that will be created in File Explorer. The organization name is optional. If you don't provide it, the sync app will use the first segment of the URL as the name. For example, office.sharepoint.com would become "Office," and the OneDrive folder name would be "OneDrive - Office."

If you enable this setting and provide the SharePoint Server URL, users will be able to sync files in SharePoint Server 2019.

If you disable or do not configure this setting, or do not provide the SharePoint Server URL, users will not be able to sync files in SharePoint Server 2019.

Registre

HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\OneDrive
Nom de la valeur
non défini dans l'ADMX

Valeurs d'activation / désactivation : non défini dans l'ADMX (voir les options ci-dessous).

PowerShell

Commandes PowerShell qui écrivent dans le registre ce que la stratégie écrirait. Les valeurs entre chevrons (<…>) sont à remplacer.

Écrire directement dans le registre contourne la stratégie de groupe : si une GPO gère cette valeur, elle sera réécrite au prochain gpupdate ; sinon la valeur reste en place (effet « tatouage »). Préférez une GPO ou, en local, LGPO.exe. Exécutez PowerShell en administrateur pour HKLM. Certaines stratégies demandent un redémarrage ou gpupdate /force.

Activer

# Activer : OneDrive/SharePointOnPremFrontDoorUrl
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# SharePoint Server 2019 URL
Set-ItemProperty -Path $k -Name 'SharePointOnPremFrontDoorUrl' -Value '<valeur>' -Type String
# Organization name
Set-ItemProperty -Path $k -Name 'SharePointOnPremTenantName' -Value '<valeur>' -Type String

Désactiver

# Désactiver : OneDrive/SharePointOnPremFrontDoorUrl
# Aucune valeur n'est écrite à l'état « Désactivé » (rien de défini dans l'ADMX)

Revenir à « Non configuré »

# Revenir à « Non configuré » : OneDrive/SharePointOnPremFrontDoorUrl
$k = 'HKLM:\SOFTWARE\Policies\Microsoft\OneDrive'
Remove-ItemProperty -Path $k -Name 'SharePointOnPremFrontDoorUrl' -ErrorAction SilentlyContinue
Remove-ItemProperty -Path $k -Name 'SharePointOnPremTenantName' -ErrorAction SilentlyContinue

Options (2)

LibelléContrôleValeur de registreType REGContraintes / détails
SharePoint Server 2019 URL:SharePointOnPremFrontDoorUrlBoxZone de textetextSharePointOnPremFrontDoorUrlREG_SZ
Obligatoire · Longueur max : 2000
Organization name:SharePointOnPremTenantNameBoxZone de textetextSharePointOnPremTenantNameREG_SZ
Obligatoire · Longueur max : 2000

Application

Microsoft OneDrive (Microsoft) — modèles d'octobre 2026

Modèles d'octobre 2026 issus de pl4nty/web-admx-tool.