Ouvrir dans l'explorateur

Automatically import another browser's data and settings at first run

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 et utilisateur
Chemin GPO
Configuration ordinateur › Stratégies › Modèles d'administration › Microsoft Edge Configuration utilisateur › Stratégies › Modèles d'administration › Microsoft Edge EN : Computer Configuration › Policies › Administrative Templates › Microsoft EdgeEN : User Configuration › Policies › Administrative Templates › Microsoft Edge
Pris en charge sur
Microsoft Edge version 77, Windows 7 or later
Fichier ADMX
msedge.admx
Nom interne
msedge/AutoImportAtFirstRun

Explication

If you enable this policy, all supported datatypes and settings from the specified browser are silently and automatically imported at first run. During the First Run Experience, the import section is also skipped.

The browser data from Microsoft Edge Legacy is always silently migrated at the first run, irrespective of the value of this policy.

If you set this policy to 'FromDefaultBrowser', then the datatypes corresponding to the default browser on the managed device are imported.

If the browser specified as the value of this policy isn't present in the managed device, Microsoft Edge simply skips the import without any notification to the user.

If you set this policy to 'DisabledAutoImport', the import section of the first-run experience is skipped entirely, and Microsoft Edge doesn't import browser data and settings automatically.

If you set this policy to 'FromInternetExplorer', the following datatypes are imported from Internet Explorer:

1. Favorites or bookmarks
2. Saved passwords
3. Search engines
4. Browsing history
5. Home page

If you set this policy to 'FromGoogleChrome', the following datatypes are imported from Google Chrome:

1. Favorites
2. Saved passwords
3. Addresses and more
4. Payment info
5. Browsing history
6. Settings
7. Pinned and Open tabs
8. Extensions
9. Cookies

Note: For more details on what is imported from Google Chrome, see https://go.microsoft.com/fwlink/?linkid=2120835

If you set this policy to 'FromSafari', user data is no longer imported into Microsoft Edge. This is because of the way in which Full Disk Access works on Mac.
On macOS Mojave and above, it's no longer possible to have automated and unattended import of Safari data into Microsoft Edge.

Starting with Microsoft Edge version 83, if you set this policy to 'FromMozillaFirefox', the following datatypes are imported from Mozilla Firefox:
1. Favorites or bookmarks
2. Saved passwords
3. Addresses and more
4. Browsing History

If you want to restrict specific datatypes from getting imported onto the managed devices, use this policy with other policies such as 'ImportAutofillFormData' (Allow importing of autofill form data), 'ImportBrowserSettings' (Allow importing of browser settings), 'ImportFavorites' (Allow importing of favorites), and so on.

Policy options mapping:

* FromDefaultBrowser (0) = Automatically imports all supported datatypes and settings from the default browser

* FromInternetExplorer (1) = Automatically imports all supported datatypes and settings from Internet Explorer

* FromGoogleChrome (2) = Automatically imports all supported datatypes and settings from Google Chrome

* FromSafari (3) = Automatically imports all supported datatypes and settings from Safari

* DisabledAutoImport (4) = Disables automatic import, and the import section of the first-run experience is skipped

* FromMozillaFirefox (5) = Automatically imports all supported datatypes and settings from Mozilla Firefox

Use the preceding information when configuring this policy.

Registre

HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge
HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge
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.

Ordinateur (HKLM)

Activer

# Activer : msedge/AutoImportAtFirstRun
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
if (-not (Test-Path -Path $k)) { New-Item -Path $k -Force | Out-Null }
# Automatically import another browser's data and settings at first run
# Options possibles :
#   Automatically imports all supported datatypes and settings from the default browser = 0
#   Automatically imports all supported datatypes and settings from Internet Explorer = 1
#   Automatically imports all supported datatypes and settings from Google Chrome = 2
#   Automatically imports all supported datatypes and settings from Safari = 3
#   Disables automatic import, and the import section of the first-run experience is skipped = 4
#   Automatically imports all supported datatypes and settings from Mozilla Firefox = 5
Set-ItemProperty -Path $k -Name 'AutoImportAtFirstRun' -Value 0 -Type DWord

Désactiver

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

Revenir à « Non configuré »

# Revenir à « Non configuré » : msedge/AutoImportAtFirstRun
$k = 'HKLM:\Software\Policies\Microsoft\Edge'
Remove-ItemProperty -Path $k -Name 'AutoImportAtFirstRun' -ErrorAction SilentlyContinue

Utilisateur (HKCU)

Activer

Désactiver

Revenir à « Non configuré »

Options (1)

LibelléContrôleValeur de registreType REGContraintes / détails
Automatically import another browser's data and settings at first runAutoImportAtFirstRunListe déroulanteenumAutoImportAtFirstRunREG_DWORD
LibelléValeur
Automatically imports all supported datatypes and settings from the default browserREG_DWORD = 0
Automatically imports all supported datatypes and settings from Internet ExplorerREG_DWORD = 1
Automatically imports all supported datatypes and settings from Google ChromeREG_DWORD = 2
Automatically imports all supported datatypes and settings from SafariREG_DWORD = 3
Disables automatic import, and the import section of the first-run experience is skippedREG_DWORD = 4
Automatically imports all supported datatypes and settings from Mozilla FirefoxREG_DWORD = 5

Application

Microsoft Edge (+ Edge Update, WebView2) (Microsoft) — modèles de novembre 2026

Modèles officiels téléchargés le 12 novembre 2026.