So, I started having this problem a few days ago. Programs, most notably games, automatically tab out randomly. This happens anywhere from 30 seconds to a few minutes apart. It happens when using other things such as my browser as well, but it's less noticeable as it just deselects the window. Several of the times it has happened I've gotten an error that "vrserver.exe" has stopped running. Googling this, it doesn't seem to be anything harmful, but I couldn't find anyone having a problem like mine. Most of the time, however, no error shows. I've done somewhat extensive research of this and haven't found anyone with exactly the same problem. I've tried running multiple AV scans, MBAM found a few items that seemed like false positives, but I deleted anyways. Used CCleaner to clean my registry. Tried closing all unnecessary programs while running the game. Currently the only way I've found to sort of fix this is to run games in borderless windowed, in which case they're deselected instead of tabbed out of/minimized, but it's a temporary solution at best. If anyone has had this problem before and knows how to fix it, or if you have any ideas, I'd really appreciate the help.
Specs:
Windows 7 64-bit
i5 2500k (non-overclocked)
8GB 1333MHz RAM
GeForce GTX 770
1TB 7200RPM HDD