The old method of disabling Java updates through the registry or GPO, mentioned in this article is no longer valid for Java 7 (1.7) and 8 (1.8), nor does it prevent the UAC prompt from appearing when the updater runs in the background. The method explained here is a better, more up-to-date solution to completely disabling Java updates from running, and includes the required registry change to stop the updater from running, preventing the UAC prompt from ever appearing.
Disabling Java update from control panel is not as straight forward as it seems to be. Java update can only be disabled with administrative rights, so you need to run the Java control panel elevated. Since you can't do this through the control panel, you need to run the applet through its executable.
Java | Windows | Default path |
---|---|---|
32-bit | 32-bit | %PROGRAMFILES%\Java\<jre-version>\bin |
32-bit | 64-bit | %PROGRAMFILES(X86)%\Java\<jre-version>\bin |
64-bit | 64-bit | %PROGRAMFILES%\Java\<jre-version>\bin |
You can disable Java updates through the registry (either directly or through GPP or scripts) by altering a few registry values.
Note that this does not prevent the updater from running, so you will still get an UAC prompt as the updater is started.
Change/create the following values:
Value name | Type | New value | |
---|---|---|---|
EnableAutoUpdateCheck | DWORD | 0 | Java 7 only! the data type is REG_BINARY on Java 8, and changing it does not prevent the download. |
NotifyDownload | DWORD | 0 | Disables download notifications. |
EnableJavaUpdate | DWORD | 0 | Removes the Update tab from Java control panel. |
Setting EnableJavaUpdate to 0 also removes the Update tab from the Java Configuration applet in Control Panel.
Note that the registry changes above alone are not enough to prevent the Java updater from running. To prevent it from starting, and subsequently preventing the famous UAC prompt from appearing, follow the next step.
To prevent the update checker from running, you'll need to remove its automatic startup entry from the registry.
« ‹ | December 2024 | › » | ||||
Sun | Mon | Tue | Wed | Thu | Fri | Sat |
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 | 31 |