Comment use USB périphériques avec Windows sandbox?

Existe-t-il un moyen de use USB périphériques directly in Windows Sandbox? So far I seulement found the workaround e.g. for flash drives mounting them via the host by using <Hostfolder>E:\</Hostfolder> dans le configuration fichier. This workaround leads to other problèmes, e.g. ne work à la volée.

Y a-t-il un better method?

Any suggestions that work for all kinds of USB périphériques (e.g. WLAN adapters) are preferred. J’utilise Windows 11 including the latest mises à jour.


Source : Super User

This question was posted on various sites. Par exemple on Redit

Can I give Windows Sandbox access to USB devices?

The answer in that post by a Microsoft Software Engineer was :

We ne actuellement support this - but there a été discussion around supporting USB périphérique redirection. A standard machine virtuelle may be the best approach si vous need quelque chose dans le near term. Thanks!

The approach of using your own Windows machine virtuelle requires its
creation, activation, and copying it if vous pourriez like to start from
scratch from time to time.

This approach will work, but is very heavy to set up.

If your main concern is about sécurité, a good-enough solution is using
the open-source and free
Sandboxie Plus.

Sandboxie will isolate your sessions from Windows, so that whatever
you do inside its sandbox ne affect the système d’exploitation.
Its sandbox is persistent, so vous n’avez pas have to start à partir de zéro
après each redémarrer.
Deleting the contents du sandbox in effect undoes tout
that you did inside it.