Ancillary Function Driver for Winsock.
This service also exists in Windows 10, 7, 8, Vista and XP.
Windows 11 version | Home | Pro | Education | Enterprise |
---|---|---|---|---|
21H2 | System | System | System | System |
22H2 | System | System | System | System |
23H2 | System | System | System | System |
24H2 | System | System | System | System |
Display name: | Ancillary Function Driver for Winsock |
Service name: | AFD |
Type: | kernel |
Path: | %WinDir%\system32\drivers\afd.sys |
Error control: | normal |
Group: | PNP_TDI |
The Ancillary Function Driver for Winsock service is a kernel mode driver. If Ancillary Function Driver for Winsock fails to start, the error is logged. Windows 11 startup proceeds, but a message box is displayed informing you that the AFD service has failed to start.
If Ancillary Function Driver for Winsock is stopped, the following services cannot start:
1. Select your Windows 11 edition and release, and then click on the Download button below.
2. Save the RestoreAncillaryFunctionDriverforWinsockWindows11.bat file to any folder on a local drive such as SSD or a hard disk.
3. Right-click the downloaded batch file and select Properties.
4. Check the Unblock checkbox and click OK.
5. Right-click the batch file again and select Run as administrator.
6. Restart the computer to save changes.
Note. Make sure that the afd.sys
file exists in the %WinDir%\system32\drivers
folder. If this file is missing you can try to restore it from your Windows 11 installation media.