Open the Windows Run by pushing the Windows + R buttons. Now type the following command in: msdt.exe -id DeviceDiagnostic.
If the Send optional diagnostic data is not turning off, there could be an organizational level configuration at play here.