Quick Fix: Unable to discover Windows Server 2008 R2 Print Servers with OpsMgr 2007

toolsignWhen using a System Center Operations Manager 2007 R2 server, after import the Management Pack for Windows 2008 Print Servers you may find that it’s only discovering Print Servers for Windows 2008 and not for Windows 2008 R2 servers.

So what’s going on?  Well there’s no Management Pack for Windows 2008 R2 Print servers as it’s only officially available for Windows 2008 Print servers (the non-R2 kind).  The reason is that the Windows Server 2008 Print Server MP pack version of Microsoft.Windows.Server.2008.PrintServerRole.Discovery uses this query to discover this role:

SELECT Name FROM Win32_ServerFeature WHERE Name = "Print Services"

This doesn’t work for R2 versions because the Print Server role name as per the Server Manager is "Print and Document Services"

Fortunately there’s an easy fix from our very own Kevin Holman.  He created an amended version of the Print Server Windows 2008 Management pack and offers it over on his blog below:

https://blogs.technet.com/b/kevinholman/archive/2010/11/10/how-to-monitor-print-services-on-server-2008-r2.aspx

His version supports the discovery of Windows 2008 R2 print servers by changing the query as follows:

SELECT Name FROM Win32_ServerFeature WHERE Name = "Print Services" OR Name = "Print and Document Services"

Hope this helps,

Zia Zaidi | Senior System Center Support Engineer

The App-V Team blog: https://blogs.technet.com/appv/
The WSUS Support Team blog: https://blogs.technet.com/sus/
The SCMDM Support Team blog: https://blogs.technet.com/mdm/
The ConfigMgr Support Team blog: https://blogs.technet.com/configurationmgr/
The SCOM 2007 Support Team blog: https://blogs.technet.com/operationsmgr/
The SCVMM Team blog: https://blogs.technet.com/scvmm/
The MED-V Team blog: https://blogs.technet.com/medv/
The DPM Team blog: https://blogs.technet.com/dpm/
The OOB Support Team blog: https://blogs.technet.com/oob/
The Opalis Team blog: https://blogs.technet.com/opalis
The Service Manager Team blog: http: https://blogs.technet.com/b/servicemanager
The AVIcode Team blog: http: https://blogs.technet.com/b/avicode
The System Center Essentials Team blog: http: https://blogs.technet.com/b/systemcenteressentials

clip_image001 clip_image002