You should be able to restore most Dell Latitude models to its factory default settings using Dell's Factory Image Restore partition and Backup and Recovery application.
Using Factory Image Restore
Back up any data you wish to save. No matter which Latitude model you have or which operating system you're running, your personal data and settings will be deleted during the restore process.
Turn off and disconnect all peripheral devices except the monitor, mouse and keyboard. Connect the power supply to your Latitude.
Video of the Day
Start up your computer and press the F8 key several times when the Dell logo appears. This opens the advanced boot options menu.
Select Repair Your Computer using the arrow keys on your keyboard, then press Enter. From the System Recovery Options menu, select a keyboard layout, click Next, and then log in as either a local user or an administrator.
Select Dell Factory Tools and then Dell Factory Image Restore if required by your computer's configuration. Some models will go directly to the Next option to open the Confirm Data Deletion menu.
Click the check box for Yes, reformat hard drive and restore system software to factory condition and click Next. The restore process begins and gives a message when complete. Click Finish to restart the computer. Restore data and files if you are recovering the laptop for personal use.
Using Factory Recovery Media
When your hard drive fails, the system restore partition may no longer be accessible. Factory recovery media will allow you restore to defaults after reformatting or replacing your hard drive.
Be sure your Latitude is connected to its power supply and not running just on battery. Insert a recovery media disk into the optical drive or a USB recovery key into a USB port.
Power on your computer and press the F12 key several times when the Dell logo appears. Select your backup media location. You may be prompted to press a key to start a CD or DVD boot.
The Dell backup and recovery application opens. Click Next to proceed to the hard drive diagnostics and click Next when it completes. The application runs Smart Repair. Click Next again when it completes. Smart Repair will attempt an instant restore if no problems are found. If the instant restore is successful, you will be prompted to restart your computer.
Select Factory Reset from the Advanced Options screen. The application presents the opportunity to back up data and settings. Click Next to perform a backup or press Skip to proceed without. The restore process starts after either of these options, proceeding to completion before prompting you to restart your Latitude. Finish restoring your computer using Windows when the computer reboots.