茫茫網海中的冷日 - 對這文章發表回應
茫茫網海中的冷日
         
茫茫網海中的冷日
發生過的事,不可能遺忘,只是想不起來而已!
 恭喜您是本站第 1672217 位訪客!  登入  | 註冊
主選單

Google 自訂搜尋

Goole 廣告

隨機相片
IMG_60D_00007.jpg

授權條款

使用者登入
使用者名稱:

密碼:


忘了密碼?

現在就註冊!

對這文章發表回應

發表限制: 非會員 可以發表

發表者: 冷日 發表時間: 2017/6/27 5:34:56
Rename windows service

Is there a way to rename a windows service? Not the display name, mind you, the actual name. I can't seem to edit the value in enum\root to be what I want, and there ought to be an easier way, I just can't find it!



This is nothing I ever would recommend doing
This is what I did

open regedit
navigate to HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
Look at the keys in the treestructure inside the left pane and select the service you would like to rename
Rename the key using the Rename entry in the Context-Menu
If there is a subkey named enum delete it. It will get recreated the next time the service starts.
You might want to change the Subkey DisplayName according to the new service name
Reboot the machine for changes to take effect
Pray it did not screw things up



Use SC.exe Create to create a new service in Windows with the paramaters that you want. Then use SC.exe Delete to delete the old service.

SC is a command line program built in to Windows that is used for communicating with the Service Control Manager and services.
shareimprove this answer

原文出處:Rename windows service - Server Fault
內容圖示
url email imgsrc image code quote
樣本
bold italic underline linethrough   












 [詳情...]
validation picture

注意事項:
預覽不需輸入認證碼,僅真正發送文章時才會檢查驗證碼。
認證碼有效期10分鐘,若輸入資料超過10分鐘,請您備份內容後,重新整理本頁並貼回您的內容,再輸入驗證碼送出。

選項

Powered by XOOPS 2.0 © 2001-2008 The XOOPS Project|