If you need to uninstall LeanSentry on your server, we recommend using the add/remove programs dialog and uninstalling the "LeanSentry Monitoring service" and "LeanSentry Agent service" items.
To uninstall LeanSentry services manually
If for some reason, you are unable to uninstall the LeanSentry services using the regular add/remove programs approach, you can also manually remove them using the commands below. However, this option should almost never be necessary so please always use the regular uninstallation process first.
(Note: you must run all commands below from an elevated command prompt started with the "As Administrator" option)
REM Stop services
sc stop sentinelrecordingsvc
sc stop sentinelagentsvc
REM Delete services
sc delete sentinelrecordingsvc
sc delete sentinelagentsvc
REM Delete service files
rmdir /s/q c:\leanserver
REM Delete installer files
rmdir /s/q %programdata%\leanserver
REM Delete user accounts
net user leansentryagent /delete
net user lss /delete
REM Delete add/remove programs entries
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{11533B52-131F-4E0A-A565-EB6468EF6FE7}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B1B43386-B455-4A34-8637-1D4FF695A697}" /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{B1B43386-B455-4A34-8637-1D4FF695A697}" /f
If you experience any difficulties, please contact support.
Comments
0 comments
Please sign in to leave a comment.