vbs:disablejavaupdate
Differences
This shows you the differences between two versions of the page.
vbs:disablejavaupdate [2013/09/12 18:12] – created gfsadministrator | vbs:disablejavaupdate [2014/07/17 10:43] (current) – gfsadministrator | ||
---|---|---|---|
Line 7: | Line 7: | ||
Vi basterà salvare ed eseguire questo file sul vostro PC o portarlo comodamente in chiave USB ed eseguirlo ovunque vogliate (a patto di avere i permessi di modificare il registro di sistema, **occorrerà quindi essere amministratori locali della macchina**). | Vi basterà salvare ed eseguire questo file sul vostro PC o portarlo comodamente in chiave USB ed eseguirlo ovunque vogliate (a patto di avere i permessi di modificare il registro di sistema, **occorrerà quindi essere amministratori locali della macchina**). | ||
- | <file vb JavaUpdateDisabler.vbs> | + | Vedi https:// |
- | 'JAVA Update Disabler (LOCAL) | + | |
- | ' | + | |
- | ' | + | |
- | Set WshShell = CreateObject( " | + | |
- | Set Shell = CreateObject( " | + | |
- | Shell.RegWrite " | + | |
- | 'DEBUG LETTURA NUOVO VALORE | + | |
- | 'a = WshShell.RegRead ( " | + | |
- | ' | + | |
- | </file> | + | |
===== Disabilitare Java Update (REMOTE) ===== | ===== Disabilitare Java Update (REMOTE) ===== | ||
Line 23: | Line 13: | ||
Vi basterà salvare ed eseguire questo file sul vostro PC (anche questo è portable, giusto per informazione), | Vi basterà salvare ed eseguire questo file sul vostro PC (anche questo è portable, giusto per informazione), | ||
- | <file vb JavaUpdateRemoteDisabler.vbs> | + | Vedi https:// |
- | 'JAVA Update Remote Disabler | + | |
- | ' | + | |
- | ' | + | |
- | Const HKEY_CURRENT_USER = & | + | |
- | Const HKEY_LOCAL_MACHINE = & | + | |
- | + | ||
- | Set WSHShell = WScript.CreateObject(" | + | |
- | Set WNetwork = Wscript.CreateObject(" | + | |
- | On Error Resume Next | + | |
- | + | ||
- | 'Query for target PC | + | |
- | strComputer = InputBox(" | + | |
- | If strComputer = "" | + | |
- | ' | + | |
- | + | ||
- | Set StdOut = WScript.StdOut | + | |
- | Set oReg=GetObject(" | + | |
- | strKeyPath = " | + | |
- | strValueName = " | + | |
- | dwValue = 0 | + | |
- | oReg.SetDWORDValue HKEY_LOCAL_MACHINE, | + | |
- | </file> | + |
vbs/disablejavaupdate.txt · Last modified: 2014/07/17 10:43 by gfsadministrator