<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Creating_WSUS_updates_for_Java</title><link>https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/</link><description>Recent changes to Creating_WSUS_updates_for_Java</description><atom:link href="https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/feed" rel="self"/><language>en</language><lastBuildDate>Tue, 20 May 2014 00:48:50 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/feed" rel="self" type="application/rss+xml"/><item><title>Creating_WSUS_updates_for_Java modified by Bryan Dam</title><link>https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v12
+++ v13
@@ -1,4 +1,4 @@
-**Warning**: You don't want to have updates for both v21 and v22 approved at the same time for the same machines. You can delete the v21 package, remove all approvals for v21 or change the definition for v22 to indicate that it supersedes the v21 package. Be aware that if you use supersedes, you may have difficulties if you later choose to Remove v21. 
+**Warning**: You don't want to have multiple versions approved at the same time for the same machines. When creating the newer package be sure to make it supersede the older one.

   * Download the java installation files. 
   * Using the steps [here](http://download.oracle.com/javase/6/docs/technotes/guides/deployment/deployment-guide/install-msi.html), extract the files from the executable. 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bryan Dam</dc:creator><pubDate>Tue, 20 May 2014 00:48:50 -0000</pubDate><guid>https://sourceforge.net77d41e8be773421cf7fe35dc7b382c5b3c86d3e7</guid></item><item><title>Creating_WSUS_updates_for_Java modified by Bryan Dam</title><link>https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v11
+++ v12
@@ -1,5 +1,3 @@
-_The directions for creating an update for Java v21 - v26 are the same._
-
 **Warning**: You don't want to have updates for both v21 and v22 approved at the same time for the same machines. You can delete the v21 package, remove all approvals for v21 or change the definition for v22 to indicate that it supersedes the v21 package. Be aware that if you use supersedes, you may have difficulties if you later choose to Remove v21.

   * Download the java installation files. 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bryan Dam</dc:creator><pubDate>Tue, 20 May 2014 00:48:50 -0000</pubDate><guid>https://sourceforge.net6f4590034999378470c01d1fde381139ba04f585</guid></item><item><title>Creating_WSUS_updates_for_Java modified by Bryan Dam</title><link>https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bryan Dam</dc:creator><pubDate>Tue, 20 May 2014 00:48:50 -0000</pubDate><guid>https://sourceforge.net998ab9e6f550367df0a24b590b5917e5550cd3e3</guid></item><item><title>Creating_WSUS_updates_for_Java modified by snarfle</title><link>https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v9
+++ v10
@@ -33,4 +33,97 @@

     sArchitecture = wshShell.ExpandEnvironmentStrings("%PROCESSOR_ARCHITECTURE%")

-    if sArchitecture 
+    if sArchitecture = "x86" then
+       KillJUSchedProcess()    ' Kill the jusched process if it is running
+       CreateDeploymentFiles()     ' Create the Java configuration files
+       DeleteRegistryKeys()        ' Delete registry keys to prevent autoupdates
+    end if
+    
+    ' =============================================================
+    sub KillJUSchedProcess
+    
+    ' You must kill the jusched.exe process before updating anything.  Otherwise 
+    ' it just writes everything back when it shuts down.
+    
+    dim objWMIService, colProcess, objProcess
+    
+    Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") 
+    
+    Set colProcess = objWMIService.ExecQuery ("Select __relpath from Win32_Process Where Name = 'jusched.exe'")
+    
+    For Each objProcess in colProcess
+       objProcess.Terminate()
+    Next
+    
+    end sub
+    
+    ' =============================================================
+    sub CreateDeploymentFiles
+    
+    Const ForWriting = 2
+    dim objTextFile, sFileName, sMangled, sWinDir, sPropFolder
+    
+    sWinDir = wshShell.ExpandEnvironmentStrings("%windir%")
+    sPropFolder = "\Sun\Java\Deployment"
+    sFileName = sWinDir &amp; sPropFolder &amp; "\deployment.properties"
+    
+    ' Java REALLY mangles directory names.  Not only must each \ be prefixed with a \,
+    ' but each : must also be prefixed with a \.
+    
+    ' So:
+    
+    '    file:\c:\Windows\Sun\Java\Deployment\deployment.properties
+    
+    ' becomes:
+    
+    '    file:\\c\:\\Windows\\Sun\\Java\\Deployment\\deployment.properties
+    
+    sMangled = Replace(sFileName, "\", "\\")
+    sMangled = Replace(sMangled, ":", "\:")
+    
+    ' Make sure the folder exists
+    CreateFolder(sWinDir &amp; sPropFolder)
+    
+    ' Write deployment.properties file
+    Set objTextFile = objFSO.OpenTextFile (sFileName, ForWriting, True)
+    
+    ' Write the configuration settings
+    objTextFile.WriteLine("deployment.javaws.autodownload=NEVER")
+    objTextFile.WriteLine("deployment.javaws.autodownload.locked=")
+    
+    objTextFile.Close
+    
+    ' Write the deployment.config file.  This file describes where the deployment.properties file
+    ' can be found, and whether Java should run without it.
+    sFileName = sWinDir &amp; sPropFolder &amp; "\deployment.config"
+    
+    ' Overwrite any existing file
+    Set objTextFile = objFSO.OpenTextFile (sFileName, ForWriting, True)
+    
+    ' Write the configuration settings
+    objTextFile.WriteLine("deployment.system.config=file:\\" &amp; sMangled)
+    objTextFile.WriteLine("deployment.system.config.mandatory=true")
+    
+    objTextFile.Close
+    
+    end sub
+    
+    ' =============================================================
+    sub DeleteRegistryKeys
+    
+    on error resume next
+    
+    ' Delete this specific registry value
+    WshShell.RegDelete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\SunJavaUpdateSched"
+    
+    ' Delete this entire registry key (and all subkeys, values, etc).  Doing this removes the whole
+    ' Update tab from the Java control panel
+    WshShell.RegDelete "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy\"
+    
+    end sub
+    
+    ' =============================================================
+    'Recursive folder create, will create directories and Sub
+    Sub CreateFolder( strPath )
+       On Error Resume Next
+       If strPath 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">snarfle</dc:creator><pubDate>Tue, 20 May 2014 00:48:50 -0000</pubDate><guid>https://sourceforge.netd3156dd3ea8393a48ff5d85b9f6a058b0d52abb0</guid></item><item><title>Creating_WSUS_updates_for_Java modified by snarfle</title><link>https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v8
+++ v9
@@ -1,4 +1,4 @@
-_The directions for creating an update for Java v21 &amp;amp; v22 are the same._
+_The directions for creating an update for Java v21 - v26 are the same._

 **Warning**: You don't want to have updates for both v21 and v22 approved at the same time for the same machines. You can delete the v21 package, remove all approvals for v21 or change the definition for v22 to indicate that it supersedes the v21 package. Be aware that if you use supersedes, you may have difficulties if you later choose to Remove v21. 

@@ -25,98 +25,12 @@

     option explicit

-    dim wshShell, sArchitecture
+    dim objFSO, wshShell, sArchitecture

     ' This script only works on x86
     Set wshShell = CreateObject( "WScript.Shell" )
+    Set objFSO = CreateObject("Scripting.FileSystemObject")

     sArchitecture = wshShell.ExpandEnvironmentStrings("%PROCESSOR_ARCHITECTURE%")

-    if sArchitecture = "x86" then
-       KillJUSchedProcess()     ' Kill the jusched process if it is running
-       CreateDeploymentFiles()     ' Create the Java configuration files
-       DeleteRegistryKeys()        ' Delete registry keys to prevent autoupdates
-    end if
-    
-    ' =============================================================
-    sub KillJUSchedProcess
-    
-    ' You must kill the jusched.exe process before updating anything.  Otherwise 
-    ' it just writes everything back when it shuts down.
-    
-    dim objWMIService, colProcess, objProcess
-    
-    Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") 
-    
-    Set colProcess = objWMIService.ExecQuery ("Select __relpath from Win32_Process Where Name = 'jusched.exe'")
-    
-    For Each objProcess in colProcess
-       objProcess.Terminate()
-    Next
-    
-    end sub
-    
-    ' =============================================================
-    sub CreateDeploymentFiles
-    
-    Const ForWriting = 2
-    dim objFSO, objTextFile, sFileName, sMangled, sWinDir
-    
-    Set objFSO = CreateObject("Scripting.FileSystemObject")
-    
-    sWinDir = wshShell.ExpandEnvironmentStrings("%windir%")
-    
-    ' Java REALLY mangles directory names.  Not only must each \ be prefixed with a \,
-    ' but each : must also be prefixed with a \.
-    
-    ' So:
-    
-    '    file:\c:\Windows\Sun\Java\Deployment\deployment.properties
-    
-    ' becomes:
-    
-    '    file:\\c\:\\Windows\\Sun\\Java\\Deployment\\deployment.properties
-    
-    sMangled = Replace(sWinDir, "\", "\\")
-    sMangled = Replace(sMangled, ":", "\:")
-    
-    ' Write deployment.properties file
-    
-    sFileName = sWinDir &amp; "\Sun\Java\Deployment\deployment.properties"
-    Set objTextFile = objFSO.OpenTextFile (sFileName, ForWriting, True)
-    
-    ' Write the configuration settings
-    objTextFile.WriteLine("deployment.javaws.autodownload=NEVER")
-    objTextFile.WriteLine("deployment.javaws.autodownload.locked=")
-    
-    objTextFile.Close
-    
-    ' Write the deployment.config file.  This file describes where the deployment.properties file
-    ' can be found, and whether Java should run without it.
-    sFileName = sWinDir &amp; "\Sun\Java\Deployment\deployment.config"
-    
-    ' Overwrite any existing file
-    Set objTextFile = objFSO.OpenTextFile (sFileName, ForWriting, True)
-    
-    ' Write the configuration settings
-    objTextFile.WriteLine("deployment.system.config=file:\\" &amp; sMangled &amp; "\\Sun\\Java\\Deployment\\deployment.properties")
-    objTextFile.WriteLine("deployment.system.config.mandatory=true")
-    
-    objTextFile.Close
-    
-    end sub
-    
-    ' =============================================================
-    sub DeleteRegistryKeys
-    
-    on error resume next
-    
-    ' Delete this specific registry value
-    WshShell.RegDelete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\SunJavaUpdateSched"
-    
-    ' Delete this entire registry key (and all subkeys, values, etc).  Doing this removes the whole
-    ' Update tab from the Java control panel
-    WshShell.RegDelete "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy\"
-    
-    end sub
-    
+    if sArchitecture 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">snarfle</dc:creator><pubDate>Tue, 20 May 2014 00:48:50 -0000</pubDate><guid>https://sourceforge.netc7fa1813b87581d7d65862717f827208ddfe7c50</guid></item><item><title>Creating_WSUS_updates_for_Java modified by snarfle</title><link>https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v7
+++ v8
@@ -3,7 +3,7 @@
 **Warning**: You don't want to have updates for both v21 and v22 approved at the same time for the same machines. You can delete the v21 package, remove all approvals for v21 or change the definition for v22 to indicate that it supersedes the v21 package. Be aware that if you use supersedes, you may have difficulties if you later choose to Remove v21.

   * Download the java installation files. 
-  * Using the steps [here](http://www.java.com/en/download/help/msi_install.xml), extract the files from the executable. 
+  * Using the steps [here](http://download.oracle.com/javase/6/docs/technotes/guides/deployment/deployment-guide/install-msi.html), extract the files from the executable. 
   * In LUP, select Tools/Create Update. 
   * Click the Browse for Update File and point to the MSI file. 
   * Click the Add File button and select the data1.cab file. 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">snarfle</dc:creator><pubDate>Tue, 20 May 2014 00:48:50 -0000</pubDate><guid>https://sourceforge.net60167176e568071d7ade64dccd04b392fdea0ac1</guid></item><item><title>Creating_WSUS_updates_for_Java modified by snarfle</title><link>https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -1,6 +1,6 @@
 _The directions for creating an update for Java v21 &amp;amp; v22 are the same._

-Warning: You don't want to have updates for both v21 and v22 approved at the same time for the same machines. You can delete the v21 package, remove all approvals for v21 or change the definition for v22 to indicate that it supersedes the v21 package. Be aware that if you use supersedes, you may have difficulties if you later choose to Remove v21. 
+**Warning**: You don't want to have updates for both v21 and v22 approved at the same time for the same machines. You can delete the v21 package, remove all approvals for v21 or change the definition for v22 to indicate that it supersedes the v21 package. Be aware that if you use supersedes, you may have difficulties if you later choose to Remove v21. 

   * Download the java installation files. 
   * Using the steps [here](http://www.java.com/en/download/help/msi_install.xml), extract the files from the executable. 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">snarfle</dc:creator><pubDate>Tue, 20 May 2014 00:48:49 -0000</pubDate><guid>https://sourceforge.netafcc42d1c600daddafc65b7e4f80d675bada629a</guid></item><item><title>Creating_WSUS_updates_for_Java modified by snarfle</title><link>https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -1,3 +1,7 @@
+_The directions for creating an update for Java v21 &amp;amp; v22 are the same._
+
+Warning: You don't want to have updates for both v21 and v22 approved at the same time for the same machines. You can delete the v21 package, remove all approvals for v21 or change the definition for v22 to indicate that it supersedes the v21 package. Be aware that if you use supersedes, you may have difficulties if you later choose to Remove v21. 
+
   * Download the java installation files. 
   * Using the steps [here](http://www.java.com/en/download/help/msi_install.xml), extract the files from the executable. 
   * In LUP, select Tools/Create Update. 
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">snarfle</dc:creator><pubDate>Tue, 20 May 2014 00:48:49 -0000</pubDate><guid>https://sourceforge.net791219f8b03015a4ddc08540f6ff1c7aa125d112</guid></item><item><title>Creating_WSUS_updates_for_Java modified by snarfle</title><link>https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -14,75 +14,105 @@

 Here is a sample script that can serve as a starting point for configuring Java 

-    ' This is a sample script showing how to create config files for java.  It
-    ' is intended to be added to an MST during java installs.
+    ' This is a sample script showing how to create config files for Java.  It
+    ' is intended to be added to an MST during Java installs.

     ' Note: It only works on x86 machines.

     option explicit

-    Const ForWriting = 2
-    dim wshShell, objFSO, objTextFile, sFileName, sArchitecture, sJUSched, sMangled, sWinDir
+    dim wshShell, sArchitecture

+    ' This script only works on x86
     Set wshShell = CreateObject( "WScript.Shell" )
+    
     sArchitecture = wshShell.ExpandEnvironmentStrings("%PROCESSOR_ARCHITECTURE%")

-    ' This script only works on x86
     if sArchitecture = "x86" then
-    
-       Set objFSO = CreateObject("Scripting.FileSystemObject")
-    
-       sWinDir = wshShell.ExpandEnvironmentStrings("%windir%")
-    
-       ' Java REALLY mangles directory names.  Not only must each \ be prefixed with a \,
-       ' but each : must also be prefixed with a \.
-    
-       ' So:
-    
-       '    file:\c:\Windows\Sun\Java\Deployment\deployment.properties
-    
-       ' becomes:
-    
-       '    file:\\c\:\\Windows\\Sun\\Java\\Deployment\\deployment.properties
-    
-       sMangled = Replace(sWinDir, "\", "\\")
-       sMangled = Replace(sMangled, ":", "\:")
-    
-       ' Build the path
-       sFileName = sWinDir &amp; "\Sun\Java\Deployment\deployment.config"
-    
-       ' Write the deployment.properties file.  This file describes where the deployment.properties file
-       ' can be found, and whether java should run without it.
-    
-       ' Overwrite any existing file
-       Set objTextFile = objFSO.OpenTextFile (sFileName, ForWriting, True)
-    
-       ' Write the configuration settings
-       objTextFile.WriteLine("deployment.system.config=file:\\" &amp; sMangled &amp; "\\Sun\\Java\\Deployment\\deployment.properties")
-       objTextFile.WriteLine("deployment.system.config.mandatory=true")
-    
-       objTextFile.Close
-    
-       ' Write deployment.properties
-    
-       sFileName = sWinDir &amp; "\Sun\Java\Deployment\deployment.properties"
-       Set objTextFile = objFSO.OpenTextFile (sFileName, ForWriting, True)
-    
-       ' Write the configuration settings
-       objTextFile.WriteLine("deployment.javaws.autodownload=NEVER")
-       objTextFile.WriteLine("deployment.javaws.autodownload.locked=")
-    
-       objTextFile.Close
-    
-       ' Delete the jusched.exe registry value
-       sJUSched = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\SunJavaUpdateSched"
-    
-       on error resume next
-       WshShell.RegDelete sJUSched
-    
-       ' Delete the entire policy key.  This removes the update tab from java control panel.
-       sJUSched = "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy\"
-       WshShell.RegDelete sJUSched
-    
+       KillJUSchedProcess()     ' Kill the jusched process if it is running
+       CreateDeploymentFiles()     ' Create the Java configuration files
+       DeleteRegistryKeys()        ' Delete registry keys to prevent autoupdates
     end if

+    ' =============================================================
+    sub KillJUSchedProcess
+    
+    ' You must kill the jusched.exe process before updating anything.  Otherwise 
+    ' it just writes everything back when it shuts down.
+    
+    dim objWMIService, colProcess, objProcess
+    
+    Set objWMIService = GetObject("winmgmts:{impersonationLevel=impersonate}!\\.\root\cimv2") 
+    
+    Set colProcess = objWMIService.ExecQuery ("Select __relpath from Win32_Process Where Name = 'jusched.exe'")
+    
+    For Each objProcess in colProcess
+       objProcess.Terminate()
+    Next
+    
+    end sub
+    
+    ' =============================================================
+    sub CreateDeploymentFiles
+    
+    Const ForWriting = 2
+    dim objFSO, objTextFile, sFileName, sMangled, sWinDir
+    
+    Set objFSO = CreateObject("Scripting.FileSystemObject")
+    
+    sWinDir = wshShell.ExpandEnvironmentStrings("%windir%")
+    
+    ' Java REALLY mangles directory names.  Not only must each \ be prefixed with a \,
+    ' but each : must also be prefixed with a \.
+    
+    ' So:
+    
+    '    file:\c:\Windows\Sun\Java\Deployment\deployment.properties
+    
+    ' becomes:
+    
+    '    file:\\c\:\\Windows\\Sun\\Java\\Deployment\\deployment.properties
+    
+    sMangled = Replace(sWinDir, "\", "\\")
+    sMangled = Replace(sMangled, ":", "\:")
+    
+    ' Write deployment.properties file
+    
+    sFileName = sWinDir &amp; "\Sun\Java\Deployment\deployment.properties"
+    Set objTextFile = objFSO.OpenTextFile (sFileName, ForWriting, True)
+    
+    ' Write the configuration settings
+    objTextFile.WriteLine("deployment.javaws.autodownload=NEVER")
+    objTextFile.WriteLine("deployment.javaws.autodownload.locked=")
+    
+    objTextFile.Close
+    
+    ' Write the deployment.config file.  This file describes where the deployment.properties file
+    ' can be found, and whether Java should run without it.
+    sFileName = sWinDir &amp; "\Sun\Java\Deployment\deployment.config"
+    
+    ' Overwrite any existing file
+    Set objTextFile = objFSO.OpenTextFile (sFileName, ForWriting, True)
+    
+    ' Write the configuration settings
+    objTextFile.WriteLine("deployment.system.config=file:\\" &amp; sMangled &amp; "\\Sun\\Java\\Deployment\\deployment.properties")
+    objTextFile.WriteLine("deployment.system.config.mandatory=true")
+    
+    objTextFile.Close
+    
+    end sub
+    
+    ' =============================================================
+    sub DeleteRegistryKeys
+    
+    on error resume next
+    
+    ' Delete this specific registry value
+    WshShell.RegDelete "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\SunJavaUpdateSched"
+    
+    ' Delete this entire registry key (and all subkeys, values, etc).  Doing this removes the whole
+    ' Update tab from the Java control panel
+    WshShell.RegDelete "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy\"
+    
+    end sub
+    
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">snarfle</dc:creator><pubDate>Tue, 20 May 2014 00:48:49 -0000</pubDate><guid>https://sourceforge.net80ba93f2618a8af57e676302731ae3c6416e50cc</guid></item><item><title>Creating_WSUS_updates_for_Java modified by snarfle</title><link>https://sourceforge.net/p/localupdatepubl/wiki/Creating_WSUS_updates_for_Java/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -74,11 +74,15 @@

        objTextFile.Close

-       ' Delete the jusched.exe registry key
+       ' Delete the jusched.exe registry value
        sJUSched = "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\SunJavaUpdateSched"

        on error resume next
        WshShell.RegDelete sJUSched

+       ' Delete the entire policy key.  This removes the update tab from java control panel.
+       sJUSched = "HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Java Update\Policy\"
+       WshShell.RegDelete sJUSched
+    
     end if

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">snarfle</dc:creator><pubDate>Tue, 20 May 2014 00:48:49 -0000</pubDate><guid>https://sourceforge.netf1dec0536d6efd23aceded755491cd5486ddaaae</guid></item></channel></rss>