mirror of
https://github.com/amidaware/tacticalrmm.git
synced 2026-04-26 15:05:57 +03:00
[GH-ISSUE #1278] Windows Service Check - return wrong status when "Restart Service if it's stopped" got ticked #2739
Labels
No labels
In Process
bug
bug
dev-triage
documentation
duplicate
enhancement
fixed
good first issue
help wanted
integration
invalid
pull-request
question
requires agent update
security
ui tweak
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/tacticalrmm#2739
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @wangshiok on GitHub (Sep 9, 2022).
Original GitHub issue: https://github.com/amidaware/tacticalrmm/issues/1278
Server Info (please complete the following information):
Installation Method:
Agent Info (please complete the following information):
Describe the bug
If you tick the option of "Restart Service if it's stopped" when setup a Windows Service Check, the service check will always return as running even the service is actually stopped.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Windows Service Check should return the true running status of a windows service
Screenshots
Additional context
The service I am checking comes with third party program, it links to an .exe and .exe.config file, if I just remove the exe so the service won't start, Check Service return with correct status, but if I just modify the exe.config file so the service won't start, Check Service return with wrong status - "RUNNING"
@silversword411 commented on GitHub (Sep 9, 2022):
Screenshots of service status in services list (mmc on agent) please.
@silversword411 commented on GitHub (Jan 9, 2024):
Not enough details to replicate. Closing