Moving Tempdb database data and log files

Find out the location of Tempdb Data and Log file.

We cannot move the tempdb by detach and attach method or backup and restore method. We can move the Tempdb by Alter Database method.

  Restart SQL Server