Win10 printers keep coming back, not deleting

If a printer keeps coming back try this:

https://techjourney.net/failure-unable-to-delete-or-remove-printer-driver-package-currently-in-use/

Or (maybe and)

The only solution for me was:

    • Downloading PSTools
    • Running CMD as administrator
    • Run the command psexec -i -s c:\windows\regedit.exe (make sure you don’t have regedit open already, otherwise it gives an error)
    • Delete all keys under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Enum\SWD\PRINTENUM which contained the printer name that keeps coming back.

You have to use the PStools option, because otherwise you will get an access denied error when deleting the regkeys.

https://serverfault.com/questions/604161/deleted-printers-keeps-coming-back-and-multiply

https://docs.microsoft.com/en-us/sysinternals/downloads/pstools