LOGO

Stop Ask Toolbar: Java Registry Hack

October 13, 2014
Stop Ask Toolbar: Java Registry Hack

Preventing Unwanted Software Installation with Java

During the installation process, Java has been known to attempt the installation of potentially unwanted programs, such as the Ask Toolbar, which are often referred to as "sponsored software." This practice is particularly concerning as it occurs even when installing critical security updates.

A modification to the Windows Registry can effectively prevent Java from installing these additional, undesirable components.

Why This Registry Hack is Necessary

The inclusion of bundled junkware with security updates is a problematic practice. It exposes users to unwanted software without their explicit consent.

Implementing this registry change is a proactive measure to safeguard your system against such installations.

How to Protect Yourself

If Java is a necessary component of your system – though it is often not required – it is crucial to adjust this setting. This will shield you from the automatic installation of unwanted software.

This protection, however, may be temporary. Oracle could potentially address the decrease in Ask Toolbar installations by altering the installation process in the future.

  • This hack specifically targets the installation of bundled software.
  • It does not affect the functionality of Java itself.
  • Regularly reviewing your installed programs is still recommended.

By implementing this registry modification, users can regain control over their software installations and minimize the risk of encountering unwanted programs bundled with Java updates.

Utilizing the Java Control Panel Setting

Related: Strategies for Mitigating Java Security Risks When Uninstalling Isn't Possible

This initial approach is applicable only if a Java installation already exists on your system. However, it remains valuable as a preventative measure. It safeguards against unintentional installations of toolbars like Ask Toolbar, alongside other unwanted software, during the frequent security updates Java requires due to its inherent vulnerabilities.

The relevant setting is located within the Java Control Panel. To gain access, briefly press the Windows key to open the Start menu or Start screen and then type "Java". Select the "Configure Java" shortcut from the results.

avoid-javas-ask-toolbar-installations-with-this-one-weird-registry-hack-1.jpg

Navigate to the Advanced tab and scroll to the very bottom of the list. This option is intentionally placed at the end. Ensure the "Suppress sponsor offers when installing or updating Java" checkbox is selected, then click OK to save your changes.

This setting effectively configures the same registry value that can be adjusted manually, as detailed below.

avoid-javas-ask-toolbar-installations-with-this-one-weird-registry-hack-2.jpg

The precise date of this option's introduction is uncertain, but it appears to have been implemented sometime between July and August of 2014. If this option is not visible, your Java version is outdated – an update is strongly recommended! (Remember to deselect any bundled unwanted software during the update process.)

Modifying the Registry to Prevent Unwanted Software Installation

A registry modification offers a swift method to alter this configuration. A .reg file is available for download, enabling activation with minimal effort. This prevents Java from initiating the installation of the Ask Toolbar upon initial setup.

This .reg file can be deployed across family computers, shielding them from the Ask Toolbar should they ever attempt a Java installation. Download the Disable_Java_Junkware.zip file, extract its contents by double-clicking, and then double-click the Disable_Java_Junkware.reg file to integrate the values into your system registry.

avoid-javas-ask-toolbar-installations-with-this-one-weird-registry-hack-3.jpg

Furthermore, system administrators can utilize group policy to distribute this registry setting to all machines within their network. Consequently, any Java installation or update will bypass prompts for additional, unnecessary software.

Alternatively, manual implementation is possible. Open Notepad or a comparable text editor, copy the following code block, and paste it into a new text file:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft]

"SPONSORS"="DISABLE"

[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\JavaSoft]

"SPONSORS"="DISABLE"

Save the file with a .reg extension – for instance, Disable_Java_Junkware.reg. A double-click will import the settings.

avoid-javas-ask-toolbar-installations-with-this-one-weird-registry-hack-4.jpg

Should this technique gain widespread adoption, Oracle may revise the necessary registry keys and resume attempts to install unwanted software. Continued vigilance during Java security updates remains advisable.

It is unusual that Oracle provided this option initially. However, this is their response to feedback: "IT professionals – cease your complaints regarding the Ask Toolbar. Employ this concealed feature and allow us to continue offering this undesirable software to typical users."

Oracle, this is insufficient. The inclusion of junkware is problematic, even if it is a frequent occurrence on Windows systems. However, leveraging critical security updates for the most vulnerable software on Windows as a means to distribute further junkware is particularly concerning. This practice is simply unethical.

#Ask Toolbar#Java#registry hack#remove Ask Toolbar#prevent Ask Toolbar#toolbar removal