Share via


Manage Hardware and Drivers

 

Applies To: Hyper-V Server 2012, Hyper-V Server 2012 R2

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

To add hardware

  1. Follow the instructions that are provided by the hardware vendor to install new hardware:

    • If the driver for the hardware is included in Hyper-V Server, Plug and Play will start and install the driver.

      Note

      Hyper-V Server uses the Windows Server driver model. Any drivers that work with corresponding editions of Windows Server will also work with Hyper-V Server.

    • If the driver for the hardware is not included, proceed with Steps 2 and 3.

  2. Copy the driver files to a temporary folder on the server running a Server Core installation of Windows Server.

  3. At a command prompt, open the folder where the driver files are located, and run the following command:

    pnputil –i –a <driverinf>

    Where:

    driverinf is the file name of the .inf file for the driver.

  4. If prompted, restart the computer.

To obtain a list of drivers that are installed

  • At a command prompt, run

    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

  • At a command prompt, run

    sc delete <service_name>

    Where:

    service_name is the name of the service that you obtain by running sc query type= driver

See also