Manage Hardware and Drivers in Hyper-V Server 2008 R2

Applies To: Microsoft Hyper-V Server 2008 R2

Follow these procedures to add hardware, obtain a list of drivers, or disable drivers on a server running Hyper-V Server 2008 R2.

Adding hardware

To add hardware

  1. Follow the instructions provided by the hardware vendor for installing the hardware. If the driver is already included in Hyper-V Server 2008 R2, Plug and Play will start and install the driver. If the driver for the hardware is not included, proceed with the following steps.

    Note

    Hyper-V Server 2008 R2 uses the Windows Server driver model. Any drivers that work with Windows Server 2008 R2 will also work with Hyper-V Server 2008 R2.

  2. Copy the driver files to a temporary folder on the server running Hyper-V Server 2008 R2.

  3. At a command prompt, navigate to the folder where the temporary files are located, and then run the following command, where driverinf is the file name of the .inf file for the driver:

    Pnputil –i –a <driverinf>

  4. If prompted, restart the computer.

To obtain a list of drivers

  1. At a command prompt, type:

    Sc query type= driver

    Note

    You must include the space after the equal sign for the command to complete successfully.

To disable a device driver

  1. At a command prompt, type the following, where service_name is the name of the service you obtained in the previous procedure:

    Sc delete <service_name>