# Installing/Upgrading Jenkins on windows 10 x64 machine

**URL:** <https://community.jenkins.io/t/installing-upgrading-jenkins-on-windows-10-x64-machine/14935>\
**Category:** Ask a question\
**Created:** [May 8, 2024, 7:39am UTC](https://community.jenkins.io/t/installing-upgrading-jenkins-on-windows-10-x64-machine/14935 "2024-05-08T07:39:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![metadata](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/metadata/32/8134_2.png) [@metadata](https://community.jenkins.io/u/metadata)\
**Post date:** [May 8, 2024, 7:39am UTC](https://community.jenkins.io/t/installing-upgrading-jenkins-on-windows-10-x64-machine/14935/1 "2024-05-08T07:39:52Z")

</div>

Hi,

I am trying to install and upgrade Jenking on Windows 10 x64 VM.  
When I am installing/upgrading in GUI its working fine. But when I try to run this is command prompt silently its getting stuck at start service(I have required permission on machine).

Command line I am trying is  
C:\Users\Admin\Downloads\jenkins.msi ALLUSERS=1 ADDLOCAL=StartService,UninstallService,Complete,FirewallException INSTALLDIR=“c:\temp\t 1” Port=8080 JAVA\_HOME=“C:\Program Files\Zulu\zulu-21\” /qb

Can anyone help me with this?

Jave version- Azul JDK 21.32.17  
Old Jenkins version-2.255.4261  
Latest Jenkins-2.255.4403

---

<div class="post-metadata">

**Author:** ![poddingue](https://dub1.discourse-cdn.com/flex013/user_avatar/community.jenkins.io/poddingue/32/985_2.png) [@poddingue](https://community.jenkins.io/u/poddingue)\
**Post date:** [May 13, 2024, 5:54pm UTC](https://community.jenkins.io/t/installing-upgrading-jenkins-on-windows-10-x64-machine/14935/2 "2024-05-13T17:54:39Z")

</div>

Hello and welcome to this community, @metadata. 👋

The command you’re using seems to be correct (at least for my Linux-user eyes 🤷) for a silent installation of Jenkins on Windows.  
I’ve never tried it, I do prefer Docker. 🤷

There could be a few reasons why the service is not starting nonetheless:

1. Make sure that the `JAVA_HOME` path is correct and that it points to the correct location of your Java installation. Also, make sure that the path does not contain any spaces (🙄). If it does, you might need to use the short path name (8.3 filename) for `JAVA_HOME`.
2. Check that the port `8080` is available and not being used by another service.
3. The user that the Jenkins service runs under needs to have the correct permissions to start services. If you’re running the command as a user without these permissions, the service might not start.
4. Check that your Windows Firewall settings are not blocking Jenkins.
5. Check the Jenkins log files for any error messages. The log files are typically located in the `%JENKINS_HOME%/logs` directory.

If you’re still having issues, you might want to try installing Jenkins manually to see if you get any error messages. You can also try running the command without the `/qb` switch to see if you get any error messages.

`C:\Users\Admin\Downloads\jenkins.msi ALLUSERS=1 ADDLOCAL=StartService,UninstallService,Complete,FirewallException INSTALLDIR="c:\temp\t 1" Port=8080 JAVA_HOME="C:\Progra~1\Zulu\zulu-21\" /qb`
