Skip to main content

Console Mouse Not Working in Windows 2012 VMs




I recently ran into some problems while deploying a Windows Server 2012 R2 VM in my vSphere 6.5 U2 lab. I’ve come to expect that the console mouse response is going to be terrible until VMware Tools is installed, but for some odd reason I had no mouse control whatsoever. Thinking it may be a quirk of the Web Console, I tried both the Remote Console and the HTML5 client to no avail.
The VM appeared to be healthy and would register keyboard input, but the motion of the mouse cursor was erratic or the cursor would not move at all. Thinking that I just needed to battle on and get Tools installed, I attempted to use the keyboard for this purpose – what a chore. You think it would have been easy, but the installer kept losing focus and falling behind other open windows. Many of the windows keyboard shortcuts I’d normally use were not functioning because they register on my laptop – not in the console. I couldn’t RDP to the VM either because the NIC needed to be configured with a valid IP address.
After doing a bit of research, it appeared that display scaling could cause all sorts of mouse issues – but this didn’t appear to be applicable in my case. That’s when I stumbled upon a communities thread that mentioned adding a USB controller to the VM. Even though my VM was ‘Hardware Version 13’, the USB 2.0 controller isn’t added by default.
I managed to get to the device manager using the keyboard, and you can see that the virtual hardware will use a PS/2 a mouse in the absence of a USB controller:





I then went ahead and added the basic USB 2.0 controller to the VM and booted it up.








 usual laggy – but working – mouse functionality had returned. You can see that the presence of the USB controller triggers the addition of a USB HID-compliant mouse device. In fact, there are two there in addition to the PS/2 mouse – not sure why.

 

At any rate, this seemed to fix the problem. I can only assume that newer builds of Windows don’t like the PS/2 mouse support offered by vSphere. In all fairness, the PS/2 standard is ancient and akin to using a serial mouse a decade ago. We’ve already seen the need for SATA controllers due to the dropping of IDE CD support in modern guest operating systems. I suspect that PS/2 mouse and keyboard support will be going the same way at some point.


Comments

Popular posts from this blog

VMware Interview Questions & Answers

These interview questions are categorized into the following technical areas: Hypervisor Fault Tolerance (FT) Virtual Networking vCenter Server Virtual Storage (Datastore) What’s New in vSphere 6.0 Content Libraries vSAN vApp and Miscellaneous Hypervisor What is VMKernel and why it is important? VMkernel is a virtualization interface between a Virtual Machine and the ESXi host which stores VMs. It is responsible to allocate all available resources of ESXi host to VMs such as memory, CPU, storage etc. It’s also controlled special services such as vMotion, Fault tolerance, NFS, traffic management and iSCSI. To access these services, VMkernel port can be configured on ESXi server using a standard or distributed vSwitch. Without VMkernel, hosted VMs cannot communicate with ESXi server. What is the hypervisor and its types? A hypervisor is a virtualization layer that enables multiple operating systems to share a single hardware host.  Each operating syste...

3 Ways to get VMware Platform Services Controller (PSC) information from vCenter Server 6.5

      From vSphere 6.5 , VMware Changes its vCenter architecture by introducing Platform services controller (PSC) by replacing vCenter SSO server. VMware Platform Services Controller (PSC) is a component of the VMware Cloud Infrastructure Suite. PSC deals with identity management for administrators and applications that interact with the vSphere platform. Below are the Components that are installed with platform Service controller includes: VMware Appliance Management Service (only in Appliance-based PSC) VMware License Service VMware Component Manager VMware Identity Management Service VMware HTTP Reverse Proxy VMware Service Control Agent VMware Security Token Service VMware Common Logging Service VMware Syslog Health Service VMware Authentication Framework VMware Certificate Service VMware Directory Service vCenter Server Deployment Models: vCenter Server with external Platform Services Controller (Separate appliance or server f...

AWS on a Nutshell

                             Accessing the Platform To access AWS Cloud services, you can use the AWS Management Console, the AWS Command Line Interface (CLI), or the AWS Software Development Kits (SDKs). The AWS Management Console is a web application for managing AWS Cloud services. The console provides an intuitive user interface for performing many tasks. Each service has its own console, which can be accessed from the AWS Management Console. The console also provides information about the account and billing. The AWS Command Line Interface (CLI) is a unified tool used to manage AWS Cloud services. With just one tool to download and configure, you can control multiple services from the command line and automate them through scripts. The AWS Software Development Kits (SDKs) provide an application programming interface (AP...