Edge stores open tabs within one or more Tabs_<arbitrary #>
file(s) located at:
# See #4 for Old User's %LocalAppData% path
"%LocalAppData%\Microsoft\Edge\User Data\Default\Sessions\Tabs_<arbitrary #>"
To restore the old User Profile's Edge tabs for the current user, copy the Tabs_<arbitrary #>
file(s) from the old User Profile to the new one:
- Open a Terminal:
+R → Open: powershell
→ OK
- Close Microsoft Edge, then ensure no instances remain open:
TaskKill /im "msedge.exe" /f
- Rename current Edge profile's
Tabs_<arbitrary #>
file(s) to Tabs-<#>.old
:
Ren "$env:LocalAppData\Microsoft\Edge\User Data\Default\Sessions\Tabs" "$env:LocalAppData\Microsoft\Edge\User Data\Default\Sessions\Tabs-<#>.old"
- With cursor at the end of
..\Tabs
, double press Tab to auto-complete numerical portion of the file name, repeating until no more Tabs_<arbitrary #>
file(s) exist
- Copy old User Profile's Edge profile's
Tabs_<arbitrary #>
file(s) to new user's:
Xcopy "C:\Users\<OldUser>\AppData\Local\Microsoft\Edge\User Data\Default\Sessions\Tabs*" "$env:LocalAppData\Microsoft\Edge\User Data\Default\Sessions\"
- Open Edge
To restore the old User Profile's Edge profile for the current user, copy the Edge profile's User Data
directory from the old User Profile, instead of only the Tabs_<arbitrary #>
file(s):
- Close Microsoft Edge, then ensure no instances remain open:
TaskKill /im "msedge.exe" /f
- Rename current Edge profile's
User Data
directory to User Data.old
:
Ren "$env:LocalAppData\Microsoft\Edge\User Data" "$env:LocalAppData\Microsoft\Edge\User Data.old"
- Copy old user's Edge profile's
User Data
directory to new user:
RoboCopy "C:\Users\<OldUser>\AppData\Local\Microsoft\Edge\User Data" "$env:LocalAppData\Microsoft\Edge\User Data" /e /eta /v
- Open Edge