Removing Windows Telemetry Function from your Visual Studio 2015 C/C++ Binaries


Tweet c c++ c++11 visual-studio tutorials
(Posted 4 months ago) RonTek

So while randomly looking for some useful stuff, today I just stumbled and learned that MS secretly inserts telemetry functions to VS 2015 Update 2 binaries. I am using VS 2015 particularly for VS only C++11 projects, but I have a gut feeling I have the same version.

even if you just do a simple

int main()
{
  return 0;
}

compiling it and you will get:

Image

Solution: According to Microsoft’s Steve Carroll (Development Manager for the Visual C++ team), you can remove telemetry calls by adding notelemetry.obj to the command options of the linker:

Image

Update 3 of VS2015 should remove this functionality.

More Info and Source: Geeks3D

Reply To Topic (minimum 10 characters)

Please log in to reply