Problem with Microsoft Edge

Nine Number 20 Баллы репутации
2025-10-06T12:57:47.81+00:00

Hello Microsoft, I have a script that opens the Msedge browser and logs off when I try to close it. The script is written in PowerShell and deployed to domain computers using GPO (User Configuration -> Windows Settings -> Logon/Logoff Scripts). The script seems to work as intended, but when it comes to websites that require access to video and microphone, the browser starts to slow down and simply can't access the site. This occurs on absolutely all websites that require access to video and microphone. However, if I run the script locally and not through GPO, everything works correctly, including access to the camera and microphone. Could you please tell me what the problem might be?

Microsoft Edge | Проблемы с веб-сайтами | Windows 11
Комментариев: 0 Без комментариев

Ответ, принятый автором вопроса
Randy Baroja 20,785 Баллы репутации Независимый помощник
2025-10-07T13:10:36.9033333+00:00

Hi,

It sounds like you’ve really tried everything under the sun here, PowerShell, Python, SYSTEM context, even editing the registry and trying the Shell parameter trick. I totally get why you’d be feeling at a loss; this isn’t something that’s widely documented. One thing that often trips people up in situations like this is Edge’s Application Guard. Even if you’ve enabled AudioCaptureAllowed and VideoCaptureAllowed and allowed specific URLs, if Edge is running in an isolated container, it can still block the camera and microphone. There’s a policy specifically for that, Allow camera and microphone access in Microsoft Defender Application Guard, and a related registry key (EnableCameraMicrophoneRedirection) that might need to be set to let hardware through.

Kind regards

Этот ответ помог вам?


Дополнительные ответы: 5

Сортировать по: Наиболее полезные
  1. Randy Baroja 20,785 Баллы репутации Независимый помощник
    2025-10-07T14:51:08.8033333+00:00

    Hi,

    You're very much welcome. If all is resolved, feel free to mark the answer for this thread. Otherwise, please let me know if there's anything else I can help you with.

    regards,

    Этот ответ помог вам?


Ваш ответ

Автор вопроса может устанавливать для ответов пометку "Принято", а модераторы — пометку "Рекомендуется". Благодаря этому пользователям становится проще понять, какой из ответов помог решить проблему автора.