Remove all the dishes and silverware from inside the dishwasher. Make sure the dishwasher has no detergent inside of it.
Remove the racks from inside the dishwasher. Clean them with soapy water and a rag.
Pour two cups of vinegar into the bottom of the dishwasher. Run the dishwasher on "low wash." Stop the dishwasher midway through the wash cycle, and allow it to sit for 20 to 30 minutes.
Scrub the dishwasher's interior walls, using a firm brush. Turn on the dishwasher and allow it to complete the full cycle.
Add a full cup of dishwasher detergent to the dishwasher. Run the appliance through a full cycle.
Place the racks and holders back into the dishwasher.