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\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



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:

Sysinternals Live
VMware, remove floppy device in guest OS