Unable to detect webcam in virtual box

Discussions related to using VirtualBox on Windows hosts.
Post Reply
helen9000
Posts: 1
Joined: 21. Mar 2021, 10:11

Unable to detect webcam in virtual box

Post by helen9000 »

Devices Webcam Integrated Webcam is checked

Host Win10 Guest Win 10

Virtual Box version 6.1.8

Unable to detect webcam in the virtual box

I just see a blue/blank screen







Here is what I have tried via host cmd

C:\Program Files\Oracle\VirtualBox>VBoxManage list webcams
Video Input Devices: 1
.1 "Integrated Webcam"
\\?\usb#vid_0c45&pid_6705&mi_00#6&31b23481&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global

C:\Program Files\Oracle\VirtualBox>VBoxManage list vms
"Win10" {a6324eb4-8712-4378-9f15-fb464204aaa9}

C:\Program Files\Oracle\VirtualBox>VBoxManage controlvm "Win10" webcam attach "\\?\usb#vid_0c45&pid_6705&mi_00#6&31b23481&0&0000#{65e8773d-8f56-11d0-a3b9-00a0c9223196}\global"
VBoxManage.exe: error: Code E_FAIL (0x80004005) - Unspecified error (extended info not available)
VBoxManage.exe: error: Context: "WebcamAttach(path.raw(), settings.raw())" at line 2150 of file VBoxManageControlVM.cpp
Enabled USB Controller , Tried with USB 1.1 USB 2.0 USB 3.0

Also tried the tricks mentioned here

forums virtualbox org viewtopic php f=8&t=87398


But the issue persists
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Unable to detect webcam in virtual box

Post by scottgus1 »

Start the VM from full normal shutdown, not save-state. Run until you see the problem happen, then shut down the VM from within the VM's OS if possible. If not possible, close the Virtualbox window for the VM with the Power Off option set.

Right-click the VM in the main Virtualbox window's VM list, choose Show Log. Save the far left tab's log and the hardening log next to it, zip them, and post the zip file, using the forum's Upload Attachment tab.
Post Reply