Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
1 like 0 dislike
2.7k views
in PowerShell by 1 1 1

I tried using this PowerShell command inside a PowerShell script to open the page to set the microphone.

[system.Diagnostics.Process]::Start("chrome","chrome://settings/content/microphone")

Unfortunately, this command simply opens the Chrome home page without showing the microphone setting page. Then after you have to write chrome://settings/content/microphone in the URL to reach the microphone setting page.

This facilitation is needed to make it easier for people that use webcaptioner (a free subtitling tool) to set the microphone. Most of them are deaf pupils. and deaf students with poor knowledge of PC settings.

Thanks in advance.


1 Answer

0 like 0 dislike
by 159 200 383

Unfrothuantly, it's not allowed to load local resources or open a secure Chrome page like the chrome://settings/ page using PowerShell!

Even if you tried to open Chrome Settings Page using window.open() as a workaround, you will get the below error

Not allowed to load local resource: chrome://settings/

Not allowed to load local resource: chrome://settings/

by 1 1 1
1 0
Many thanks Mohamed, I suspected it.
As workaround  I programmatically open an html page with information needed to set the microphone
by 159 200 383
0 0
A great workaround, could you please share it as a new answer to be helpful for all future users who will face the same issue. Thanks!
If you don’t ask, the answer is always NO!
...