Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.

Windows 7: Locking a mouse/keyboard to a virtual PC

03 Feb 2011   #1

Windows 7 Enterprise x64
Locking a mouse/keyboard to a virtual PC

Hello all,

I'm having some trouble figuring this out. I looked about in the forums, but there's a good chance I missed the information for which I was searching. As it is, I apologize for the inconvenience.

While running a game in Windows 7, I'd like to open up VPC on one of the other monitors, but bind a mouse and keyboard (or at least a keyboard) solely to the VPC so while I use my controller to play the game (currently Mafia II), I would be able to look at and navigate web pages and interactive maps on the VPC. With this the game would be able to ignore the bound-to-VPC keyboard and not interrupt my navigation of the game's world, essentially operating as if I were running two separate machines.

Obviously I could just use a second computer, but convenience is key in this scenario.

Can anyone assist me with this? I'd greatly prefer to be able to do it in Windows Virtual PC as opposed to installing another virtualization client (e.g. VMWare).

Kindest Regards,

My System SpecsSystem Spec
04 Feb 2011   #2

Microsoft Community Contributor Award Recipient


Hi FallenAce, welcome to the Seven Forums.

I'm afraid that is not going to work. In theory it works: if integration features are not installed, a VPC virtual machine captures the pointer and keyboard when you click inside the vm window, releasing them only when you A) press CTRL + ALT + RIGHT ARROW, or B) activate another Explorer process. So, making your game the active process you automatically release both pointer and and keyboard from vm.

My System SpecsSystem Spec
04 Feb 2011   #3

Windows 7 Enterprise x64

Thanks for the quick reply. I figured it wouldn't work.
My System SpecsSystem Spec

04 Feb 2011   #4

windows 7 x64

I am not sure about MS VPC but on VMware and VirtualBox, you can indeed do this.
My System SpecsSystem Spec
04 Feb 2011   #5

windows 7

Here has info on how to use VMLite to enable one computer to be used as two:

Two Computers in One? - VMLite

We will actually provide a device to do this too.

might be helpful
My System SpecsSystem Spec
06 Feb 2011   #6

windows 7 x64

What I do with my setup with Virtualbox/VMware is, put the VM window to full screen on monitor #2, the go to the settings for the USB controller for you VM and check "show all USB input devices". From here, there will be icons for the keyboard and mouse on the bottom left where all the device icons are. attach a second keyboard/mouse and select to connect them to the VM from there.
My System SpecsSystem Spec

 Locking a mouse/keyboard to a virtual PC

Thread Tools

Similar help and support threads
Thread Forum
2.4 Ghz wireless keyboard mouse driver not found (Penguin mouse)
I got a wireless mouse Penguin Ambidextrous Vertical Mouse | Posturite. It is supposed to use generic windows 2.4 Ghz adapter. However, windows 7 is unable to find any drivers. The screenshot of device manager is appended. I tried various other ways e.g. take out other USB devices, reboot etc. I...
Mouse scroll and keyboard stop working until left click of mouse
After about 1 minute the mouse scroll and keyboard stop working until I left click mouse. Tool bar on browser also greys out but comes back after left click. Video and sound also are choppy. Not sure if this is related. Flash keeps crashing. Any ideas whats wrong? Windows 7 pro. Asus desktop. This...
General Discussion
How to stop Media Center from locking my screen/mouse
Ok I have multiple monitors & like to watch movies while I do other things at the same time. Now I LOVE Media Center, I think its fantastic. But it locks down the monitor & mouse that it opens up on, not allowing me to do other things on my other monitors. Is there any way to turn this...
Media Center
Mouse Locking Up Randomly
Alright, so I've had this standard 3-button logitech mouse for about a few years now (M-BT96A) and the left click finally decided to die on it. So, I decided to take the mouse from my spare PC (same exact hardware as my main PC) and use it. It's a logitech mouse as well (M-UR69). Now, here's when...
Hardware & Devices
Virtual Box screws up keyboard mapping after exiting
Hi, I'm running Windows 7 on an HP Pavilion dv4 with 4 gig of memory and after I have been on Virtual Box running XP for a while and I exit XP and Virtual Box my Win 7 keyboard is all messed up. By that I mean that pressing a key may bring a menu screen up. Or another key will cause the current...

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:27.
Twitter Facebook Google+