This may have been asked before, but not for Windows 8. How do you create the factory restore media for a Dell Laptop (a Dell XPS 15 in my case) before I go and do something stupid with it.
You could also use the new Refresh Feature and capture your own WIM with recImg.
This works for all Windows 8 installations not only OEM devices.
First you will need some media to write the restore images to. The Dell factory restore handles multiple disks so writable DVDs will do. If you want to have a single restore disk, either a writable dual layer DVD or an 8GB USB stick will be required.
I strongly recommend that you do not attempt to do this on a laptop with low charge. I do recommend that a laptop is connected to a power supply. This will not go well if your laptop runs out of battery and shuts down.
With windows 8, use the Search charm to find the Dell Backup and Recovery tool and run it.
Click on the Recovery Media icon. The tool will then look for a drive suitable for creating the recovery media. Insert this now and wait for the Dell Backup and Recovery tool to detect it.
Once your media has been detected, select it from the list, and click on the Start button. It may take some time to write out and verify the media (15-20 minutes on my laptop).
Close the Dell Backup and Recovery tool, and then eject your media. Label it carefully, an put it in a safe place. Away from 2 year old hoodlums and/or house rabbits.