Skip to content

Instantly share code, notes, and snippets.

@gioxx
Created July 17, 2014 08:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gioxx/166afd4e286b30482bf8 to your computer and use it in GitHub Desktop.
Save gioxx/166afd4e286b30482bf8 to your computer and use it in GitHub Desktop.
JAVA Update Disabler (LOCAL x86)
'JAVA Update Disabler (LOCAL x86)
'GSolone 2013
'
Set WshShell = CreateObject( "WScript.Shell" )
Set Shell = CreateObject( "WScript.Shell" )
Shell.RegWrite "HKLM\SOFTWARE\JavaSoft\Java Update\Policy\EnableJavaUpdate", 0, "REG_DWORD"
'DEBUG LETTURA NUOVO VALORE
'a = WshShell.RegRead ( "HKLM\SOFTWARE\JavaSoft\Java Update\Policy\EnableJavaUpdate" )
'Wscript.Echo "JavaUpdate value is ",a, " (0 disabled, 1 enabled)."
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment