Mostrando entradas con la etiqueta SCCM. Mostrar todas las entradas
Mostrando entradas con la etiqueta SCCM. Mostrar todas las entradas

En SCCM encontrar maquinas sin datos en v_gs_Computer_System

Podes utilizar esta consulta para encontrar todas las PC que no tengan ningun dato en las vistas v_GS_*

select
R.Netbios_Name0,
R.*
from
v_R_System r
where
R.ResourceID not in (select
cs.resourceId
from
v_gs_computer_system cs)
Order by
R.Netbios_Name0

The ConfigMgr console could not connect to the ConfigMgr site database

Hoy repentinamente nos encontramos con que ninguna consola de SCCM se podia utilizar, obteniendo el error:

"The ConfigMgr console could not connect to the ConfigMgr site database. Verify that this computer has network connectivity to the SMS Provider computer and that your user account has Remote Activation permissions on both the ConfigMgr site server and SMS Provider computers. For more information, see "How to Configure DCOM Permissions for Configuration Manager Console Connections" in ConfigMgr Help"

Revisando el archivo de log SMSADMINUI.log obteniamos las siguientes lineas:

Error Code:
InvalidClass
\r\nSystem.Management.ManagementException\r\nInvalid class \r\n at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus
errorCode)
at
System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext()

at
Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsO
bject.d__0.MoveNext()\r\nManagementException details:
instance of __ExtendedStatus
{
Operation = "ExecQuery";
ParameterInfo = "SELECT * FROM SMS_Site WHERE ReportingSiteCode = ''"; ProviderName = "WinMgmt"; }; \r\n
[4][8/8/2008 1:09:29 PM] :Failure while loading required 'WQL' query engine, console cannot connect

Cause: The SMS provider WMI instance was missing



RESOLUCION:

Compilar smsprov.mof utilizando el comando:

mofcomp smsprov.mof

Este archivo se encuentra en C:\Program Files\Microsoft Configuration Manager\bin\i386

Saludos!