About
Careers
Support
Partners
Community
Contact
Product
Overview
IT Discovery
IT Inventory
IT Analytics
Features
Integrations
Use Cases
IT Asset Management
Cybersecurity
Active Directory Audit
Installing Software & Patches
Automated IT Inventory
Pricing
Resources
Support Knowledge Base
Videos
Testimonials
Vulnerability Updates
Patch Tuesday
Blog
Free Download
Lansweeper
»
Report Questions
»
Report service custon windows
Active Topics
Search
Join Now
Login
Notification
Error
OK
Report service custon windows
Posted:
Wednesday, January 20, 2021 1:03:09 PM(UTC)
diogo
Member
Original Poster
Posts: 2
0
Like
This issue has been solved!
Click here to view the solution
Dear,
I would like to create a report with the status of a specific windows service, for example:
service: servicexxx status: running or stop startmode: enable, disable
#1
Brandon
Member
Posts: 90
posted:
1/20/2021 4:09:57 PM(UTC)
This should work:
Quote:
Select Top 1000000 tsysOS.Image As icon,
tblAssets.AssetID,
tblAssets.AssetName,
tblServicesUni.Name As Service,
tblServices.Started,
tblServiceStartMode.StartMode
From tblAssets
Inner Join tblServices On tblAssets.AssetID = tblServices.AssetID
Inner Join tblServicesUni On tblServices.ServiceuniqueID =
tblServicesUni.ServiceuniqueID
Inner Join tblAssetCustom On tblAssets.AssetID = tblAssetCustom.AssetID
Inner Join tsysOS On tblAssets.OScode = tsysOS.OScode
Left Join tsysIPLocations On tsysIPLocations.StartIP <= tblAssets.IPNumeric
And tsysIPLocations.EndIP >= tblAssets.IPNumeric
Inner Join tblServiceStartMode On tblServiceStartMode.StartID =
tblServices.StartID
Where tblServicesUni.Name = 'wscsvc' And tblAssetCustom.State = 1
Order By tblAssets.AssetName
The only line that you need to change is the name of the service in the line Where tblServicesUni.Name = 'wscsvc'
User Profile
View All Posts by User
View helpful posts
Active Discussions
LSAgent Rescan Asset
by
marck1024
Last post:
Yesterday
at 4:11:53 PM(UTC)
Network Monitoring - Alert Host/Service Down
by
jhartley@alcona-county.net
Last post:
2/27/2021 2:52:38 PM(UTC)
Allowing a role to create asset groups
by
mh6543
Last post:
2/26/2021 10:00:40 PM(UTC)
Export LsAgent Assets
by
steveb
Last post:
2/26/2021 7:26:32 PM(UTC)
Asset Uptime "Asset on total"
by
Andy.S
Last post:
2/26/2021 3:07:35 PM(UTC)
Scanning for Static Routes?
by
ChrisParr
Last post:
2/26/2021 12:43:28 PM(UTC)
lansweeperuser sql database permissions
by
David K.
Last post:
2/25/2021 11:54:38 PM(UTC)
Scanning certificates
by
Vincent Pollock
Last post:
2/25/2021 8:35:11 PM(UTC)