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
- Press the start button
- Type in services.msc and press enter
- Scroll down until you find Multimedia Class Scheduler
- Right Click it and click properties
- Where it says Startup type, choose Disabled
- Click on the start button
- Type in regedit and press enter
- Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\Audiosrv
- Right click on DependOnService and click modify
- Remove the line MMCSS
- Restart your computer