Modifying the “Path to executable” of a windows service

后端 未结 8 1651
终归单人心
终归单人心 2020-11-30 17:11

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

8条回答
  •  忘掉有多难
    2020-11-30 17:57

    It involves editing the registry, but service information can be found in HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services. Find the service you want to redirect, locate the ImagePath subkey and change that value.

提交回复
热议问题