Hello
I leave you the choice, no obligation
the pc being new the best solution would be for me to reinstall the factory
If it works maybe it didn't matter!
If that doesn't work, it's probably a hardware problem.
You can already do the tests as explained here:
HP PCs - Testing for Hardware Failures | HP® Customer Support
If a problem is mentioned, you will need to contact the seller, or HP, to make a guaranteed return.
If there is no problem reinstall the computer
Performing an HP System Recovery
How to Reset Your Computer to Factory Settings (Windows 10, 8, 7)
Attention all personal documents will certainly be lost
If necessary, tell me, I will look for a link that can explain how to try to save the data
Phone Assist Worldwide | HP
Please remember to mark the answers this can help other users
please click on the accept as solution button if message provided an answer to the problem
was this reply helpful , or just say "thank you " ? Click on the yes button
Desktop-Knowledge-Base