# Open ms edge in password setting location

**URL:** <https://forums.powershell.org/t/open-ms-edge-in-password-setting-location/25774>\
**Category:** Uncategorized\
**Created:** [May 6, 2025, 7:19pm UTC](https://forums.powershell.org/t/open-ms-edge-in-password-setting-location/25774 "2025-05-06T19:19:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrverdickt](https://avatars.discourse-cdn.com/v4/letter/c/8c91f0/32.png) [@chrverdickt](https://forums.powershell.org/u/chrverdickt)\
**Post date:** [May 6, 2025, 7:19pm UTC](https://forums.powershell.org/t/open-ms-edge-in-password-setting-location/25774/1 "2025-05-06T19:19:21Z")

</div>

hi,

I am putting my question in this categorie because i think it is not possible what i am asking. We are doing a migration to another microsoft tenant in the coming weeks and i would like to export the favorites and the passwords so that i can import them later in the newly created ms edge profile.

I know i am unable to export the passwords and managed to script the export of the favorites but still have the following question but since i haven’t got it working without powershell i have little fate it will work using powershell.

During the script i would like to start ms edge in the following location  
edge://wallet/passwords?source=passwordssettings so that the user is immedately on the right spot and only needs to select to export the passwords and provide his password+location for the export.

Maybe i just need to create a manual for this, my own testing resulted to nothing and a search on the internet did not provide something hopeful.

Thanks in advance

---

<div class="post-metadata">

**Author:** ![grey0ut](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/grey0ut/32/5310_2.png) [@grey0ut](https://forums.powershell.org/u/grey0ut)\
**Post date:** [May 6, 2025, 7:56pm UTC](https://forums.powershell.org/t/open-ms-edge-in-password-setting-location/25774/2 "2025-05-06T19:56:46Z")

</div>

This isn’t so much a PowerShell issue as it is an MSEdge issue.  
The first step is figuring out **if** you can launch msedge.exe with any command line arguments that will open settings. You can open URLs, but the same syntax doesn’t work for edge://

Once you figure that out, then you can write PowerShell to replicate the behavior.

EDIT: See this post on [SuperUser](https://superuser.com/questions/1679738/open-internal-urledge-by-command-line), I don’t think this is going to be possible for you

---

<div class="post-metadata">

**Author:** ![matt-bloomfield](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@matt-bloomfield](https://forums.powershell.org/u/matt-bloomfield)\
**Post date:** [May 6, 2025, 8:35pm UTC](https://forums.powershell.org/t/open-ms-edge-in-password-setting-location/25774/3 "2025-05-06T20:35:07Z")

</div>

Bit of a hack, but this seems to work. Obviously no good if the window loses focus 🙂

I found the `Start-Sleep` was necessary as Edge needs to have finished launching before the URL can be ‘typed’:

```PowerShell
$wShell = New-Object -COMObject WScript.Shell
Start-Process msedge
Start-Sleep -Seconds 1
$wShell.SendKeys("edge://wallet/passwords?source=passwordssettings{ENTER}")

```

---

<div class="post-metadata">

**Author:** ![grey0ut](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.powershell.org/grey0ut/32/5310_2.png) [@grey0ut](https://forums.powershell.org/u/grey0ut)\
**Post date:** [May 6, 2025, 9:01pm UTC](https://forums.powershell.org/t/open-ms-edge-in-password-setting-location/25774/4 "2025-05-06T21:01:28Z")

</div>

> [@grey0ut](#):
>
> hell issue as it is an MSEdge issue.  
> The first step is figuring out **if** you can launch msedge.exe with any command line arguments that will open settings. You can op

you’re the man Matt!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/powershell/original/1X/385e4f9fe133561ad30a814262fe0e0ae6bc3ef0.png) [@system](https://forums.powershell.org/u/system)\
**Post date:** [June 5, 2025, 9:01pm UTC](https://forums.powershell.org/t/open-ms-edge-in-password-setting-location/25774/5 "2025-06-05T21:01:36Z")

</div>

Closed on June 5, 2025, 9:01pm UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
