Hi ,
You will uninstall any HP application, use to uninstall it later.
Disconnect the HP from the computer via USB
Go to the start menu > settings > Bluetooth and devices > Devices > More devices and printer settings > select HP Office Jet Pro 6978 with right button Remove devices.
Open the command prompt (admin) and run the commands in sequence: sfc /scannow and dism /online /cleanup-image /restorehealth, wait for the process to finish and restart the computer.
After restarting, download the HP autorun and start the installation.
https://ftp.hp.com/pub/softlib/software13/printers/OJ6970/Full_Webpack-40.16.1234_1-OJ6970_Full_Webpack.exe
Note: This is a non-Microsoft website. The page appears to be providing accurate, safe information. Watch out for ads on the site that may advertise products frequently classified as a PUP (Potentially Unwanted Products). Thoroughly research any product advertised on the site before you decide to download and install it.
Give feedback if the information was useful or not.
Thanks