I had a tempdb mdf file which was 60 Gb, and I tried shrinkfile, and shrinkdatabase and got nothing. I noticed that I had several databases in 'readonly' mode. I changed them, executed shrinkfile file and reduced tempdb mdf file to 500 Mb, and then I turned them again to 'readonly' mode.
It worked, but I don't know why these readonly dbs didn't allow me to reduce tempdb, do some of you know why???
Thanks and br.