[Solved] Failure adding physical serial port under Windows 10 x64 host

Discussions related to using VirtualBox on Windows hosts.
Post Reply
SilentNinja1
Posts: 4
Joined: 25. Mar 2022, 15:27

[Solved] Failure adding physical serial port under Windows 10 x64 host

Post by SilentNinja1 »

When using Host Device, the VM will not start with a host device serial port. We have tried reassigning the host port to a different port number, as well as differing formats for the port name - \\.\COM1 as well as COM1: and COM1 with no luck. Any idea what im missing here?
Attachments
Capture3.PNG
Capture3.PNG (22.58 KiB) Viewed 966 times
Capture2.PNG
Capture2.PNG (126.61 KiB) Viewed 966 times
Capture.PNG
Capture.PNG (11.64 KiB) Viewed 966 times
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Failure adding physical serial port under Windows 10 x64 host

Post by mpack »

Serial ports can't be shared, so make sure nothing else is already using it.

If it's a USB serial then another no-no is unplugging the USB connector after the port is opened. Plugging it back in begins a new session, with a different device handle.
SilentNinja1
Posts: 4
Joined: 25. Mar 2022, 15:27

Re: Failure adding physical serial port under Windows 10 x64 host

Post by SilentNinja1 »

Already verified nothing else is using it, fresh reboot and nothing. Open putty and I can open the port. Its a local built in port (Dells version of a toughbook for industrial applications) so not USB and no unplugging possible.
SilentNinja1
Posts: 4
Joined: 25. Mar 2022, 15:27

Re: Failure adding physical serial port under Windows 10 x64 host

Post by SilentNinja1 »

After some more digging, found the user had installed a bitcoin miner as well as a few other things on the base machine, and one of the added applications was intermittently using the port.
mpack
Site Moderator
Posts: 39134
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Mostly XP

Re: Failure adding physical serial port under Windows 10 x64 host

Post by mpack »

I see, thanks for reporting back.
SilentNinja1
Posts: 4
Joined: 25. Mar 2022, 15:27

Re: [Solved] Failure adding physical serial port under Windows 10 x64 host

Post by SilentNinja1 »

No problem, vanishing issue reports bug me on another OSS project i frequently contribute to so wasnt going to cause it here! Intermittent part threw me off for a bit for sure though...
Post Reply