Skip to main content
    All apps
    Runtimes
    MSI
    Verified recipe

    Java JRE 17 (MSI) Silent Install Switches (Intune & SCCM)

    Silent install switches

    /quiet /norestart SPONSORS=0 AUTO_UPDATE=0

    Silent uninstall switches: /quiet /norestart

    Intune Win32 app settings

    Paste these into the Program and Detection rules steps when you add Java JRE 17 (MSI) as a Win32 app.

    Install command
    msiexec /i OpenJDK17U-jre_x64_windows.msi /quiet /norestart SPONSORS=0 AUTO_UPDATE=0
    Uninstall command
    msiexec /x {JRE_GUID} /quiet /norestart
    Detection rule (Registry)
    HKLM\SOFTWARE\JavaSoft\Java Runtime Environment
    • Device restart behavior: no restart required.

    SCCM / ConfigMgr deployment type

    Installation program
    msiexec /i OpenJDK17U-jre_x64_windows.msi /quiet /norestart SPONSORS=0 AUTO_UPDATE=0
    Uninstall program
    msiexec /x {JRE_GUID} /quiet /norestart

    Values in braces (for example a product GUID) depend on the exact version you deploy. Swap in the value from your installer, or let InstallMage read it for you.

    Deployment notes

    Use Eclipse Temurin (Adoptium) for enterprise. Disable sponsors and auto-update. LTS release.

    Windows Installer packages install silently with msiexec /i <file>.msi /qn (or /quiet) and uninstall with msiexec /x {ProductCode} /qn.

    Package Java JRE 17 (MSI) as .intunewin in under 3 minutes

    Drop in the Java JRE 17 (MSI) installer and InstallMage detects the switches, builds the MSI or .intunewin, and generates the install, uninstall and detection commands for you. Free plan, no credit card.

    FAQ

    What are the silent install switches for Java JRE 17 (MSI)?
    Java JRE 17 (MSI) installs silently with /quiet /norestart SPONSORS=0 AUTO_UPDATE=0 (it uses a MSI installer). Full command: msiexec /i OpenJDK17U-jre_x64_windows.msi /quiet /norestart SPONSORS=0 AUTO_UPDATE=0
    How do I silently uninstall Java JRE 17 (MSI)?
    Run: msiexec /x {JRE_GUID} /quiet /norestart
    What detection rule should I use for Java JRE 17 (MSI) in Intune?
    Use a registry detection rule. Registry key exists: HKLM\SOFTWARE\JavaSoft\Java Runtime Environment.
    How do I deploy Java JRE 17 (MSI) with Intune?
    Wrap the installer as a Win32 app (.intunewin), set the install and uninstall commands above, and add the detection rule. InstallMage can build the .intunewin and generate these commands from the Java JRE 17 (MSI) installer in under three minutes.

    More Runtimes silent install switches