Показаны сообщения с ярлыком Sccm. Показать все сообщения
Показаны сообщения с ярлыком Sccm. Показать все сообщения

22.5.14

Коллекция ПК определенной модели

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System     INNER JOIN SMS_G_System_COMPUTER_SYSTEM       ON SMS_G_System_COMPUTER_SYSTEM.ResourceID = SMS_R_System.ResourceId   WHERE  SMS_G_System_COMPUTER_SYSTEM.Model = "Ergo Ensis 211"

http://www.experts-exchange.com/OS/Microsoft_Operating_Systems/Server/Q_24934460.html

24.3.14

Как снять ограничение в коллекции sccm 2012 (maximum result value)

link

1. win+R
2. regedit
3. Разворачиваем ветку HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ConfigMgr10\AdminUI\QueryProcessors
4. добавляем значение dword "Valuelimit" и вбиваем в него 10000, максимально можно вбить 20000


Останавливаем службы SMS_EXECUTIVE и SMS_SITE_COMPONENT_MANAGER
Потом запускаем в том же порядке.




20.1.14

Запрос в sccm выводит все ноутбуки

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM_ENCLOSURE on SMS_G_System_SYSTEM_ENCLOSURE.ResourceID = SMS_R_System.ResourceId where
SMS_G_System_SYSTEM_ENCLOSURE.ChassisTypes in ( "8", "9", "10", "14" )

Описание значений
1 Other
2 Unknown
3 Desktop
4 Low Profile Desktop
5 Pizza Box
6 Mini Tower
7 Tower
8 Portable
9 Laptop
10 Notebook
11 Hand Held
12 Docking Station
13 All in One
14 Sub Notebook
15 Space-Saving
16 Lunch Box
17 Main System Chassis
18 Expansion Chassis
19 Sub Chassis
20 Bus Expansion Chassis
21 Peripheral Chassis
22 Storage Chassis
23 Rack Mount Chassis
24 Sealed-Case PC 

source

23.9.13

Silent uninstall Элемент управления Windows Live Mesh ActiveX

REM Uninstall Windows Live Mesh ActiveX-kontroll for eksterne tilkoblinger
MsiExec.exe /qn /norestart /X{09B7C7EB-3140-4B5E-842F-9C79A7137139}
REM Uninstall Uzak Baglant?lar Icin Windows Live Mesh ActiveX Denetimi
MsiExec.exe /qn /norestart /X{241E7104-937A-4366-AD57-8FDDDB003939}
REM Uninstall Control ActiveX Windows Live Mesh pentru conexiuni la distan?a
MsiExec.exe /qn /norestart /X{260E3D78-94E6-47EC-8E29-46301572BB1E}
REM Uninstall Windows Live Mesh ActiveX Control for Remote Connections
MsiExec.exe /qn /norestart /X{2902F983-B4C1-44BA-B85D-5C6D52E2C441}
REM Uninstall ActiveX-kontroll for fjarranslutningar for Windows Live Mesh
MsiExec.exe /qn /norestart /X{376D59B1-42D9-4FA2-B6CC-E346B6BE14F5}
REM Uninstall Windows Live Meshin etayhteyksien ActiveX-komponentti
MsiExec.exe /qn /norestart /X{4CF6F287-5121-483C-A5A2-07BDE19D8B4E}
REM Uninstall  Controle ActiveX Windows Live Mesh pour connexions a distance
MsiExec.exe /qn /norestart /X{55D003F4-9599-44BF-BA9E-95D060730DD3}
REM Uninstall Windows Live Mesh ActiveX-objekt til fjernforbindelser
MsiExec.exe /qn /norestart /X{57220148-3B2B-412A-A2E0-82B9DF423696}
REM Uninstall Елемент керування Windows Live Mesh ActiveX для віддалених підключень
MsiExec.exe /qn /norestart /X{6756D5CA-3E31-4308-9BF0-79DFD1AF196E}
REM Windows Live Mesh ActiveX-vezerlo tavoli kapcsolatokhoz
MsiExec.exe /qn /norestart /X{6E29C4F7-C2C2-4B18-A15C-E09B92065F15}
REM Uninstall Formant ActiveX programu Windows Live Mesh odpowiedzialny za obsluge polaczen zdalnych
MsiExec.exe /qn /norestart /X{B04A0E2F-1E4C-4E61-B18E-3B2BD6779CA7}
REM Uninstall ActiveX контрола на Windows Live Mesh за отдалечени връзки
MsiExec.exe /qn /norestart /X{B3BA4D1C-23EF-4859-9C11-1B2CCB7FADBB}
REM Uninstall ActiveX  Ovladaci prvek ActiveX platformy Windows Live Mesh pro vzdalena pripojeni
MsiExec.exe /qn /norestart /X{B6190387-0036-4BEB-8D74-A0AFC5F14706}
REM Uninstall Элемент управления Windows Live Mesh ActiveX для удаленных подключений
MsiExec.exe /qn /norestart /X{BCB0D6F7-7EAB-4009-A6F2-8E0E7F317773}
REM Uninstall Ovladaci prvok ActiveX programu Windows Live Mesh pre vzdialene pripojenia
MsiExec.exe /qn /norestart /X{C2FD7DB5-FE30-49B6-8A2F-C5652E053C31}
REM Uninstall Windows Live Mesh - ActiveX-besturingselement voor externe verbindingen
MsiExec.exe /qn /norestart /X{C32CE55C-12BA-4951-8797-0967FDEF556F}
REM Uninstall Windows Live Mesh ActiveX control for remote connections
MsiExec.exe /qn /norestart /X{C5398A89-516C-4DAF-BA07-EE7949090E56}
rem Элемент управления Windows Live Mesh ActiveX для удаленных подключений
MsiExec.exe /qn /norestart /x{A92DAB39-4E2C-4304-9AB6-BC44E68B55E2}

