How to Reduce the Size of tempdb

The tempdb (temporary) database provides storage for temporary tables and other temporary working storage needs. If you have a corrupted disk that contains portions of tempdb, you should first reduce tempdb to its default size and then extend it onto any new device.

This section describes how to reduce tempdb to its default size (2MB of data and log on the master device).