I recently upgraded a family member's laptop from Windows Vista to Windows 10 and am trying to install a driver for an HP LaserJet 4050 TN printer. I created a TCP/IP port and used the Windows Update option to get a list of drivers, but Windows gives a "Printer driver was not installed" error. I tried again several times but got the same result.

I installed a generic driver instead, but that caused the printer to show a "79.8109 printer error." The issue persisted even after I removed the device. I had to do a system restore to fix the problem.

This did not happen on our other Windows 10 machines. I'm aware this printer is a very old model. Has Microsoft discontinued the drivers?