Submit a ticketCall us

Training Class Getting Started with SolarWinds Backup - February 28

This course offers customers an introduction to SolarWinds Backup, focusing on configuring the backup technology, taking backups, data restoration and data security. It is a great primer and will get you up to speed quickly on SolarWinds Backup.
Register for class.

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