Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

keyboard / mouse for each virtual machine

Posted on 2013-12-02
5
Medium Priority
?
1,769 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 1000 total points
ID: 39690356
0
 
LVL 8

Accepted Solution

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

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as high-speed processing of the cloud.

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
This Micro Tutorial will go in depth within Systems and Security in Windows 7 and will go into detail regarding Action Center, Windows Firewall, System, etc. This will be demonstrated using Windows 7 operating system.
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

670 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