From the command prompt you can type HELP and it will list everything you can do there. Restoring to factory settings there is not going to be an option though. You need to look at your user guide for that. It's usually listed under Start -> All Programs -> HP. If you can't find it, you should be able to download it from the HP web site.
From what I could find this is a 2009 vintage netbook with XP. As you should know, XP has been unsupported since 4/8/14 and it just going to be increasingly more and more exposed to malware in the future, so I'd get hold of one of the Linux versions, put it on a flash drive, and boot from it. You can run it in trial mode without having to install anything, just boot from it, click TRY and in 3 min. you'll be up and running with a Windows like user interface. I like the Mint and Ubuntu versions which you can download from http://www.linuxmint.com/download.php and http://www.ubuntu.com/download . They work well, come with Firefox and LibreOffice, and are supported.