VBS Script to disable Sun Java Auto Apdate

The below script will disable the auto update feature of Sun Java, I have tested is on JRE 6 update 16 but it should also work with other versions.

on error resume next
Set objShell = CreateObject("WScript.Shell")
'Disable auto update
regKey = "HKLM\SOFTWARE\JavaSoft\Java Update\Policy\EnableJavaUpdate"
regValue = 0 '0 Disable 1 Enable
objShell.RegWrite regKey, regValue, "REG_DWORD"
Set objShell = nothing




Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.