Manually uninstall Windows Services

Source: Internet
Author: User

Use the Windows command line tool SC. The famous SC. For detailed usage, enter SC in cmd to display the usage. Hey, it's easy to use!
In addition, MySQL service registration is actually very simple, that is, simply

 
D: \ mysql \ bin> mysqld-installservice successfully installed. D: \ mysql \ bin> mysqld-removeservice successfully removed.

MySQL has several service modes. For more information, see MySQL service information. It's easy to use SC in another way.

 
C: \ Documents and Settings \ zhangxudong> SC Delete MySQL [SC] deleteservice successful

 

In addition, I will summarize the recently learned Windows commands (bold and highlighted ):

C: \ Documents and Settings \ zhangxudong> Tasklist // Similar to the Linux PSC: \ Documents ents and Settings \ zhangxudong> Taskkill /? // Similar to killtaskkill in Linux [/S system [/u username [/P [Password] {[/FI filter] [/PID processid |/IM imagename]} [/T] [/F] Description: use this tool to terminate a task by process ID (PID) or image name. Parameter List:/S system specifies the remote system to connect. /U [domain \] User specifies the user context in which the command should be executed. /P [Password] specifies a password for the provided user context. If this parameter is ignored, a prompt is displayed. /FI filter apply filter to select a group of tasks. "*" Is allowed "*". For example, the image name EQ Acme */PID processid specifies the PID of the process to be terminated. Use tasklist to obtain the PID. /IM imagename specifies the image name of the process to be terminated. The wildcard '*' can be used to specify the names of all tasks or images. /T terminate the specified process and its sub-processes. /F specifies to force terminate the process. /? Displays help messages. Filter: Filter Name valid operator valid value ------------- --------------------------------- status EQ, ne running | not responding | unknown imagename EQ, ne image name pid eq, NE, GT, LT, GE, le PID value: Session EQ, NE, GT, LT, GE, and Le session number. Cputime EQ, NE, GT, LT, GE, le CPU time, format: hh: mm: Ss. Hh-hour, mm-minute, SS-second memusage EQ, NE, GT, LT, GE, le memory usage, unit: KB username EQ, ne username, the format is [domain \] user modules EQ, ne DLL name services EQ, ne service name windowtitle EQ, ne window Title Description ---- 1) only when the filter is applied, /IM switching can use the wildcard '*'. 2) the remote process must always be forcibly terminated (/F. 3) when a remote machine is specified, the "windowtitle" and "status" filters are not supported. For example: taskkill/IM notepad.exe taskkill/PID 1230/PID 1241/PID 1253/T taskkill/f/IM cmd.exe/T taskkill/f/fi "PID Ge 1000"/fi "windowtitle ne untitle * "taskkill/f/fi" username EQ nt authority \ System "/IM notepad.exe taskkill/S system/u domain \ Username/fi" username ne Nt * "/IM * taskkill/ s system/u username/P password/fi "imagename EQ note *" C: \ Documents and Settings \ zhangxudong>Tskill // A simple killtskill processid | processname [/Server: servername] [/ID: sessionid |/A] [/V] process ID of the process whose processid is to end. The name of the process whose processname is to end. /Server: the server whose servername contains processid (the default value is the current value ). When using the process name and/server, you must specify/ID or/A/ID: sessionid to end the process running in the specified session. /A ends the processes running in all sessions. /V displays the information of the operation being executed. C: \ Documents and Settings \ zhangxudong> Drwtsn32 // Win32 Program Dr. Watson, check dump information c: \ Documents and Settings \ zhangxudong> Iexpress // Windows self-extracting program creation tool // two other useful commands Where, find, whoami 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.