Virtualbox and Serial Port permissions

2

I have a Windows XP Pro SP3 host machine running a Windows XP Pro SP3 guest machine. The host machine has one serial port, COM1, that I need to use in the guest machine.

When I add the serial port to the guest machine and try to start it, I get the following error:

Failed to start the virtual machine xxx

Cannot open host device 'COM1' for read/write access.
Check the permissions of that device (VERR_ACCESS_DENIED).

Unknown error creating VM (VERR_ACCESS_DENIED).

What are some of the things that might be causing this problem? How can I check "permissions" on a serial port?

Pandincus

Posted 2009-08-07T19:38:13.873

Reputation: 329

Answers

2

When you can not access a serial port in most of the cases something is using it already. If that is the case you can try to access the port with hyperteminal. If it can not open the port either, you just have to find what uses it, and shut it down.

ytg

Posted 2009-08-07T19:38:13.873

Reputation: 902

It is actually possible to not have permissions to open a serial port: try running as a limited user sometime! – SamB – 2010-07-02T22:43:52.983

Answer changed slightly. But I think it is still true in most of the cases, because most of the people don't use limited accounts on XP. – ytg – 2010-07-08T17:39:41.337

Using Windows 7. Was a "duh" moment when I realized I had kitty open behind virtualbox with the com port open... pretty easy fix: close kitty! – Jeremy – 2012-03-18T07:44:24.640