[windows] Modifying the "Path to executable" of a windows service

You can delete the service:

sc delete ServiceName

Then recreate the service.