Follow the instructions to remove services like Solr, Sitecore running services, and any other services from Windows.
To remove Solr services from a Windows environment, you'll need to follow a series of steps to ensure a clean uninstallation. First, stop the Solr service by opening the Command Prompt as an administrator and executing the command `sc stop solr`, replacing "solr" with the actual name of your Solr service if it differs. Next, you can disable the service by running `sc delete solr`. After stopping and deleting the service, navigate to the installation directory (typically found in `C:\solr` or wherever you installed Solr) and manually delete the folder to remove all files associated with the Solr instance. Finally, check the Windows Registry for any leftover entries by opening the Registry Editor (regedit) and searching for "Solr" or related keys to ensure there are no remnants. Once you’ve completed these steps, restart your computer to finalize the removal process. This will ensure that Solr services are fully uninstalled from your Windows system.
Download the NSSM tool from google.
Open the below folder.
Copy the full path like this.
Open the Command prompt in admin mode and navigate to the folder mentioned earlier.
Copy the Name of the service that you want to remove from the services.
Give the following command like “nssm remove” after that put the service name that you want to remove(which is copied from the Servies) followed by space.
Here it will ask for confirmation, click on “Yes”.
It will remove the service and give a message like below.
“Learning never exhausts the mind.”
No comments:
Post a Comment