Friday 18 October 2024

How to change windows service name after creating it

 

How to change windows service name after creating it

 

Do the following:

  1. Stop the service. You will probably confuse the service control manager if you do this on a running service. (You may confuse it anyhow, this is very hacky.)
  2. Open regedit.exe (Registry Editor).
  3. Navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services and find the subkey with your service's name.
  4. Right-click the key you found in step #3, and select Rename. Enter the new name for the service.
  5. Restart the computer. Services.exe, the process that hosts the service control manager, won't see the change unless you do; attempts to start the renamed process (or otherwise interact with it at all, actually) will fail.

 

No comments:

Post a Comment

Note: only a member of this blog may post a comment.

Blog Archive