21.8.13

Запуск цикла обновления ПО с помощью командной строки на клиенте sccm

Trigger sofware update scan
WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000113}" /NOINTERACTIVE

Trigger software update deployment

WMIC /namespace:\\root\ccm path sms_client CALL TriggerSchedule "{00000000-0000-0000-0000-000000000108}" /NOINTERACTIVE


ScheduledMessageID
TargetEndPoint
{00000000-0000-0000-0000-000000000223}
{00000000-0000-0000-0000-000000000222}
{00000000-0000-0000-0000-000000000221}
{00000000-0000-0000-0000-000000000131}
{00000000-0000-0000-0000-000000000121}
{00000000-0000-0000-0000-000000000120}
{00000000-0000-0000-0000-000000000116}
{00000000-0000-0000-0000-000000000114}
{00000000-0000-0000-0000-000000000113}
{00000000-0000-0000-0000-000000000112}
{00000000-0000-0000-0000-000000000111}
{00000000-0000-0000-0000-000000000108}
{00000000-0000-0000-0000-000000000051}
{00000000-0000-0000-0000-000000000042}
{00000000-0000-0000-0000-000000000040}
{00000000-0000-0000-0000-000000000032}
{00000000-0000-0000-0000-000000000031}
{00000000-0000-0000-0000-000000000025}
{00000000-0000-0000-0000-000000000024}
{00000000-0000-0000-0000-000000000023}
{00000000-0000-0000-0000-000000000022}
{00000000-0000-0000-0000-000000000021}
{00000000-0000-0000-0000-000000000010}
{00000000-0000-0000-0000-000000000003}
{00000000-0000-0000-0000-000000000002}
{00000000-0000-0000-0000-000000000001}
direct:ExternalEventAgent
direct:EndpointProtectionAgent
direct:EndpointProtectionAgent
direct:pwrmgmt
direct:DCMAgent
direct:OOBMgmt
direct:StateMessageManager
direct:UpdateStore
direct:ScanAgent
direct:StateMessageManager
direct:StateMessageManager
direct:UpdatesDeploymentAgent
direct:CertificateMaintenanceEndpoint
direct:PolicyAgent_RequestAssignments
direct:PolicyAgent_Cleanup
direct:SrcUpdateMgr
direct:SWMTRReportGen
direct:LS_ScheduledCleanup
direct:LS_ScheduledCleanup
direct:LS_ScheduledCleanup
direct:PolicyAgent_PolicyEvaluator
direct:PolicyAgent_RequestAssignments
direct:InventoryAgent
direct:InventoryAgent
direct:InventoryAgent
direct:InventoryAgent
link
link2

19.7.13

Query collection for only Desktop machines Excluding servers sccm 2012

original link

select SMS_R_SYSTEM.ResourceID,SMS_R_SYSTEM.ResourceType,SMS_R_SYSTEM.Name,SMS_R_SYSTEM.SMSUniqueIdentifier,SMS_R_SYSTEM.ResourceDomainORWorkgroup,SMS_R_SYSTEM.Client from SMS_R_System inner join SMS_G_System_SYSTEM on SMS_G_System_SYSTEM.ResourceID = SMS_R_System.ResourceId inner join SMS_G_System_SYSTEM_ENCLOSURE on SMS_G_System_SYSTEM_ENCLOSURE.ResourceId = SMS_R_System.ResourceId where SMS_G_System_SYSTEM.SystemRole = "Workstation" and SMS_R_System.OperatingSystemNameandVersion not like "%Server%" and SMS_G_System_SYSTEM_ENCLOSURE.ChassisTypes not in ("8","9","10","14","13","17","15")

18.7.13

Публикация java 7 update 25 x32 SCCM 2012

Original link: http://tonyle.ca/blog/?p=33
http://www.ronnipedersen.com/2013/03/java-sccm-2012-detection-methods/

Подготовка
1. Скачиваем Java http://java.com/en/download/manual.jsp
2. Скачиваем ORCA.msi http://www.technipages.com/wp-content/uploads/2007/11/orca.Msi
3. Извлекаем MSI
5. Запускаем автономный (.exe) файл jre-7u25-windows-i586.exe, дальше ничего не запускаем.
6. Заходим  в папку:

версия x32
C:\Users\пользователь\AppData\LocalLow\Sun\Java\jre1.7.0_25
версия x64
C:\Users\пользователь\AppData\LocalLow\Sun\Java\jre1.7.0_25_x64

Создаем файл MST 
1. Запускаем ORCA
2. Открываем  MSI файл File>Open> jre1.7.0_25.msi
3. Далее Tramsform> New transform.
4. Вносим изменения  в таблицу Property.


Cвойство      ЭффектЗначение по умолчаниюПользовательское значение
AUTOUPDATECHECKоткл Auto Updates10
IEEXPLORERвкл. Java в Internet Explorer01
JAVAUPDATEоткл. Auto Updates10
JUоткл. Auto Updates10
MOZILLAвкл. Java плагин в других браузерах01
5. Генерируем transform file: Ttransform> Generate Transform
6. Называем jre1.7.0_25.mst и сохраняем файл  в папку к  jre1.7.0_25.msi

Публикация в SCCM 2012
Software Library>Applications>Create Application добавляем jre1.7.0_25.msi и публикуем