Change Executable Path Of Windows Services

Sometimes installation can screw up the executable path of a Windows service. The only way to change it would be to go and modify the registry. Open the registry editor by typing “regedit” in START > RUN.

Then go to

  • HKEY_LOCAL_MACHINE
  • SYSTEM
  • CurrentControlSet
  • Services
  • Service_Name
Related Posts Plugin for WordPress, Blogger...

27 comments

  1. I hope I can use this technique to change the path to executable for sqlserver service which is down due to a folder that is missing;
    instead of mssql.1 now i see only mssql.2
    In order to start the process I need change the service name pointer to mssql.2 or change the folder name to mssql.1.

    Which one do you suggest?

  2. Thanks – exactly what I needed to fix several services in registry. Windows Update was failing and Microsoft site didn’t help.

  3. Windows Installer kept having a problem and looking for msiexec on my backup drive. I changed the service from @SystemRoot%\system32\msiexec /V to c:\windows\system32\msiexec /V and voila, no installer problems.
    Thanks for the clue on where to try things.

  4. Great post one small comment the Service_name is the real name not the display name shown in the services.msc. Example wanted the “Kaspersky Internet Security Service” it is not listed in teh registry as that but by it’s short name “AVP”. Find the name by double clicking on the service.

Leave a Reply

Your email address will not be published. Required fields are marked *