Wednesday, September 29, 2010

Delete Windows Service Using DOS

Use command prompt and delete a service using following command:

sc delete < SERVICE name>

To Create

sc create

Note:
If you have space in the file path you need to use quotation marks ("). For example:
sc create "MySQL" binpath= "C:\Program Files\MySQL\MySQL Server 5.1\bin\mysqld.exe"

No comments:

Post a Comment