Created
July 17, 2014 08:40
-
-
Save gioxx/166afd4e286b30482bf8 to your computer and use it in GitHub Desktop.
JAVA Update Disabler (LOCAL x86)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'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