Disable “sponsorize” installation in Java

Digging a bit into the problem myself, I’ve found that there’s an hidden switch to disable sponsor offerings in the auto-update installer.

Open the following keys into the Windows Registry Editor (regedit.exe):
•HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft
•HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft (available only on Windows 64-bit)

and create in both of them a new String Value (type REG_SZ) named SPONSORS of value DISABLE (both name and value must be uppercase).

Alternatively, copy and paste the following code into a text file called disable_java_sponsors.reg and double click on it to import these values in your Registry.
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]
“SPONSORS”=”DISABLE”

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft]
“SPONSORS”=”DISABLE”

Please note that this switch not only disables the Ask.com toolbar installation and prompt, but disables all of the sponsors potentially bundled with the Auto-update setup/Online setup (Google toolbar, Yahoo toolbar, McAfee something, etc…)

Another way, without having to download and rename or create a new .REG file, is to copy and paste the following two lines into an elevated CMD prompt:

reg add HKLM\software\javasoft /v “SPONSORS” /t REG_SZ /d “DISABLE” /f
reg add HKLM\SOFTWARE\Wow6432Node\JavaSoft /v “SPONSORS” /t REG_SZ /d “DISABLE” /f

see also:
http://www.howtogeek.com/198240/avoid-javas-ask-toolbar-installations-with-this-one-weird-registry-hack/

Evernote lets you save all the interesting things you see online into a single place. Access all those saved pages from your computer, phone or the web. Sign up now or learn more. It's free!