Automatically import another browser's data and settings at first run: registry value AutoImportAtFirstRunUserHKCU\Software\Policies\Microsoft\Edge

Policy ID
AutoImportAtFirstRun
Scope
Computer Configuration, User Configuration
Supported on
Microsoft Edge version 77, Windows 7 or later
Source
Microsoft Edge Policy Templates (version 155.0.4283.45)
Category
Microsoft Edge

Registry

AutoImportAtFirstRun

REG_DWORDUserComputer
Enabled value
Depends on the option value
Element
Automatically import another browser's data and settings at first run
Options
ItemStored value
Automatically imports all supported datatypes and settings from the default browser0
Automatically imports all supported datatypes and settings from Internet Explorer1
Automatically imports all supported datatypes and settings from Google Chrome2
Automatically imports all supported datatypes and settings from Safari3
Disables automatic import, and the import section of the first-run experience is skipped4
Automatically imports all supported datatypes and settings from Mozilla Firefox5
Apply with .reg · CMD · PowerShell
UserPer-account setting
.reg
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Policies\Microsoft\Edge]

; Options (use only one)
; Automatically imports all supported datatypes and settings from the default browser
"AutoImportAtFirstRun"=dword:00000000
; Automatically imports all supported datatypes and settings from Internet Explorer
"AutoImportAtFirstRun"=dword:00000001
; Automatically imports all supported datatypes and settings from Google Chrome
"AutoImportAtFirstRun"=dword:00000002
; Automatically imports all supported datatypes and settings from Safari
"AutoImportAtFirstRun"=dword:00000003
; Disables automatic import, and the import section of the first-run experience is skipped
"AutoImportAtFirstRun"=dword:00000004
; Automatically imports all supported datatypes and settings from Mozilla Firefox
"AutoImportAtFirstRun"=dword:00000005
CMD
:: Options (use only one)

:: Automatically imports all supported datatypes and settings from the default browser
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "AutoImportAtFirstRun" /t REG_DWORD /d 0 /f
:: Automatically imports all supported datatypes and settings from Internet Explorer
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "AutoImportAtFirstRun" /t REG_DWORD /d 1 /f
:: Automatically imports all supported datatypes and settings from Google Chrome
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "AutoImportAtFirstRun" /t REG_DWORD /d 2 /f
:: Automatically imports all supported datatypes and settings from Safari
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "AutoImportAtFirstRun" /t REG_DWORD /d 3 /f
:: Disables automatic import, and the import section of the first-run experience is skipped
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "AutoImportAtFirstRun" /t REG_DWORD /d 4 /f
:: Automatically imports all supported datatypes and settings from Mozilla Firefox
reg add "HKCU\Software\Policies\Microsoft\Edge" /v "AutoImportAtFirstRun" /t REG_DWORD /d 5 /f
PowerShell
# Common: create the key
New-Item -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Options (use only one)
# Automatically imports all supported datatypes and settings from the default browser
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'AutoImportAtFirstRun' -PropertyType DWord -Value 0 -Force | Out-Null
# Automatically imports all supported datatypes and settings from Internet Explorer
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'AutoImportAtFirstRun' -PropertyType DWord -Value 1 -Force | Out-Null
# Automatically imports all supported datatypes and settings from Google Chrome
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'AutoImportAtFirstRun' -PropertyType DWord -Value 2 -Force | Out-Null
# Automatically imports all supported datatypes and settings from Safari
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'AutoImportAtFirstRun' -PropertyType DWord -Value 3 -Force | Out-Null
# Disables automatic import, and the import section of the first-run experience is skipped
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'AutoImportAtFirstRun' -PropertyType DWord -Value 4 -Force | Out-Null
# Automatically imports all supported datatypes and settings from Mozilla Firefox
New-ItemProperty -Path 'HKCU:\Software\Policies\Microsoft\Edge' -Name 'AutoImportAtFirstRun' -PropertyType DWord -Value 5 -Force | Out-Null
ComputerMachine-wide setting
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Edge]

; Options (use only one)
; Automatically imports all supported datatypes and settings from the default browser
"AutoImportAtFirstRun"=dword:00000000
; Automatically imports all supported datatypes and settings from Internet Explorer
"AutoImportAtFirstRun"=dword:00000001
; Automatically imports all supported datatypes and settings from Google Chrome
"AutoImportAtFirstRun"=dword:00000002
; Automatically imports all supported datatypes and settings from Safari
"AutoImportAtFirstRun"=dword:00000003
; Disables automatic import, and the import section of the first-run experience is skipped
"AutoImportAtFirstRun"=dword:00000004
; Automatically imports all supported datatypes and settings from Mozilla Firefox
"AutoImportAtFirstRun"=dword:00000005
CMD
:: Options (use only one)

:: Automatically imports all supported datatypes and settings from the default browser
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "AutoImportAtFirstRun" /t REG_DWORD /d 0 /f
:: Automatically imports all supported datatypes and settings from Internet Explorer
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "AutoImportAtFirstRun" /t REG_DWORD /d 1 /f
:: Automatically imports all supported datatypes and settings from Google Chrome
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "AutoImportAtFirstRun" /t REG_DWORD /d 2 /f
:: Automatically imports all supported datatypes and settings from Safari
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "AutoImportAtFirstRun" /t REG_DWORD /d 3 /f
:: Disables automatic import, and the import section of the first-run experience is skipped
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "AutoImportAtFirstRun" /t REG_DWORD /d 4 /f
:: Automatically imports all supported datatypes and settings from Mozilla Firefox
reg add "HKLM\Software\Policies\Microsoft\Edge" /v "AutoImportAtFirstRun" /t REG_DWORD /d 5 /f
PowerShell
# Common: create the key
New-Item -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Force | Out-Null

# Options (use only one)
# Automatically imports all supported datatypes and settings from the default browser
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'AutoImportAtFirstRun' -PropertyType DWord -Value 0 -Force | Out-Null
# Automatically imports all supported datatypes and settings from Internet Explorer
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'AutoImportAtFirstRun' -PropertyType DWord -Value 1 -Force | Out-Null
# Automatically imports all supported datatypes and settings from Google Chrome
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'AutoImportAtFirstRun' -PropertyType DWord -Value 2 -Force | Out-Null
# Automatically imports all supported datatypes and settings from Safari
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'AutoImportAtFirstRun' -PropertyType DWord -Value 3 -Force | Out-Null
# Disables automatic import, and the import section of the first-run experience is skipped
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'AutoImportAtFirstRun' -PropertyType DWord -Value 4 -Force | Out-Null
# Automatically imports all supported datatypes and settings from Mozilla Firefox
New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\Edge' -Name 'AutoImportAtFirstRun' -PropertyType DWord -Value 5 -Force | Out-Null