Having issues with printers or printer drivers messing up your server or client? Here are some tips that can make your day better.
First of all, stop the print spooler service. After that, you can delete the following key depending on the printer or driver you are trying to delete.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Printers
Inside these registry keys, you can delete drivers that are not deletable using printmanagement.msc or control panel
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Drivers\Version-3
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows x64\Drivers\Version-4
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print\Environments\Windows NT x86\Drivers\Version-3
References:
https://www.winhelponline.com/blog/remove-old-printers-add-printer-list-windows-10/