how do i restore a compaq laptop to factory settings

Solution
This varies depending on the specific model#. usually tehre is an option to press an F-key (like f10) during boot up to enter factory restore or diagnistic menus. Its often emebedded in there.