Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Is there a way to force all machines with java not to check for updates?

Posted on 2013-06-25
7
268 Views
Last Modified: 2013-07-19
We have SUS that pushes updates but I am wondering if there is a way to force the control panel settings on all machines to not check so they are not being checked as often and only by SUS?
0
Comment
Question by:bergquistcompany
  • 4
  • 3
7 Comments
 
LVL 3

Accepted Solution

by:
andrewjamesb earned 500 total points
ID: 39301433
This can be done via Group Policy as described below

I have created the .adm template just to simply enable or disable Java auto Updater via a GPO. For all future searches, here is how to disable / enable Java Updates on a group of computers via a GPO. Just copy all of the text in between the lines below, paste the text into notepad, and save the file as a JavaAutoUpdater.adm, and then you can go into your GPMC and right click administrative templates (under computer), click add templates, and browse to the .adm file you just saved (one for java) and import it. You will also need to click on administrative templates, then click view, click filtering, and uncheck the "only show policy settings that can be fully managed".

                                   

                                 JAVA

 -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

CLASS MACHINE

CATEGORY !!Java

        POLICY !!Checkforupdatesatstart
 KEYNAME "SOFTWARE\JavaSoft\Java Update\Policy"
            EXPLAIN !!Checkforupdatesatstart_Help
                VALUENAME "EnableAutoUpdateCheck"
                    VALUEON NUMERIC 1
                    VALUEOFF NUMERIC 0
        END POLICY

        POLICY !!EnableJavaUpdater
            KEYNAME "SOFTWARE\JavaSoft\Java Update\Policy"
            EXPLAIN !!EnableJavaUpdater_Help
                VALUENAME "EnableJavaUpdate"
                    VALUEON NUMERIC 1
                    VALUEOFF NUMERIC 0
        END POLICY

END CATEGORY

[strings]
Java="Andy' Java Template"
EnableJavaUpdater="Enable Java Updater"
EnableJavaUpdater_Help="When set to Enabled, Java Updater can run and the 'Check for updates' option appears on the Help menu.  When set to Disabled, Java Updater cannot run and the 'Check for updates' option does not appear on the Help menu."
Checkforupdatesatstart="Check for updates at start (non-policy)"
Checkforupdatesatstart_Help=""When set to Enabled Java will check for updates at startup.  When set to Disabled Java will not check for updates at startup."
0
 

Author Comment

by:bergquistcompany
ID: 39307863
Hello,

Copy under the --------------- to the "End Category" or [strings]?

From the .adm I am unclear which field is actually doing the disabling?  As I want to have it disabled.  So if I want to be able to get into Java in Control Panel but not have it check or run updates I'd set both to disable?
0
 
LVL 3

Expert Comment

by:andrewjamesb
ID: 39308426
Hi Berg

You would need to copy below as it is and this will work for you as I have described above;

CLASS MACHINE

CATEGORY !!Java

        POLICY !!Checkforupdatesatstart
 KEYNAME "SOFTWARE\JavaSoft\Java Update\Policy"
            EXPLAIN !!Checkforupdatesatstart_Help
                VALUENAME "EnableAutoUpdateCheck"
                    VALUEON NUMERIC 1
                    VALUEOFF NUMERIC 0
        END POLICY

        POLICY !!EnableJavaUpdater
            KEYNAME "SOFTWARE\JavaSoft\Java Update\Policy"
            EXPLAIN !!EnableJavaUpdater_Help
                VALUENAME "EnableJavaUpdate"
                    VALUEON NUMERIC 1
                    VALUEOFF NUMERIC 0
        END POLICY

END CATEGORY

[strings]
Java="Andy' Java Template"
EnableJavaUpdater="Enable Java Updater"
EnableJavaUpdater_Help="When set to Enabled, Java Updater can run and the 'Check for updates' option appears on the Help menu.  When set to Disabled, Java Updater cannot run and the 'Check for updates' option does not appear on the Help menu."
Checkforupdatesatstart="Check for updates at start (non-policy)"
Checkforupdatesatstart_Help=""When set to Enabled Java will check for updates at startup.  When set to Disabled Java will not check for updates at startup."
0
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

Author Comment

by:bergquistcompany
ID: 39329668
Ok I'm going to try it and to confirm as is it will disable control panel java from checking and installing updates?  

Copy from Class Machine....to....startup" correct?
0
 

Author Comment

by:bergquistcompany
ID: 39329797
ok added and check for updates at start is not configured nore is enable java updater
I should leave at not configured or set both to disabled?
0
 
LVL 3

Expert Comment

by:andrewjamesb
ID: 39329825
Set both to disabled. Then you can update at a future date as you wish and when you want. Rather than the automatic installer running in the background

Hope this helps :-)
0
 

Author Closing Comment

by:bergquistcompany
ID: 39339226
FABULOUS!  Thanks so much!
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
servlet example issue 6 46
SHA2 certs for IIS AND Java? 2 113
Java exception bubble up 2 21
jboss wildfly 10.1 10 228
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
This video teaches viewers about errors in exception handling.
This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

840 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question