Find Process ID of windows process running on a particular port and then kill the process

With thanks to:


  • List the processes running on ports
    • netstat -a -o -n
  • kill the task
    • taskkill /F /PID <pid>

Change Jenkins Timezone

To see what time zone your jenkins is uning, in your browser navigate to:




To change the jenkins timezone, in the Jenkins base directory, edit jenkins.xml

change this line:

<arguments>-Xrs -Xmx256m -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar “%BASE%\jenkins.war” –httpPort=8080</arguments>

to this:

<arguments>-Xrs -Xmx256m -Duser.timezone=”Europe/London” -Dhudson.lifecycle=hudson.lifecycle.WindowsServiceLifecycle -jar “%BASE%\jenkins.war” –httpPort=8080</arguments>

Restart that bad boy.