Slow Visual Studio, related to SQMClient?

process-monitor, visual-studio

Solution

This problem may happen if there is a number of SQM reports, saved in the user profile. When unable to connect to internet Visual Studio stores SQM files in `%userhome%\AppData\Local\Microsoft\VSCommon\<vs_version>\SQM`. The number of files grows continuously and it can get to many thousands. When this directory is cleaned or removed, Visual Studio sped up significantly.

Problem

Visual Studio started working slower than usual, and after checking for add-ons and doing a repair, it's just as slow. I used process monitor to check what was going on, and found that a lot of stuff is going on related to SQMClient, which - as far as I understand, is part of Microsoft's customer feedback program. I'm not participating in the program (I've double checked). Still - process monitor tells me that VS does a lot of stuff related to SQMClient: - RegQueryKey HKLM SUCCESS Query: HandleTags, HandleTags: 0x0 - RegOpenKey HKLM\Software\Microsoft\SQMClient SUCCESS Desired Access: Read - RegSetInfoKey HKLM\SOFTWARE\Microsoft\SQMClient SUCCESS KeySetInformationClass: KeySetHandleTagsInformation, Length: 0 - RegQueryValue HKLM\SOFTWARE\Microsoft\SQMClient\UploadDisableFlag NAME NOT FOUND Length: 144 - RegCloseKey HKLM\SOFTWARE\Microsoft\SQMClient SUCCESS It keeps repeating this over and over. Do any of you know why VS might do this, and if this is the reason behind the slow behavior?

Original source