Modifying the “Path to executable” of a windows service
Name:
Modifying the “Path to executable” of a windows service
Submitted:
13 Apr 2016
Submitter:
www.yourforum.gr
Category:
Windows Tutorials
Views:
373
Rating:
0
Description:
I'd like to modify the path to my application, but doing so breaks it because the service still points to the old location.
By going to Administrative Tools > Services you can open a properties dialog and view the Path to executable, but there is no way to change it.
Is there any way a user can modify the service path without having to reinstall the application ?
Directions
It involves editing the registry, but service information can be found in
CODE
HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services.
Find the service you want to redirect, locate the ImagePath subkey and change that value.
Source :
http://stackoverflow.com/questions/7190480/modifying-the-path-to-executable-of-a-windows-service