How to Install a Driver in Windows Server 2022 Core

Photo of author

By Victor Ashiedu

Published

A Windows Server Core installation has no GUI, so, all tasks – including driver installation – are performed via PowerShell. Read this guide to learn how to install a device driver in a Windows Server 2022 Core.

If you Enable Remote Server Manager Connection and Access to Computer Management on your server core, you can manage some tasks on the server with Server Manager or Computer Management.

Step 1: Download and Unpack the Driver

You require a device driver’s .inf file to install it in a Server Core installation. So, if you download an exe driver pack, you must unpack.

In this guide, I will demonstrate how to install the Realtek USB GBE Ethernet Controller Driver from Dell.

After downloading the driver, to unpack it, I ran the executable and selected the Extract option. Then, I saved the driver files and folder to a folder on my computer.

After downloading the driver, to unpack it, I ran the executable and selected the Extract option

Step 2: Copy the Driver to the Server Core

If you need to install a network driver, it means that the server may not be connected to the network. In this situation, use a tool like Dell’s iDRAC or HP’s ILO to mount the driver and access it via the PowerShell command prompt on the server.
  1. RDP to the Windows Server Core and create a folder path with these commands.
New-Item -Path c:\Drivers -Name USBNetAdapter -ItemType Directory -Force

The command creates a folder path, C:\Drivers\USBNetAdapter\

  1. Then, return to your laptop (or the computer you unpacked the driver earlier) and run this SCP command to copy the driver files to the Server Core.
I Install OpenSSH as part of my Server Core post-install configurations. This allows me to use SCP to copy files to the Server Core.
Before you run the sample scp command below, change the paths, the username, and the server core hostname. The first path on drive E:\ is where I have the driver while the second path starting with C:\ is the path on the destination server core.
scp.exe -r "E:\Drivers\Realtek USB GBE Ethernet Controller Driver\*" administrator@IPMpHPV4:"C:\Drivers\USBNetAdapter"

Including the -r syntax in the SCP command tells the command to perform a recursive copy. This allows the command to copy all subfolders and files in the “E:\Drivers\Realtek USB GBE Ethernet Controller Driver\* path

Step 3: Install the Driver

Back on the RDP connection to the server Core, install the driver by running these commands.

Before installing the USB network adapter driver, run the Get-NetAdapter command to confirm that the network card does not exist on the server.
  1. Install the NIIC driver with this command
#I installed the driver

pnputil.exe -i -a C:\Drivers\USBNetAdapter\10240\Drivers\64\rtump64x64.INF
  1. After installing the drivers, restart the server for the changes to take effect.
Restart-Computer -Force
  1. Finally, if you run Get-NetAdapter, it includes the newly installed network adapter.

Conclusion

Installing drivers on a Windows Server Core installation is not as straightforward as it is on a server with GUI. However, by following my tested steps explained in this guide, you’ll get the job done and I hope you did!

Let me know your thoughts about this guide and your experience with Windows Server Core in general. To provide feedback, respond to the “Was this page helpful?” feedback request below.

About the Author

Photo of author

Victor Ashiedu

Victor is the founder of InfoPress Media, publishers of Ilifeguides and Itechguides. With 20+ years of experience in IT infrastructure, his expertise spans Windows, Linux, and DevOps. Explore his contributions on Itechguides.com for insightful how-to guides and product reviews.

Related Articles

Get in Touch

We're committed to writing accurate content that informs and educates. To learn more, read our Content Writing Policy, Content Review Policy, Anti-plagiarism Policy, and About Us.

However, if this content does not meet your expectations, kindly reach out to us through one of the following means:

  1. Respond to "Was this page helpful?" above
  2. Leave a comment with the "Leave a Comment" form below
  3. Email us at [email protected] or via the Contact Us page.

Leave a comment

Send this to a friend