Thank you for posting on the HP Support Community.
Don't worry as I'll be glad to help, however, to provide an accurate resolution, I need a few more details:
What is the exact issue with factory settings?
Are you trying to perform system factory reset?
Learn how to reinstall or restore an HP computer with Windows 10 to an earlier state. Also, learn how to perform a system recovery using HP Recovery Manager. Click here: https://support.hp.com/in-en/document/c04758961 HP PCs - Performing a System Recovery (Windows 10)
Hope this helps! Keep me posted for further assistance.
Please click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".