/build/static/layout/Breadcrumb_cap_w.png

Stopping auto updates for Java 1.6_17

Can I just use the executable with the /quiet switch to install Java? I get my installation to work fine this way, but I cannot get rid of the update prompt. Should I include this in the same command line box to alter the registry key or create another post-installation task using this command?

reg.exe ADD HKLM\SOFTWARE\JavaSoft\Java Update\Policy /v EnableJavaUpdate /t REG_DWORD /d 0 /f

I would like to get Java on users machines without prompting them for updates. I am using KACE by the way. Any suggestions?

Thank you in advance!


0 Comments   [ + ] Show comments

Answers (4)

Answer Summary:
Posted by: SMal.tmcc 11 years ago
Red Belt
2

Comments:
  • This is the best route. We do this as well. I should have asked the Systems Admins before investing time into finding an uninstall method. Thank you! - J.R. Colby 11 years ago
Posted by: dugullett 11 years ago
Red Belt
1

Create a CMD file with something like this...

"install.exe" /quiet

reg.exe ADD HKLM\SOFTWARE\JavaSoft\Java Update\Policy /v EnableJavaUpdate /t REG_DWORD /d 0 /f

Zip your install and your CMD file together. Upload as an app for post install. In your command line call the name of your CMD file. 


Comments:
  • What do you mean in my command line? In my command line for my Java install? Can you give me an example of how I would call my CMD file?

    Thank you for the reply by the way! - J.R. Colby 11 years ago
  • You mentioned post install so I'm assuming you mean the K2000? After you zip your files add "a new application". Upload your zip file under "Upload File". In the "Command Line" enter "call name_of_file.cmd" (w/o the quotes). - dugullett 11 years ago
    • Also this might help you understand post installs a little more.

      https://kace.webex.com/kace/lsr.php?AT=pb&SP=TC&rID=65440217&rKey=d6f29f0fc574f628&act=pb - dugullett 11 years ago
  • Hey.....thank you so much. Yes, I am new to the K2000. It is strange using commands in on the files I upload. I am not quite sure of all the syntax or commands as it is taking me a little bit of getting used to. I have only been messing with it for 2 weeks, but I have a fair grasp of the concepts. Thanks again for the help and the link!! - J.R. Colby 11 years ago
    • This helps a lot if needed.

      http://www.kace.com/support/resources/kb/article/KACE-Kontinuing-Education-K1000-and-K2000-Recordings - dugullett 11 years ago
  • Yeah I have watched TONS of these already. Very helpful indeed!! - J.R. Colby 11 years ago
Posted by: dandirk 11 years ago
Third Degree Green Belt
1

Another option is to uninstall the update app after install of exe, it is a seperate msi included with the exe.


Comments:
  • How do I go about extracting the .msi from the executable? Do you know what the .msi is called?

    Thanks for the reply! - J.R. Colby 11 years ago
  • If you look into HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall... All the sub keys are entries for software that has been installed. You will find your java, but you will also find the java updater. Here you can find uninstall commands, locations of installer files etc.

    For the current version of java updater (2.1.9.0) the product code is: {4A03706F-666A-4037-7777-5F2748764D10}

    To uninstall just run (after install) msiexec.exe /x{4A03706F-666A-4037-7777-5F2748764D10} \qn

    We do it this way because it just seems the easiest, and are sure that auto-updater will not run cause it is uninstalled:) - dandirk 11 years ago
Posted by: jagadeish 11 years ago
Red Belt
1

Create deployment.properties file with the following entries

#deployment.properties
deployment.javaws.autodownload=NEVER

and keep it in <UserProfile>\Application Data\Sun\Java\Deployment\ folder..

You  can deliver this file to every user profile using Active Setup


Comments:
  • :) "This is for the person who clicked down arrow for this post :) others can simply ignore this comment"

    Once you install JRE
    Go to Control Panel-> Double Click "Java" Icon
    Go to Advanced Tab
    and then Go To "JRE Auto Download" Section.. What are you seeing there :)) - jagadeish 11 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