Submit a ticketCall us

Systems Monitoring for Dummies
Our new eBook will teach you the fundamentals and help you create monitors and alerts that are effective, meaningful, and actionable. Monitoring is more than a checkbox on your to-do list. This free eBook will give you practical advice to help you succeed in all aspects of monitoring – discovery, alerting, remediation, and troubleshooting. Don’t miss out on this indispensable resource for newbies, experienced IT pros, and everyone in between. Register Now.

Home > Success Center > Patch Manager > Computers deleted from the domain controller display in Patch Manager reports

Computers deleted from the domain controller display in Patch Manager reports

Table of contents

Updated: November 22, 2017

Overview

This article describes how to manually delete old computers through the database so they do not display in Patch Manager reports (such as Computer with Approved Update Percentage). 

Environment

All Patch Manager versions

Steps

Back up your Web Help Desk database before you perform this procedure.

 

Run the following query to select PCs from WSUS reports that are not managed computers. The third query (listed below) clears these results.

SELECT LOWER(fulldomainname) FROM_WSUS_fqdn_MISSING_IN_DEVICE
FROM [EminentWare].[dbo].[dt_wsus_computers] 
WHERE LOWER(fulldomainname) NOT IN(
SELECT LOWER(fqdn)
FROM [EminentWare].[dbo].[device] )

 

Run the following query to display computers in Patch Manager that are missing in the WSUS server. These computers may be removed from Managed Computers in the Patch Manager Console. See License count exceeded error in Patch Manager for details on how to remove these computers.

SELECT LOWER(fqdn) FROM_DEVICE_fqdn_MISSING_IN_WSUS
FROM [EminentWare].[dbo].[device] 
WHERE LOWER(fqdn) NOT IN(
SELECT LOWER(fulldomainname)
FROM [EminentWare].[dbo].[dt_wsus_computers])

 

Run the following query to delete all record from dt_wsus_computers that do not have corresponding computers in Managed Computers. You can also manually remove database rows using SQL Management Studio if you do not want to run this query. 

/* 
DELETE FROM [EminentWare].[dbo].[dt_wsus_computers] 
WHERE LOWER(fulldomainname) NOT IN(
SELECT LOWER(fqdn)
FROM [EminentWare].[dbo].[device] )
*/

 

 

 

Last modified

Tags

Classifications

Public