AFD Missing from Device Manager - No network connectivity

We have a customer with a virus.  Once removed, we noticed that the network connection is always "obtaining an ip address".  Found that DHCP cannot start due to AFD not starting.  We cannot start AFD due to no device being present.  There is no AFD in device manager under non plug and play drivers.  In HKLM, there are the proper entries under the currentcontrolset\services key.    The afd.sys file is there and has even been replaced with a good one.  How can AFD be added back to Device Manager.
If the AFD Service is missing from Device Manager, View, Show hidden devices you can add it back.

Before making any changes to your registry, back up the registry with this popular free tool:

Open notepad to create a new text file:

Click Start, Run and in the box enter:


Click OK to open a new notepad file.

Copy and paste the following lines of bold text into the new notepad file.

Windows Registry Editor Version 5.00

"Description"="AFD Networking Support Environment"




Save the new text file with a .reg extension to your desktop or someplace you can remember with a name you can remember, something like:


After saving the file, close notepad.

Locate the fixafd.reg file on your desktop and double click it.

Alternatively, you can right click the fixafd.reg file, choose Open With... and select the Registry Editor.

Respond in the affirmative to the question... Are you sure you want to add the information to the registry?

You should then see a message that the information was successfully entered into the registry.

Reboot your system and test.

You can remove the fixafd.reg file when you are done.

If the Registry Editor has also been disabled, we will have to fix that first (not a problem).

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.


Question Info

Last updated July 13, 2020 Views 13,825 Applies to: