Skip to content

Solved: “A service installation section in this inf is invalid” error when installing WiFi driver on Windows Server

I’ve been working on setting up a service fabric cluster (read more on service fabric if you’re interested in the technology) using some old laptops I had lying around. I installed Windows Server 2016 without issues. Then I tried to install the WiFi drivers in order to have network and internet access on the laptops. However, I kept getting “A service installation section in this inf is invalid” when trying to install the WiFi driver.

It turns out that Windows Server doesn’t ship with the Wireless LAN Service installed. In order to use WiFi on a Windows Server you need to have this service installed. Luckily this can be easily done using a PowerShell command. First you need to open a PowerShell prompt, make sure you run it as administrator. Then run the following command:

Add-WindowsFeature -Name Wireless-Networking

Restart your machine after the command executes and then install the WiFi driver. You might need to restart your machine again after installing the driver before you can connect to a WiFi network. At least I had to restart my machine again.

You should now be able to connect to a WiFi network.

Published inTroubleshooting


  1. Josh H Josh H

    You sir are awesome! This worked!

  2. Roman Roman

    Thank you a lot!
    This helped me to solve similar problem.

  3. Charlie Caldwell Charlie Caldwell

    Hey thanks for this. I was having this issue on Server 2019 and couldn’t figure out why the driver wasn’t installing.

  4. tnt tnt

    ooh man. you saved my day… wow.

    this wasted my lot of time.

    thank man.

    Add-WindowsFeature -Name Wireless-Networking

  5. Renal Sukendar Renal Sukendar

    This is great


    This helped me so much with my new PC build and my four SSDs with Server 2019.

Leave a Reply

Your email address will not be published. Required fields are marked *