How can I factory reset this PC to its default settings?

From Computer Setup (accessed by pressing F10 during boot), select File > Default Setup and choose to restore factory settings as default. This action will not affect the physical hardware.

From the official HP Compaq Elite 8300 Small Form Factor PC manual, page 4

Have a follow-up question?

Answers from the official manual.

Common questions