Solely to prevent confusion, let's get some terminology straight, here.
You don't "format" a PC; instead, you "format" a drive.
So, essentially, you restored, recovered, or reinstalled your PC. Since all of these are different, which one did you do? And HOW did you do it -- HP Recovery Manager, Win10 Reset/Recovery, pressing F11?
Also, I have done several HP full PC recoveries and I don't ever recall seeing anything happen like you describe, nor did I see any message like the one you mentioned.
I'm not doubting what you saw -- I just don't see how it was connected to an HP Restore/Recovery/Reinstallation.
We can proceed once you provide the information.
Thanks