When you restart the PC, do you see anything on the screen during the process at all? (Like the HP logo screen???) if so, I'd try booting into safe mode and reinstalling the graphics drivers.
Here's how to boot into safe mode: (copied from Microsoft.com)
1. Restart your PC. When you reach the sign-in screen, hold the Shift key and select the Power button, and then select Restart.
2. After your PC restarts, select Troubleshoot > Advanced options > Startup settings > Restart. After your PC restarts, you should see a number of options. Press 5 or F5 for Safe Mode with networking.
Once in safe mode, (with networking) you should be able to go to Nvidia's site and download and install the latest graphics driver for your PC.
(Going by the link you posted, this should be the one for your HP all in one. Double check to make sure)
NVIDIA DRIVERS GeForce Game Ready Driver WHQL
Then shutdown and restart your PC normally and everything should be good.