Windows7 modify the "executable file path" of the service

1. Open "services.msc", select the service whose "executable file path" needs to be modified, and right-click "Properties" to get the "service name" of the service. The following is an example, as shown below:


2. Run "regedit" to open the registry, search for "SQLWriter" in "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services", click "SQLWriter" to maximize the registry window, and search for "ImagePath (if not, if not, Then create a new one (right click on the blank space -> "New" -> "String value(s) -> rename it to "ImagePath")), right click on "ImagePath" -> "Modify" -> Change "Value The address path in "Data (v)" is enough. As shown in the figure below:


Guess you like

Origin blog.csdn.net/youarenotme/article/details/80218055