sandboxie-plus / Sandboxie

Sandboxie Plus & Classic
https://Sandboxie-Plus.com
GNU General Public License v3.0
13.93k stars 1.55k forks source link

Microsoft Teams: no access to microphone/speakers/webcam #1824

Open krmkrx opened 2 years ago

krmkrx commented 2 years ago

What happened?

Unable to use microphone/speakers/webcam within sandboxed Microsoft Teams.

I tried the following already to no avail:

OpenIpcPath=\RPC Control\AudioClientRpc
OpenDevCMApi=y
OpenWinClass=*
SpecialImage=chrome,Teams.exe
RpcMgmtSetComTimeout=y

Download link

Not relevant

To Reproduce

  1. Create empty sandbox
  2. Apply above mentioned strings to .ini
  3. Locate Teams.exe on host system
  4. Right click on teams.exe on host system and run in sandbox
  5. Microsoft Teams works normally despite no access to audio/video devices of host system

Expected behavior

Be able to make a voice and video call using audio and video devices of host system

What is your Windows edition and version?

Windows 11 Pro

In which Windows account you have this problem?

I use the built-in Administrator account.

Please mention any installed security software

Windows Defender

What version of Sandboxie are you running?

Sandboxie Plus v.1.0.15 64-bit

Is it a regression?

No response

List of affected browsers

No response

In which sandbox type you have this problem?

All sandbox types (I tried them all).

Where is the program located?

The program is installed both inside and outside the sandbox.

Can you reproduce this problem on an empty sandbox?

I can confirm it also on an empty sandbox.

Did you previously enable some security policy settings outside Sandboxie?

No response

Crash dump

No response

Trace log

No response

Sandboxie.ini configuration

Enabled=y
AutoRecover=y
BlockNetworkFiles=y
RecoverFolder=%{374DE290-123F-4565-9164-39C4925E467B}%
RecoverFolder=%Personal%
RecoverFolder=%Desktop%
BorderColor=#00ffff,ttl,6
Template=OpenBluetooth
Template=SkipHook
Template=FileCopy
Template=qWave
Template=BlockPorts
Template=LingerPrograms
Template=AutoRecoverIgnore
ConfigLevel=9
UsePrivacyMode=n
OpenIpcPath=\RPC Control\AudioClientRpc
OpenDevCMApi=y
OpenWinClass=*
SpecialImage=chrome,Teams.exe
RpcMgmtSetComTimeout=y
isaak654 commented 1 year ago

Please provide a feedback to the following workaround: https://github.com/sandboxie-plus/Sandboxie/issues/1669#issuecomment-1556199041

See also https://github.com/sandboxie-plus/Sandboxie/discussions/1942#discussioncomment-5902696