PC Gaming Team Fortress 2

How to fix TF2 crashing to desktop with sound

Team Fortress 2 is notorious for crashing whilst you are playing the game. In some cases, it will crash to desktop with an error message stating hl2.exe has stopped working. In other cases, the game freezes for a second, loops the sound, and then minimizes itself to desktop without the ability to switch back to it and when this happens you can hear sounds from the game, but other than your desktop, you can’t see anything in the game. When this happens, you have to open task manager to forcefully end the team fortress 2 process.

If you are having issues with TF2 crashing to desktop with the error message hl2.exe has stopped working then I recommend you follow these steps:

    Hl2.exe has stopped working

  1. Open steam and go to Library
  2. Right click Team Fortress 2 and click Properties
  3. Click on the Local Files tab and click Verify Integrity of Game Cache
  4. Click on Defragment Cache Files

The above may or may not fix your hl2.exe error.

Now then, if you are having issues with Team Fortress 2 crashing to desktop with sound then the most likely cause of this problem is your graphics card driver crashing. I know this was the case for me and fortunately I discovered a guaranteed fix for this annoying issue. Immediately  after the game freezes and the sound loops, press CTRL + ALT + Delete and follow these steps:

  1. If you are running Windows 7 then Click on Task Manager
  2. Wait for the message that says ‘display driver has stopped responding and has recovered’
  3. After that message appears wait 2 to 3 minutes
  4. Now click try to switch to team fortress 2
  5. Wait a couple of minutes and you should be able to see the game once again

Usually after this happens the HUD becomes messed up, but luckily there’s a very easy fix for this:

  1. Open the console using the ~ key
  2. Type in hud_reloadscheme 1
  3. That’s it!
PC Gaming Team Fortress 2

How to fix lag in Team Fortress 2 in Windows 7

I recently upgraded my operating system from Windows XP to Windows 7. I did a clean install of Windows 7 and everything was running smoothly. When I started playing Team Fortress 2, however, I noticed that the game lags behind about a second or so even though my ping times were normal ( < 100 ms).

After a while of playing, I got really frustrated and decided to do something about the lag. I checked the netgraph and noticed the connection was choking. After researching possible causes of this, I came to a conclusion. Windows 7 packs a lot of unnecessary services and one of those services, Multimedia Class Scheduler service, was causing source engine-based games to lag. After disabling the Multimedia Class Scheduler service, I was finally able to play and enjoy Team Fortress 2 without the annoying lag.

How to disable Multimedia Class Scheduler service in Windows 7

  1. Press the start button
  2. Type in services.msc and press enter
  3. Scroll down until you find Multimedia Class Scheduler
  4. Right Click it and click properties
  5. Where it says Startup type, choose Disabled

The Multimedia Class Scheduler service, however, is required for the windows audio service meaning you will not have sound without it, but you can change this by following these steps:

  1. Click on the start button
  2. Type in regedit and press enter
  3. Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetservicesAudiosrv
  4. Right click on DependOnService and click modify
  5. Remove the line MMCSS
  6. Restart your computer