

In the DefaultUninstall.Services section of the INF file, the DelService directive should always specify the 0x200 (SPSVCINST_STOPSERVICE) flag to stop the service before it is deleted.To prepare for eventual uninstall, a setup application should copy the driver INF file to an uninstall directory.If you use an application to uninstall your driver, observe the following guidelines: You can also execute the DefaultUninstall and DefaultUninstall.Services sections of your INF file from an uninstall application, as shown in the following code example: InstallHinfSection(NULL,NULL,TEXT("DefaultUninstall 132 path-to-uninstall-dir\infname.inf"),0) Type the following command at the Powershell command prompt: Get-CimInstance Win32_SystemDriver -Filter "name='your_driver_name'" | Invoke-CimMethod -MethodName Delete See Rundll32 and InstallHinfSection for more information. To execute the DefaultUninstall and DefaultUninstall.Services sections of your INF file on the command line, type the following command at the command prompt, or create and run a batch file that contains this command: RUNDL元2.EXE SETUPAPI.DLL,InstallHinfSection DefaultUninstall 132 path-to-uninstall-dir\infname.inf

There is no "right-click uninstall" option. For these OS versions, you can uninstall your filter driver by using the command line, PowerShell, or a batch file to execute these INF file sections, or a user-mode uninstall application.
USING AMD DRIVER UNINSTALLER WINDOWS 10
In Windows 10 prior to version 1903, the DefaultUninstall and DefaultUninstall.Services sections were optional but recommended if the driver could be uninstalled. Starting with Windows 10 version 1903, the DefaultUninstall and DefaultUninstall.Services INF sections are prohibited (with exception).
