Software & Apps Windows 51 51 people found this article helpful How to Delete a Service in Windows 7, Vista, or XP You may need to delete a service when fighting a malware attack By Mary Landesman Writer Mary Landesman is a former freelance contributor to Lifewire and a security expert. She was named as one of the women to watch in IT security. our editorial process LinkedIn Mary Landesman Updated January 14, 2020 Filograph / Getty Images Windows The Ultimate Laptop Buying Guide Tweet Share Email Malware often installs itself as a Windows service in order to load when Windows starts. This allows the malware to run and control designated functions without requiring user interaction. Sometimes, anti-virus software removes the malware but leaves the service settings behind. Whether you are cleaning up after an anti-virus removal or attempting to remove the malware manually, knowing how to delete a service can help. Instructions in this article apply to Windows 10, Windows 8, Windows 7, Windows Vista, and Windows XP. As of January 2020, Microsoft is no longer supporting Windows 7. We recommend upgrading to Windows 10 to continue receiving security updates and technical support. Delete the Service You Suspect Contains Malware The process of deleting a service that you suspect was used to infect your computer with malware is similar in all versions of Windows. Open the Control Panel. In Windows 10 or Windows 8, select System and Security > Administrative Tools > Services. Windows 7 and Vista users select Systems and Maintenance > Administrative Tools > Services. XP users select Performance and Maintenance > Administrative Tools > Services. Locate the service you want to delete, right-click the service name, and choose Properties. The Properties dialog box for that service will open. If the service is still running, select Stop. Highlight the service name, right-click, and select Copy. This copies the service name to the clipboard. Click OK to close the Properties dialog. Open a command prompt as an administrator. Type sc delete. Then, right-click and choose Paste to enter the service name. If the service name contains spaces, you need to place quotations marks around the name. Examples without and with a space in the name are: sc delete SERVICENAMEsc delete "SERVICE NAME" Press Enter to execute the command and delete the service. To exit the command prompt, type exit and press Enter.