Welcome to HP Forums, this is a great place to get support, find answers and tips.
Thank you for posting your query, I'll be more than glad to help you.
I understand that you are facing issues with your HP LaserJet Pro 100 color MFP M175 wherein it keeps disconnecting from the computer and you need to restart the computer. I also see that it is connected via USB cable.
This issue could occur if the firmware is not updated.
Let's go through a few steps to troubleshoot this issue.