Solved

keyboard / mouse for each virtual machine

Posted on 2013-12-02
5
1,683 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
5 Comments
 
LVL 12

Assisted Solution

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

Accepted Solution

by:
J S 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
A look into Log Analysis and Effective Critical Alerting.
This Micro Tutorial will teach you the basics of configuring your computer to improve its speed. It will also teach you how to disable programs that are running in the background simultaneously. This will be demonstrated using Windows 7 operating…
The viewer will learn how to successfully download and install the SARDU utility on Windows 7, without downloading adware.

623 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