Turn off the Customer Experience Improvement Programs (CEIP) via command line in Windows

windows 7

This is an issue in Windows 7 (and to a lesser extent in Windows 8*) because CEIP is part of the Get Windows 10 (GWX) forced strongly suggested upgrade. So I want to turn it off on all the PCs I support.

I know I can do it GUI : Action Center > Change Action Center settings > Customer Experience Improvement Program settings > No, I don't want to participate in the program.

But I'd like to do it in the command line, even in a .bat file.

This Microsoft technet description of CEIP lists several ways to turn it off (GUI, Group policy, Answer File). Maybe an Answer File would work–I've never used one.

I suppose I could also just modify the registry directly (these were discovered with regshot):

HKLM\SOFTWARE\Microsoft\SQMClient\Windows\CEIPEnable: 0x00000000
HKLM\SOFTWARE\Microsoft\SQMClient\Windows\CEIPEnableLastUpdateTime: 80 61 D8 3B C9 86 D1 01

But I like to avoid direct registry modifications if I can, and I don't know if the Update Time matters or what format that is in.

EDIT:

Thanks for the responses which were all about preventing systems from upgrading to Windows 10. I want to know how to turn off CEIP from the command line not just because of Windows 10. I just want to know, if it's possible.

I DO want to turn off CEIP just because I don't like it, don't believe it gives me enough benefits in exchange for the information I'm sending to Microsoft, and the CPU and bandwidth it uses.

To elaborate on the Windows 10 connection, there are several Windows Updates to CEIP that are diagnostic tracking/telemetry updates to evaluate and/or prepare a system for Windows 10.

For those interested, here are the Windows 10-related KB updates I have identified (via research on the internet) that are involved with Windows 10. You'll notice most are upgrades to CEIP.

  • KB 2952664 – CEIP Labeled a compatibility upgrade for upgrading Windows 7, its purpose is to "make improvements to the current operating system in order to ease the upgrade experience to the latest version of Windows".
  • KB 2976978 – CEIP A compatibility update for Windows 8.1 and Windows 8 which "performs diagnostics on the Windows system [..] to determine whether compatibility issues may be encountered when the latest Windows operating system is installed.
  • KB 2977759 – CEIP Diagnostics "help determine whether compatibility issues may be encountered whenf the latest Windows operating system is installed"
  • KB 2990214 – Does the same as KB 3044374 but on Windows 7.
  • KB 3021917 – CEIP Does the same as KB 2976978 but on Windows 7.
  • KB 3022345 – CEIP Update to enable the Diagnostics Tracking Service in Windows (Windows 7 SP1, Windows 8.1)
  • KB 3035583 – According to Microsoft, this update enables "additional capabilities for Windows Update notifications when new updates are available". Now (at least as of 3/26/2016 but probably earlier) says "installs Get Windows 10 app".
  • KB 3044374 – This update for Windows 8.1 enables systems to upgrade from the current operating system to a later version of Windows.
  • KB 3068708 – CEIP "updates the Diagnostic and Telemetry service"
  • KB 3075249 – CEIP adds telemetry points to consent.exe (ie UAC)
  • KB 3080149 – CEIP "updates the Diagnostics and Telemetry tracking service" and "provides benefits from the latest version of Windows to systems that have not yet upgraded" (suspicious)

So I do think turning off CEIP is part of the fight against the Windows 10 push. But it's not the only reason I ask this question.

EDIT 2:
This technet sounds promising Managing Group Policy from the command line but alas you can only view and apply en masse.

Best Answer

The correct way to disable the upgrade in the enterprise is to enable the "Turn off the upgrade to the latest version of Windows through Windows Update" policy that was released. This would of course presume your system are fully patched. The upgrade notification is unrelated to CEIP, AFAIK, and it would be simpler just to uninstall the notification app, rather than mess with CEIP.