format c:/s from a boot disk

but to factory you need the factory installation CD's for whatever type of computer it is.