After much work this fixed the issue
use tempdb
dbcc shrinkfile ('tempdev',7)
dbcc shrinkfile ('templog',7)
USE MASTER
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = tempdev,
SIZE=2000 MB,
FILENAME = 'D:\MSSQL.1\MSSQL\Data\tempdb.mdf')
GO
ALTER DATABASE tempdb
MODIFY FILE (NAME = templog,
SIZE = 1000...