Updgrade 2.4 to 2.5 on Windows 10 machine

No, it’s a supported plattform. But update process is different.

There a several ways to achieve this:

Run PowerShell as an administrator

cd C:\openHAB2

. .\runtime\bin\update.ps1 Update-openHAB -OHVersion 2.5.0

.

OR:

Start commandline (as administrator)

cd C:\openHAB2\runtime\bin\

update.bat 2.5.0

.

OR:

Do it manually (not recommended):

https://www.openhab.org/v2.4/docs/installation/windows.html#updating-the-openhab-runtime

  1. Stop the openHAB process if it is currently running.
  2. Backup openHAB as described above.
  3. Delete the following files and folders from your existing install:
  • userdata\etc\all.policy
  • userdata\etc\branding.properties
  • userdata\etc\branding-ssh.properties
  • userdata\etc\config.properties
  • userdata\etc\custom.properties
  • userdata\etc\custom.system.properties
  • userdata\etc\distribution.info
  • userdata\etc\jre.properties
  • userdata\etc\org.openhab.addons.cfg
  • userdata\etc\org.ops4j.pax.url.mvn.cfg
  • userdata\etc\overrides.properties
  • userdata\etc\profile.cfg
  • userdata\etc\startup.properties
  • userdata\etc\system.properties
  • userdata\etc\version.properties
  • Any file in userdata\etc that starts with org.apache.karaf
  • The userdata\cache folder
  • The userdata\tmp folder
  • The runtime folder
  1. Copy and paste the contents of the zip file over your existing install, when prompted do not overwrite existing files