Solved

keyboard / mouse for each virtual machine

Posted on 2013-12-02
5
1,497 Views
Last Modified: 2013-12-04
I would like to find a way for several virtual machines(VMware workstation 9) running off the same host to have their own dedicated mouse / keyboard.

If the mouse and keyboard are usb is there a way to have the virtual machine take over the device so that the host does not respond to it ?
(Like when you plug in a jump drive and the virtual machine can take control of it and the host no longer recognizes it)

Host is windows 7 pro running VMware workstation 9
Virtual OS's ( Ubuntu Desktop 12.04, Ubuntu Desktop 13, Windows 7, Windows 8)

Please provide examples of how this could be accomplished.
0
Comment
Question by:GTTech2010
  • 3
5 Comments
 
LVL 12

Assisted Solution

by:mlongoh
mlongoh earned 250 total points
ID: 39690356
0
 
LVL 6

Accepted Solution

by:
jasons73 earned 250 total points
ID: 39690358
You would have to modify each virtual machines vmx file, then I'd assume you could use a USB hub if you required additional ports to attach devices.


Mice and keyboards belong to a special class of USB devices known as Human Interface Devices (HID). By default, you cannot connect these devices to the virtual machine due to the risk of removing all human interface from the host computer. However, you can instruct the VMware product to allow these devices by modifying the virtual machine settings.

Caution: Before performing these steps, ensure that you have access to a second keyboard and/or mouse. Do not perform these steps if you only have one mouse and/or keyboard, as you will not be able to use the device(s) with your host computer while the virtual machine is running.

To connect an external keyboard and/or mouse directly to your virtual machine:

    Shut down the virtual machine that needs the mouse/keyboard.
    Plug the second mouse/keyboard into your host.
    Edit your virtual machine's .vmx file to include these lines:

    usb.generic.allowHID = "TRUE"
    usb.generic.allowLastHID = "TRUE"

    Power on your virtual machine.
    Go to VM > Removable Devices.
    Find and select your keyboard/mouse.
    Click Connect (Disconnect from host).


http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=1033435
0
 

Author Comment

by:GTTech2010
ID: 39690496
Thanks,

I will give that a try.
0
 

Author Comment

by:GTTech2010
ID: 39697456
This worked.

Thanks
0
 

Author Closing Comment

by:GTTech2010
ID: 39697458
I split the difference because each suggestion was to the same article.
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

You may have a outside contractor who comes in once a week or seasonal to do some work in your office but you only want to give him access to the programs and files he needs and keep privet all other documents and programs, can you do this on a loca…
On some Windows 7 (SP1) computers, Windows Update becomes super slow even the computer is reasonably fast.  There's one solution that seemed to have worked well for me (after trying a few other suggested solutions).
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial walks you through using a remote console to access a server and install ESXi 5.1. This example is showing remote access and installation using a Dell server. The hypervisor is the very first component of your virtual infrastructu…

803 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question