Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Emulated keyboard device is missing during Windows 8 or Windows Server 2012 installation on a Hyper-V generation 2 virtual machine


View products that this article applies to.

Symptoms

When you install Windows 8 or Windows Server 2012 on a generation 2 virtual machine, the emulated keyboard device is missing. Therefore, you cannot enter data. For example, you can't enter a product key when you're prompted to do so.

↑ Back to the top


Cause

This problem occurs because the emulated keyboard device has been removed from generation 2 virtual machine, and only the software keyboard is present. However, the software keyboard driver is not installed in the ISO image. Therefore, you cannot enter data on the keyboard, such as in the product key field or the Command Prompt window.

↑ Back to the top


Workaround

To work around this problem, use one of the following methods.

Method 1

Use the software keyboard button on the screen if it exists. For example, the button may appear in the product key window.

Method 2

Add the software keyboard driver to an existing ISO installation image. To do this, follow these steps:
  1. Download and install the Windows Assessment and Deployment Kit (Windows ADK) for Windows 8.1 Update.

    Note At minimum during installation of the kit, select the Deployment Tools check box.

  2. Create the following folders on your work computer:
    • C:\Working
    • C:\Working\Extract
    • C:\Mount
  3. Copy the Windows 8 ISO image file to the C:\Working folder.
  4. Right-click the Windows 8 ISO image file, and then click [Mount].
  5. Copy all the mounted files from the ISO image file to C:\Working\Extract.
  6. From a Windows 8.1-based computer, copy the Windows6.2-HyperVIntegrationServices-x64.cab file that's located in the C:\Windows\vmguest\support\amd64 folder to the C:\Working folder on your work computer.

    Note If you add the .cab file to an x86 image, you must copy the Windows6.2-HyperVIntegrationServices-x86.cab file that's located in the C:\Windows\vmguest\support\x86 folder. The .cab file is present only if the Hyper-V role is enabled.

  7. Run the following commands from an elevated command prompt:

    /// Add software keyboard driver package to boot.wim of index 1
    C:\Windows\system32>cd c:\working\extract\sources
    c:\working\extract\sources> "c:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe" /mount-image /imagefile:boot.wim /index:1 /mountdir:c:\mount
    c:\working\extract\sources> cd ../..
    c:\working>dism /image:c:\mount /add-package /packagepath:Windows6.2-HyperVIntegrationServices-x64.cab
    c:\working>"c:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe" /unmount-image /mountdir:c:\mount /commit

    /// Add software keyboard driver package to boot.wim of index 2
    c:\working>cd c:\working\extract\sources
    c:\working\extract\sources> "c:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe" /mount-image /imagefile:boot.wim /index:2 /mountdir:c:\mount
    c:\working\extract\sources> cd ../..
    c:\working>dism /image:c:\mount /add-package /packagepath:Windows6.2-HyperVIntegrationServices-x64.cab
    c:\working>"c:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\amd64\DISM\dism.exe" /unmount-image /mountdir:c:\mount /commit

    /// Create an ISO image file from the data with the added packages
    c:\working>"c:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\Deployment Tools\amd64\Oscdimg\oscdimg.exe" -m -o -u2 -udfver102 -bootdata:2#p0,e,b"c:\working\extract\boot\etfsboot.com"#pEF,e,b"c:\working\extract\efi\microsoft\boot\efisys.bin" "c:\working\extract" c:\working\windows8patched.iso
You can locate the patched ISO image (Windows8patched.iso) in the C:\Working folder after you complete these steps. Then, you can install the operating system with the ISO image, and the software keyboard will be enabled.

↑ Back to the top


Keywords: kbexpertiseinter, kbprb, kbsurveynew, kb

↑ Back to the top

Article Info
Article ID : 2999357
Revision : 1
Created on : 1/7/2017
Published on : 10/6/2014
Exists online : False
Views : 395