I have created a report for Firewall not disabled using this code:
CREATE VIEW dbo.web30repFirewallnotdisabled
AS
SELECT dbo.tblComputers.Computername, dbo.tblServices.Caption, dbo.tblServices.Started, dbo.tblServices.Startmode
FROM dbo.tblComputers INNER JOIN
dbo.tblServices ON dbo.tblComputers.Computername = dbo.tblServices.Computername
WHERE (dbo.tblServices.Caption = 'Windows Firewall/Internet Connection Sharing (ICS)') AND (dbo.tblServices.Startmode = 'Disabled')
GO
INSERT INTO [tsysreports] ([Reportquery],[Reporttitle]) VALUES ('web30repFirewallnotdisabled','Firewall Not Disabled')
Everything appears to be ok, by that I mean, when I open my Lansweeper webpage the report shows up ok on the digital dashboard, as set in the GUI interface.
I stopped the Lansweeper service, restarted it, logged onto a pc that I know has the firewall still enabled then checked the webpage to see if it reported the pc as not having the firewall disabled but the pc doesn't show.
Is there anything I may have missed in the code that would prevent the pc from showing?
Thank you in advance for any and all help 🙂