Обновлено 05.03.2019
Добрый день! Уважаемые читатели и гости IT блога Pyatilistnik.org. Продолжаю наполнять свой ресурс полезными заметками про SCCM. В прошлый раз мы разобрали установку System Center Configuration Manager 2012 R2 и все настроили. Для управления данным комплексом не нужно постоянно заходить на сам сервер по RDP, я такое наблюдал неоднократно у многих коллег. Для работы с SCCM есть отдельная консоль управления, которая устанавливается отдельно. Ниже мы как раз разберем методы, позволяющие вам ее установить на свою рабочую станцию, например с Windows 10. Благодаря этому вы сэкономите ресурсы сервера, и ускорите свою работу.
Что такое консоль Configuration Manager
Консоль Configuration Manager — это небольшая утилита, в виде толстого клиента для управления System Center Configuration Manager. Устанавливается на любое поддерживаемое Windows устройство.
Методы установки консоли SCCM
Существует два метода позволяющие вам получить данную консоль:
- С установочного диска (буква диска:SMSSETUPBINI386consolesetup.exe)
- Из дистрибутива расположенного на сервере (C:Program FilesMicrosoft Configuration ManagertoolsConsoleSetup.exe)
Но если у вас нет по каким-то причинам дистрибутива Console Configuration Management, то можете его скачать у меня, думаю Microsoft на меня не обидится
Установка консоли управления SCCM через графический мастер
Рекомендуется запускать установку консоли Configuration Manager с сервера сайта, а не с установочного носителя System Center Configuration Manager. При установке сервера сайта во вложенную папку ToolsConsoleSetup копируются установочные файлы консоли Configuration Manager и поддерживаемые языковые пакеты для сайта. При установке консоли Configuration Manager с установочного носителя всегда устанавливается англоязычная версия. Это происходит даже в том случае, если сервер сайта поддерживает различные языки или в ОС на целевом компьютере выбран другой язык. Вы можете скопировать папку ConsoleSetup в другое расположение для запуска. (https://docs.microsoft.com/ru-ru/sccm/core/servers/deploy/install/install-consoles)
Не важно какой метод получения дистрибутива вы выбрали, дальнейший мастер будет одинаков. Я для примера буду производить инсталляцию со смонтированного ISO образа с основным дистрибутивом. Откройте мастер установки. В появившемся окне выберите пункт «Установить консоль Configuration Manager».
По сути у вас запуститься файл SMSSETUPBINI386consolesetup.exe. Если не хотите проверять необходимые требования перед установкой, то можете просто запускать adminconsole.msi. На первом шаге просто нажимаем далее. Указываем имя сервера сайта, к которому должна подключаться консоль Configuration Manager при открытии, в моем примере, это sccm.root.pyatilistnik.org.
На следующем окне мастер установки предложит вам указать папку установки, по умолчанию, это C:Program Files (x86)Microsoft Configuration ManagerAdminConsole, но никто вам не запрещает изменить данный путь.
Нажимаем кнопку «Установить»
Через несколько мгновений у вас будет стоять консоль управления вашим SCCM. Кстати напоминаю, что каждая консоль может управлять только одним (первичным) сайтом.
Установка консоли Configuration Manager из командной строки
Данный метод, хорош тем, что вы можете выложить ваш дистрибутив в сетевую шару и написать небольшой батник, который будет устанавливать консоль Configuration Manager в тихом режиме. Открываем cmd консоль с правами администратора и переходим в папку с дистрибутивом.
Вам могут пригодится вот такие ключи:
- /q — данный ключ позволяет автоматически установить Configuration Manager. Если вы его используете, то вам в обязательном порядке необходимо использовать ключи EnableSQM, TargetDirи DefaultSiteServerName
- /uninstall — данный параметр производит удаление консоли Configuration Manager.
- LangPackDir — ключ указывает путь до папки, которая содержит языковой пакет. Через загрузчик программы установки у вас есть возможность скачать файлы языковых пакетов. Если вы его не задали в команде, то будет произведен поиск языковых пакетов в текущем каталоге, откуда запускается ConsoleSetup.exe. Если папка с языковыми пакетами не будет обнаружена , то будет установлена английская версия.
- TargetDir — данный параметр позволяет задать каталог, в который вы будите производить установку вашей консоли управления SCCM
- EnableSQM — тут вы указываете, будите ли вы участвовать в программе по улучшению качества. Если хотите присоединиться к ней, то укажите 1, если хотите отказаться, то 0. Напоминаю, что с версии Configuration Manager 1802 и выше компонент CEIP убрали из продукта.
- DefaultSiteServerName — параметр задает полное доменное имя сервера сайта, все так же как и при инсталляции через графический мастер.
Пример команды для инсталляции:
ConsoleSetup.exe /q TargetDir=»C:Program FilesConfigMgr Console» DefaultSiteServerName=sccm.root.pyatilistnik.org EnableSQM=1 LangPackDir=C:share
Пример удаления:
ConsoleSetup.exe /uninstall
Можно создать вот такой простой батник, который сделает все автоматически
taskkill /F /IM Microsoft.ConfigurationManagement.exe /T
%~dp0consolesetup.exe /q TargetDir=»%ProgramFiles%ConfigMgr» EnableSQM=0 DefaultSiteServerName=sccm.root.pyatilistnik.org
Как видите все прекрасно устанавливается. НА этом у меня все, если остались вопросы, то жду их в комментариях, а с вами был Иван Семин, автор и создатель IT блога Pyatilistnik.org.
- Remove From My Forums
-
Вопрос
-
Hello
I want to install the SCCM Console On my windows 7 32bit. I have try to install SCCM Console Using the SSCM package but I can not install.
I think It has the SCCM Console Package for installing but I can not find on the internet.
Anyone know, please te too.
Ответы
-
-
Предложено в качестве ответа
27 января 2011 г. 6:21
-
Помечено в качестве ответа
Eric Zhang CHN
4 февраля 2011 г. 8:18
-
Предложено в качестве ответа
-
if you look at the configuration manager setup.log file (generated when you start the console installation on the c: drive), then you might see that setup.ini cannot be found. In order to fix that problem you can:
1) Create a batch file using ¨dp0 when specifying the setup.ini file
2) Place the setup.ini file on a network share and use that as a reference point
3) Install the administrator console using a task sequence with a little help from the MDT toolkit. — decribed in this post —
http://blog.coretech.dk/confmgr07/install-the-configuration-manager-administrator-console/
Kent Agerlund | My blogs: http://blog.coretech.dk/author/kea/ and http://scug.dk/ | Twitter @Agerlund | Linkedin: /kentagerlund
-
Предложено в качестве ответа
Anoop C NairMVP
27 января 2011 г. 6:46 -
Помечено в качестве ответа
Eric Zhang CHN
4 февраля 2011 г. 8:18
-
Предложено в качестве ответа
This post covers SCCM console deployment using Configuration Manager. Using the steps in this post, you can use Configuration Manager to package and remotely deploy the SCCM console to Windows devices.
When you install the latest current branch update for Configuration Manager, a console upgrade is mandatory. Not just on the site server but also on all the devices installed with SCCM console. It is always recommended that you use the latest version of Configuration Manager console to connect to SCCM site.
For instance, you upgrade your SCCM current branch to version 2211. Now you want your IT team to install the latest version of console. The questions if where do you get the latest version of SCCM console setup? I will answer that in the next section, keep reading.
Along with the SCCM console upgrade, you also need to ensure the console extensions are upgraded too. With SCCM Community Hub deprecation announced, installing and managing the console extensions will be a bit tedious for admins.
Talking about the Configuration Manager console installation methods, there are alternate methods to installing the console. Refer to the below guides to learn the different methods of installing the Configuration Manager console.
- Remotely Configuration Manager console on Windows 10
- 3 Best methods to install SCCM console on Windows 11
SCCM admins use Configuration Manager console to manage the ConfigMgr environment. Using Configuration Manager console, you can either connect to a central administration site or a primary site. However, you cannot connect a Configuration Manager console to a secondary site and that’s a limitation defined by Microsoft.
While you are installing SCCM, you get the option to install the console on the same server. But what if you want to deploy the SCCM console to multiple computers? That can be accomplished using SCCM again. Yes, you can use Configuration Manager to deploy SCCM console and I will show you how to do that.
Supported OS versions for Configuration Manager consoles
Configuration Manager supports the installation of the console on the following Windows OS versions:
- Windows Server 2022: Standard, Datacenter (starting in version 2107)
- Windows Server 2019: Standard, Datacenter
- Windows Server 2016: Standard, Datacenter
- Windows Server 2012 R2 (x64): Standard, Datacenter
- Windows Server 2012 (x64): Standard, Datacenter
- Windows 11 (x64): Pro, Enterprise
- Windows 10 (x86, x64): Pro, Enterprise
- Windows 8.1 (x86, x64): Professional, Enterprise
Windows 7 OS is not supported for installing the Configuration Manager console.
Location of SCCM Console Setup Files
On the SCCM server the console setup files are available at two locations:
- On Configuration Manager Site server: <ConfigMgr site server installation path>ToolsConsoleSetup
- SCCM installation media: <Configuration Manager installation media>SMSSETUPBINI386
At this point, I want to highlight that don’t think of installing the console using the CD.Latest source files. As per Microsoft, it’s an unsupported scenario, and therefore it may cause problems with the console installation. Furthermore, you should not run the AdminConsole.msi as that doesn’t install the console correctly. Don’t try that because it doesn’t install the console.
There is a slight change the way you deploy Configuration Manager console in SCCM 1902. In earlier versions of SCCM, we only used consolesetup.exe to package and deploy the console. However, starting with SCCM version 1902, you need all the below files to package and deploy the console properly.
- ConsoleSetup.exe
- AdminConsole.msi
- ConfigMgr.AC_Extension.i386.cab
- ConfigMgr.AC_Extension.amd64.cab
Create a folder within sources folder. Name it as console or anything relevant. Copy all the four console setup files (from Tools folder) into the new folder that you created. We will use this folder as content location while configuring the application.
Note: Starting in ConfigMgr 2107, the console requires Microsoft .NET Framework version 4.6.2, but version 4.8 is recommended. If you install the console on other devices, make sure to update .NET. If the device doesn’t already have it, the console setup doesn’t install this prerequisite.
SCCM Console Deployment Using Configuration Manager
For SCCM console deployment using Configuration Manager, use the following steps.
- Launch Configuration Manager console.
- Go to Software Library. Right click Applications and select Create Application.
- On the create application wizard, choose Manually specify the application information.
Click Next to continue.
Specify the information about this application and click Next.
Add a new deployment type
On Deployment Types page, you can configure deployment type. Read this post to know about all the deployment types support by SCCM. You can also add multiple deployment types and define priority for each deployment type. To add a new deployment type, click Add button.
Now select Manually specify the deployment type information. Click Next.
Specify the application information. Click Next.
Provide the content location path (folder where the console setup files are located). Most of all, ensure you specify the correct install and uninstall commands.
Use the following command to install ConfigMgr console. Replace “siteserverfqdn” with your Primary Site server name.
ConsoleSetup.exe /q TargetDir="%ProgramFiles%ConfigMgr Console" DefaultSiteServerName=siteserverfqdn.com
Enter the following command to uninstall SCCM console.
ConsoleSetup.exe /uninstall /q
Click Next.
Add the Detection Method for ConfigMgr Console Deployment
Next we specify detection method. Specify the following under detection rule.
- Setting Type – File System
- Type – File
- Path – %ProgramFiles(x86)%ConfigMgr Consolebin
- File or Folder Name – Microsoft.ConfigurationManagement.exe
Check the box “This file or folder is associated with a 32-bit application on 64-bit systems“.
Select “The file system setting must satisfy the following rule to indicate the presence of this application“.
- Property – Version
- Operator – Equals
- Value – 5.1902.1044.1000
Click OK and then Next.
Configure the desired settings under User Experience and click Next. If there is nothing to specify under Requirements, Dependencies – click Next and close the deployment wizard.
Finally, on Completion page click Close. Distribute the application to the distribution point. Thereafter, you are ready to deploy Configuration Manager console to a device collection.
Test the SCCM Console Deployment on Client Computers
In my lab tests, the SCCM console installation was successful on multiple Windows 10 and Windows 11 computers. Since we specified the default site server in our command line, the console directly connects to the site server upon launching.
Testing the SCCM console uninstall on Windows 10 and Windows 11 devices also worked fine. If you require any further assistance related to this post, do write in comments section. I hope this post helps.
Prajwal Desai is a Microsoft MVP in Enterprise Mobility. He writes articles on SCCM, Intune, Configuration Manager, Microsoft Intune, Azure, Windows Server, Windows 11, WordPress and other topics, with the goal of providing people with useful information.
Введение
Прежде, чем приступить к установке и настройке System Center Configuration Manager, давайте немного уделим времени паре пунктов. Во-первых, для чего же нужен этот продукт. Во-вторых, очень важно не упустить некоторые подготовительные работы. Иначе у вас просто не получится запустить нужные программы и утилиты. Сразу предупредим вас, что процесс займёт достаточно длительное время — если вы спешите, то не приступайте к выполнению действий. Установка System Center Configuration Manager 2012 r2, то как этот configuration manager client запустить, настроить и удалить, рассматривается ниже (если вы уже ранее подготовили свою систему).
System Center Configuration Manager 2012 r2 — это очень хорошая программа, которая поможет вам управлять своими ресурсами более продуктивно
Продукт System Center Configuration Manager 2012 r2 представляет собой сферу для регулирования инфраструктуры IT, основываясь на Microsoft Windows и смежных устройствах. Что же может делать пользователь или разработчик в этой системе? Например, можно регулировать обновления, разворачивать программное обеспечение и операционные системы, управлять удалённым доступом и делать другие подобные вещи. На сегодняшний день последней версией этого продукта является выпуск 2012 года — это System Center Configuration Manager 2012 r2. Именно на примере этой версии мы сегодня и рассмотрим все нюансы использования программного обеспечения. Для начала мы проведём некоторые подготовительные работы. Так сказать, приведём «почву» к нужной консистенции, прежде, чем сажать туда семена.
Подготовительные настройки
Добавление ролей и компонентов
- Во-первых, нужно определиться с системными требованиями программы: вы должны иметь Windows Server 2008 или SQL Server 2008 с соответствующими обновлениями. То же самое касается и поддерживаемых клиентских операционных систем — Windows XP, Vista, 7, 8, Server 2003, 2008, 2012 или MacOS. Везде должны быть установлены последние требуемые для работы SCCM обновления ПО.
- Во-вторых, нам потребуется добавить специальные компоненты для корректной работы. Для этого запустите «Диспетчер серверов» (или server) на компьютере или ноутбуке.
- На верхней панели инструментов нажмите на кнопку «Управление» и в появившемся списке выберите «Добавить роли и компоненты».
- Теперь перед вами будет открыто диалоговое окно мастера добавления ролей и компонентов. После ознакомления с представленным текстом нажимаем «Далее».
- Так как нам не нужна установка служб удалённых рабочих столов, мы выбираем первый пункт «Установка ролей и компонентов». Подтверждаем свой выбор уже знакомой кнопкой «Далее».
- На следующей странице нам нужно будет выбрать сервер из пула серверов. Кликаем один раз на нужный нам из специального списка в таблице и кликаем на «Далее».
- В окне ролей сервера по умолчанию стоит галочка в пункте файловых служб и хранилищ. Больше ничего мы не отмечаем дополнительно и нажимаем «Далее» для перехода на следующую страницу.
- В выборе компонентов нам уже придётся выбрать ещё несколько пунктов, помимо стандартного отмеченного — функции NET Framework5, фоновая интеллектуальная служба передачи, удалённое разносное сжатие и средства удалённого администрирования Server. Потом можете двигаться дальше.
- На девятом шаге открывается мастер по установке ISS, в котором вам нужно будет отметить ASP.NET5 и 4.5. Также отметьте проверку подлинности Windows, совместимость WMI и IIS6. Нажимаем «Далее».
- Итак, мы добрались до финишной черты, где нужно нажать долгожданную кнопку «Установить». Теперь осталось дождаться окончания процесса, после чего можно будет приступить к подготовке SQL.
Настройка SQL 2012
- Для начала запускаем установочный файл. После этого запустится окно центра установки SQL Server. Нажимаем на «Установка».
- Естественно, это у нас новая установка изолированного экземпляра, поэтому выбираем соответствующий пункт в перечне.
- Далее правила поддержки определят некоторые ошибки или проблемы, которые могут появиться в дальнейшем. Если таковых у вас не будет, то нажимаем ОК. В противном случае эти неполадки потребуется устранить самостоятельно.
- На следующем этапе программа потребует вести ключи продукта. После ввода нажмите на «Далее».
- Ознакомьтесь с условиями лицензии на устанавливаемое ПО. Если вы соглашаетесь с ними, то поставьте галочку ниже и кликните «Далее».
- Теперь установите флажок для включения обновления SQL Server (если программа сама предложит), затем нажимаем «Далее».
- Дожидаемся завершения операции и переходим к следующему окну, где потребуется установить компоненты. Ставим галочку, отмечаем ниже представленные пункты и нажимаем «Далее».
- Службы компонента Database Engine
- Службы Reporting Service
- Средства управления
- В окне экземпляра ничего не трогаем и переходим к следующему окну требований и к свободному месту. Здесь просто будет указан факт возможности установки на жёсткий диск. Поэтому можно идти дальше.
- Выбираем имя, от которого будет производиться запуск службы и переходим в следующее диалоговое окно.
- Итак, окно с конфигурацией сервера. Здесь будут представлены две вкладки: учётные записи служб и параметры сортировки. Кликаем по второй и вводим туда следующий Database Engine: SQL_Latin1_General_CP1_CI_AS. Идём далее.
- Теперь назначаем администраторов SQL сервера с помощью кнопки «Добавить» и переходим в следующий раздел.
- В основном режиме служб Reporting Services должен стоять пункт «Установить и настроить». Идём дальше.
- Можете при желании выбрать пункт об отправке ошибок в корпорацию Microsoft. Это необязательно, поэтому остаётся на ваше усмотрение.
- Проверяем окно правил конфигурации установки и нажимаем «Далее», если никаких ошибок нет.
- Ну и предпоследний шаг — посмотреть отчёт выбранных параметров и нажать заветную кнопку «Установить».
- После окончания процесса установки, закрываем программу. Для полного завершения вам нужно будет самостоятельно поставить SP и CU для SQL Server, а потом интегрировать с AD.
Установка и настройка System Center Configuration Manager 2012 r2
Как установить?
- Запустите установочный файл. В окне приветствия ознакомьтесь с текстом и переходите к следующему.
- В новом окне установите флажок возле первого пункта «Установить первичный сайт Configuration Manager» и нажмите «Далее».
- Теперь выберите тип лицензии на устанавливаемый продукт. Если у вас есть специальный ключ, который вы ранее приобрели, то отметьте установку лицензированной версии. В противном случае выберите первый вариант.
- Следующее окно покажет вам лицензионное соглашение, которое мы принимаем соответствующей галочкой и кликом по кнопке «Далее». Обратите внимание, что дальше вам нужно будет повторить похожий процесс.
- Итак, мы дошли до загрузки необходимых компонентов. Выбираем подходящий пункт галочкой и двигаемся вперёд.
- Если вы выбрали способ с загрузкой новых файлов из сети, то дождитесь, пока загрузчик скачает необходимые документы, которые доступны для просмотра в папке.
- Затем появятся по очереди два окна выбора языков программы и клиента (client) — отмечаем нужные и идём дальше.
- Мастер установки требует указать код сайта, который потом исправить будет нельзя. Вот почему рекомендуется не писать его просто так, а только хорошо обдумав пароль. Также напишите имя сайта, поставьте галочку возле установки консоли внизу окна и нажимайте «Далее».
- В окне установки первичного сайта выбираем второй пункт (как автономный сайт). Если у вас уже существует определённая иерархия, то отметьте первый вариант и напишите полное доменное имя (сервер сайта центра администрирования).
- При необходимости заполните поля в окне сведений о базе данных и двигайтесь дальше.
- Напишите имя сервера, где нужно будет подключить поставщик SMS.
- Пришла пора установить параметры связи: если протокол HTTPS вы не собираетесь применять, как непосредственный метод, то ставим кружок на втором пункте. В противном случае — на первом. Идём дальше.
- Теперь укажите, должна ли программа мастера установить точку управления или точку распространения путём заполнения полного доменного имени.
- В следующем окне вы увидите сводку параметров, которую желательно перепроверить, чтобы потом не кусать локти за свои ошибки. Нажимаем «Далее» и дожидаемся окончания процесса установки.
- Если у вас возникли какие-либо ошибки в это время, то их стоит непременно ликвидировать. Только потом повторить попытку.
Как настроить?
Чтобы установить основные параметры, нужно запустить System Center Configuration Manager 2012 r2. Здесь вам потребуется настроить некоторые типы обнаружения, а именно:
- Heartbeat, который по умолчанию включается автоматически.
- Метод обнаружения в лесах AD, с помощью которого вы можете установить границы сайта AD и подсетей IP в автоматическом порядке.
- Группы AD, способ которых занимается их извлечением.
- Система обнаружения активной директории предоставляет пользователю получение информации о ПК, а именно, его имя, адрес, сайт AD и другие данные.
- Пользователи AD. Их обнаружение предоставляет сведения об учётных записях пользователей.
- Сетевые ресурсы, источником информирования которых является специальный маршрутизатор через протокол SNMP.
Любое из этих обнаружений можно без проблем настроить путём нажатия правой кнопкой мыши по выбранному методу. Затем выберите «Свойства» и поставьте галочку напротив пункта о включении. Можете здесь же установить параметры конфигурации при необходимости и нажать ОК.
Как удалить Configuration Manager Client
- Чтобы удалить Configuration Manager Client нужно запустить командную строку.
- Для этого откройте меню «Пуск» на нижней панели инструментов на рабочем столе компьютера или ноутбука.
- В поле поиска введите «Командная строка» и с помощью найденного ярлыка приложения запустите исполнительный файл.
- В окне программы введите: Ccmsetup.exe /uninstall.
- Теперь нажмите клавишу ввода «Enter».
- Обратите внимание, что вы не будете видеть, как происходит само удаление. То есть, никаких ползунков, процентов выполненной работы или других показателей продвижения процесса перед вами не покажутся. Чтобы убедиться в том, что вам удалось удалить System Center Configuration Manager 2012 r2, найдите журнал CCMSetup.log, находящийся в папке «ccmsetup» по пути %windir%system32. В этом файле и будет представлена вся необходимая информация.
Подведём итоги
Дорогие друзья, сегодня мы с вами попытались установить, запустить и настроить System Center Configuration Manager 2012 r2. Также мы рассмотрели, как удалить Configuration Manager Client в случае необходимости. Надеемся, что у вас всё получилось. Делитесь в комментариях своей историей о том, как прошла ваша установка System Center Configuration Manager 2012 r2.
Часто приходится выяснять причины, почему не разворачивается то или иное приложение через SCCM, хотя ПК находится в соответствующей коллекции и прошло достаточное количество времени.
Принудительное же развертывание (Application Deployment Evaluation Cycle) и обновление групповых политик на ПК (Machine Policy Retrieval and Evaluation Cycle) через консоль SCCM ни к чему не приводят:
Разберем на примере установки новой версии клиента 1С. Видим, что развертывание должно было произойти, но при этом на ПК данной версии 1С (8.3.18.1289) еще нет:
Скорее всего, проблема связана с разрушением базы WMI на ПК и необходимостью переустановить полностью клиент SCCM. Проверить это можно из вкладки Мониторинг / Состояние клиентов консоли SCCM:
Если данный ПК присутствует в списке, то необходимо перейти на вкладку Активы и соответствие / Устройства консоли и найти через поиск данный ПК. Ошибка также будет видна на вкладке Данные о проверке клиента данного ПК.
Для устранения ошибки необходимо восстановить базу WMI на ПК, для чего мы запускаем проводник данного ПК:
и переходим в папку C:WindowsSystem32wbemRepository:
Также правой кнопкой из консоли SCCM открываем Управление компьютером (Manage Computer) данного ПК и переходим к вкладке Службы:
Прежде всего, нам надо остановить, если запущены, службы ccmsetup и Configuration Manager Remote Control (cmrcservice), на некоторых ПК может называться по-русски — Удаленное управление Configuration Manager:
После этого останавливаем службу Инструментарий управления Windows (Winmgmt) и все зависящие от неё службы, как правило это Вспомогательная служба IP (iphlpsvc) и служба агента SCCM – SMS Agent Host (ccmexec), но могут присутствовать и другие службы, например Центр обеспечения безопасности (wscsvc) и / или службы производителя, например Intel(R) Rapid Storage Technology (IAStorDataMgrSvc) либо другие – надо остановить все зависимые и Winmgmt:
После остановки необходимо быстро удалить все содержимое из папки C:WindowsSystem32wbemRepository (переключившись в проводник удаленного ПК) и затем включить снова службу Инструментарий управления Windows (Winmgmt) для создания чистой базы репозитория WMI (создается автоматически при запуске службы). Также можно включить все остановленные зависимые службы, кроме агента SCCM (SMS Agent Host).
После этого запускаем из консоли SCCM командную строку на удаленном ПК:
и проверяем, что службы, связанные с SCCM (ccmsetup, ccmexec, cmrcservice) остановлены, либо отсутствуют:
Если они все в состоянии STOPPED – удаляем их:
Если какая-то из служб находится в состоянии RUNNING (работает), то перед удалением останавливаем её с помощью команды: sc stop cmrcservice (например).
Теперь можно удалить (очистить) папки, связанные с SCCM из C:Windows (ccmsetup, ccmcache, CCM). При этом в папке C:WindowsCCM не удалится одна системная папка – ScriptStore – это нормально.
После этого мы можем установить клиента SCCM заново из консоли:
Отследить установку можно по файлу логов (появится при запуске установки): C:Windowsccmsetupccmsetup.log:
Можно открыть его с помощью утилиты CmTrace.exe и наблюдать в реальном режиме времени процесс установки клиента:
Дожидаемся окончания установки клиента — 5-10 минут (появления кода возврата 0):
Если установщик вернет код 7, то ПК необходимо будет перезагрузить для продолжения установки.
По окончании установки, начнется распространение и установка приложений, назначенных и ещё не установленных на ПК, которое можно отследить по появляющимся папкам в кэше по пути C:Windowsccmcache в проводнике удаленного ПК. Нас интересует папка с установщиком 1С. Находим её и запоминаем имя. В этой папке будет файл log.log, показывающий процесс установки, который мы также можем просмотреть через CmTrace.exe:
Видим, что процесс установки завершился ошибкой (не нулевой код):
Это значит, что скорее всего запущен еще какой-то процесс msiexec (другая установка, обновление, например). Можно перегрузить ПК либо удалить данный процесс из командной строки с помощью команды taskkill /PID XXXXX /F, где XXXXX номер процесса:
Далее, запускаем установку 1С вручную из папки кэша (в данном случае – C:Windowsccmcache3):
И проверяем, что нужная нам версия установилась по появлению соответствующей папки в C:Program Files1cv8 :
На этом процесс восстановления работоспособности клиента SCCM можно считать завершенным.
P.S.
Как правило, WMI разрушается на ПК с Windows 10, на Windows 7 такой ошибки не наблюдается. Причины могут быть самыми разными. Возможность автоматизировать данный процесс, например с помощью скриптов PowerShell есть, но с оговорками:
— удаление служб с ожиданием их остановки (Remove-Service) доступно только начиная с версии 6.0 (по умолчанию, на Windows 10 установлена версия 5.1) – остальное делается штатными командами PS.
— чтобы развернуть новую версию PowerShell и запустить скрипт нужно, чтобы служба WMI и клиент SCCM работали, т.е. восстановить на уже сбойных ПК не удастся, либо устанавливать PS 6.0, например, через групповые политики.
Все действия производились на версии SCCM 2010:
Дополнительно, установлено расширение консоли ConfigMgr Console Extensions от Dan Ireland для удобного доступа к дополнительным функциям по правой кнопке мыши (подходит версия 1.7.3a для SCCM 2012).
This blog post is a complete revised Step-by-step SCCM Installation Guide. It covers every aspect of the SCCM Installation. From the server prerequisites to the SQL installation, the Sccm installation itself and all configuration and site server installation. Following this guide, you should have a functional SCCM server in a couple of hours.
We already did a guide in the past when SCCM 1511 was released but it’s was time for a 2020 refresh.
Since our first guide, more than 12 SCCM version has been released… and the product even changed its name to Microsoft Endpoint Manager. (MEM or MEMCM).
SCCM installation has never been an easy process and the product itself can be complex for inexperienced administrators. With this blog post, our goal is to bring it a bit further, explaining concepts and best practices rather than just guide the user through the installation process.
If you’re not familiar with SCCM Current Branch Features, you can visit this Microsoft Docs article which covers it all.
If you’re still running SCCM 2012 (!) and plans to migrate, stop reading this guide. You do not need to do a complete new installation. See our blog post on how to upgrade to SCCM Current Branch instead.
We hope this guide brings all the information you need and that you’ll appreciate administering it.
The PDF file is a 162 pages document that contains all informations to install and configure SCCM Current Branch. Use our products page or use the button below to download it .
Download
SCCM Current Branch Installation and Configuration Guide
Important Info
This post is HUGE, use this table of content to navigate easily through the SCCM Installation guide sections.
- Part 1 | Design Recommendation and Installation Prerequisites
- Part 2 | SQL Installation and Configuration
- Part 3 | SCCM Installation
- Part 4 | Application Catalog Web Service Point Installation
- Part 5 | Application Catalog Website Point Installation
- Part 6 | Asset Intelligence Synchronization Point Installation
- Part 7 | Certificate Registration Point Installation
- Part 8 | Distribution Point Installation
- Part 9 | Endpoint Protection Point Installation
- Part 10 | Enrollment Point Installation
- Part 11 | Enrollment Proxy Point Installation
- Part 12 | Fallback Status Point Installation
- Part 13 | Management Point Installation
- Part 14 | Reporting Services Point Installation
- Part 15 | Software Update Point Installation
- Part 16 | State Migration Point Installation
- Part 17 | System Health Validator Point Installation
- Part 18 | Service Connection Point Installation
- Part 19 | Boundaries Configuration
- Part 20 | Client Settings Configuration
- Part 21 | Discovery Methods Configuration
- Part 22 | Maintenance Task Configuration
- Part 23 | Backup and Restore
- Part 24 | Enable Co-Management (external post)
- Part 25 | Cloud Distribution Point (external post)
- Part 26 | Cloud Management Gateway (external post)
- Part 27 | Start your modern management journey (Co-management and Intune) (external post)
Part 1 – Design Recommendation and Installation Prerequisites
SCCM Hardware Requirements
In the first part, we will cover SCCM installation prerequisites most specifically hardware requirements, design recommendations, and server prerequisites.
The hardware requirements for a Primary Site server largely depends on the features that are enabled, and how each of the components is utilized. When the number of clients grows and changes, the server hardware requirements change accordingly. For the initial deployment, hardware requirements can be estimated for each server by determining:
- The overall need for each component (Will you do Operating System Deployment ? How many daily software deployments ? Is Inventory and reporting is important for your organization? Will you manage Internet Client ?)
- The number of clients planned to be installed
- The load on each of the installed SCCM components
In general, medium environments (couple thousand clients) should consider the following recommendations when planning hardware:
- SCCM and SQL Server communicate constantly. We recommend that the main database and SQL Server be installed on the Primary site server. This is fully debatable and we understand that some organization tries to standardize their SQL distribution. Performance is simply better using a local installation when configured properly
- Neither the SCCM site nor the SQL database should share their disks with other applications
- Configure the SQL Server databases and logs to run on a different disk than the disk where the SCCM database is located.
Another issue to consider when determining hardware requirements for a site servers is the total amount of data that will be stored in the database. To estimate the required database size for a single site, an approximate figure of 5Mb to 10Mb per client is typically used.
In our setup, we will install a single Primary Site that has the role of Management Point, Reporting Point, Distribution Point, PXE Service Point, State Migration Point, Fallback Status Point and Software Update Point. SQL Reporting Services will be used to provide consolidated reporting for the hierarchy. This role will also be installed on the SCCM Server. Running reports can have an impact on server CPU and memory utilization, particularly if large poorly structured queries are executed as part of the report generation.
Consider placing client-facing role (Distribution Point, Reporting Point) on a separate server in order to reduce load on your Primary server.
Here’s our recommended reading about hardware requirements:
SCCM Installation Guide
- Design a hierarchy of sites
- Recommended hardware
- Supported configurations
- Plan for the site database
- Plan for site system servers and site system roles
We strongly recommend that you understand SQL Server before installing SCCM. Talk and have a good relation with your DBA if you have one in your organization.
Here’s our recommended reading about SQL :
- Storage Top 10 Best Practice
- SQL Server Best Practices Article
- Disk Partition Alignment Best Practices for SQL Server
Operating System
For this post, our servers run Windows 2019 with latest security patches
Make sure that your OS is supported, see the SCCM Current Branch Technet Documentation
Disks
Disks IOs are the most important aspect of SCCM performance. We recommend configuring the disks following SQL Best practice. Split the load on a different drives. When formatting SQL drives, the cluster size (block size) in NTFS must be 64KB instead of the default 4K. See the previously recommended reading to achieve this.
Letter | Content | Size | ||
---|---|---|---|---|
C: | Windows | 100GB | ||
D: | SCCM | 200GB | ||
E: | SQL Database (64K) | 40GB | ||
F: | SQL TempDB (64K) | 40GB | ||
G: | SQL Transaction Logs (64K) SQL TempDB Logs |
40GB |
Primary Site server prerequisites
Once your hardware is carefully planned, we can now prepare our environment and server before SCCM Installation.
Active Directory schema extension
You need to extend the Active Directory Schema only if you didn’t have a previous installation of SCCM in your domain. If you have SCCM 2007 already installed and planing a migration, skip this step.
- Logon to a server with an account that is a member of Schema Admins security group
- From SCCM ISO run .SMSSETUPBINX64extadsch.exe
- Check schema extension result, open Extadsch.log located in the root of the system drive
Create the System Management Container
Configuration Manager does not automatically create the System Management container in Active Directory Domain Services when the schema is extended. The container must be created one time for each domain that includes a Configuration Manager primary site server or secondary site server that publishes site information to Active Directory Domain Services
- Start ADSIEdit, go to the System container and create a new Object
- Select Container
- Enter System Management
Set security permission
- Open properties of the container System Management created previously
- In the Security tab, add the site server computer account and Grant the Full Control permissions
- Click Advanced, select the site server’s computer account, and then click Edit
- In the Applies to list, select This object and all descendant objects
- Click OK and close the ADSIEdit console
SCCM Accounts
Create the necessary accounts and groups created before installation. You can use a different name but I’ll refer to these names throughout the guide.
- SQL server services account – SCCM-SQLService
- SCCM Network Access Account – SCCM-NAA
- Domain user account for use SCCM client push install – SCCM-ClientPush
- Domain user account for use with reporting services User – SCCM-SQLReporting
- Domain account used to join machine to the domain during OSD – SCCM-DomainJoin
- Domain group containing all SCCM Admins Group – SCCM-Admins
- Domain group containing all SCCM servers in the hierarchy Group – SCCM-SiteServers
Network Configuration
- Make sure that the server has a fixed IP and that internet connection is up
Firewall Configuration
- Make sure the firewall service is ON
Run this script in an elevated command prompt order to open the necessary ports needed for SCCM.
** If you are using custom ports, change the values before running the script. **
@echo ========= SQL Server Ports ===================
@echo Enabling SQLServer default instance port 1433
netsh advfirewall firewall add rule name=”SQL Server” dir=in action=allow protocol=TCP localport=1433
@echo Enabling Dedicated Admin Connection port 1434
netsh advfirewall firewall add rule name=”SQL Admin Connection” dir=in action=allow protocol=TCP localport=1434
@echo Enabling conventional SQL Server Service Broker port 4022
netsh advfirewall firewall add rule name=”SQL Service Broker” dir=in action=allow protocol=TCP localport=4022
@echo Enabling Transact-SQL Debugger/RPC port 135
netsh advfirewall firewall add rule name=”SQL Debugger/RPC” dir=in action=allow protocol=TCP localport=135
@echo ========= Analysis Services Ports ==============
@echo Enabling SSAS Default Instance port 2383
netsh advfirewall firewall add rule name=”Analysis Services” dir=in action=allow protocol=TCP localport=2383
@echo Enabling SQL Server Browser Service port 2382
netsh advfirewall firewall add rule name=”SQL Browser” dir=in action=allow protocol=TCP localport=2382
@echo ========= Misc Applications ==============
@echo Enabling HTTP port 80
netsh advfirewall firewall add rule name=”HTTP” dir=in action=allow protocol=TCP localport=80
@echo Enabling SSL port 443
netsh advfirewall firewall add rule name=”SSL” dir=in action=allow protocol=TCP localport=443
@echo Enabling port for SQL Server Browser Service’s ‘Browse’ Button
netsh advfirewall firewall add rule name=”SQL Browser” dir=in action=allow protocol=TCP localport=1434
@echo Allowing Ping command
netsh advfirewall firewall add rule name=”ICMP Allow incoming V4 echo request” protocol=icmpv4:8,any dir=in action=allow
No_sms_on_drive.sms
Place a file name no_sms_on_drive.sms on the root drive of each drive you don’t want SCCM to put content on.
Windows Server Features
On the Primary site server, the following components must be installed before SCCM installation. We’ll install all these components using a PowerShell script.
- .Net Framework 3.51 SP1
- .Net Framework 4
- IIS
- Remote Differential Compression
- BITS Server Extension
- WSUS 3.0 SP2
- Report Viewer
- ADK for Windows 8.1
Roles and features
On the Site Sever computer, open a PowerShell command prompt as an administrator and type the following commands. This will install the required features without having to use the Windows 2012 GUI.
Get-Module servermanager
Install-WindowsFeature Web-Windows-Auth
Install-WindowsFeature Web-ISAPI-Ext
Install-WindowsFeature Web-Metabase
Install-WindowsFeature Web-WMI
Install-WindowsFeature BITS
Install-WindowsFeature RDC
Install-WindowsFeature NET-Framework-Features -source yournetworkyoursharesxs
Install-WindowsFeature Web-Asp-Net
Install-WindowsFeature Web-Asp-Net45
Install-WindowsFeature NET-HTTP-Activation
Install-WindowsFeature NET-Non-HTTP-Activ
Ensure that all components are showing as SUCCESS as an EXIT Code. It’s normal to have Windows Update warnings at this point.
Report Viewer
Download and install – here
ADK for Windows 10
Download and install – here
- Select the default path
- Do not join CEIP
- Accept the License Agreement
- Install the following components
- Deployment Tools
- Windows Pre-installation Environment
- User state Migration tool
Active Directory
- Add the computer account of all your site servers in the SCCM-SiteServers AD group
- Ensure that the group has Full Control on the SYSTEM Container in Active Directory
Local Admin accounts
Add both SCCM computer account and the SCCM Admin account to the local administrator group on the site server.
- SCCM-Admins
- SCCM-SiteServers
SCCM Client
If applicable, uninstall SCCM 2007 client and FEP if present on the server before the installation. If the client is present, the 2012 SCCM Management Point installation will fail.
Windows Updates
Run windows update and patch your server to the highest level
Your server is now ready for the SQL installation.
Part 2 – SCCM SQL 2017 Installation
We will go through the complete SCCM SQL 2017 Install Guide to install and configure SQL before installing SCCM Current Branch 1806 or higher.
Important Info
This post is our updated version of our SQL install guide for version 2017 and higher. If you are planning on installing an older version of SQL, please follow our previous post here
Click the following link to see all supported SQL versions. For our post, we will install SQL 2017 locally on the same server where the Primary Site will be installed.
- Execute Setup.exe from the SQL installation media, select New SQL server stand-alone installation
- Provide the product key and click Next
- Review and Click Next
- Check Use Microsoft Update to check for updates and click Next
- Select SQL Server Feature Installation
Important Info
Note that some steps in the wizard are automatically skipped when no action is required. For example, Products Updates, Install setup Files and Install Rules might be skipped.
- Select the Database Engine feature and specify the SQL installation directory. This is the directory for the program files and shared features
- Select Default instance and ensure that your instance is created on the SQL Volume
- Set all services to run as the SQL domain account that you created previously and set the services startup type to Automatic
- On the Collation tab, set the Database Engine to use SQL_Latin1_General_CP1_CI_AS
- In the Server Configuration tab, set the authentication mode to Windows Authentication and in the SQL Server Administrators add your SCCM Admins group
- In the Data Directories tab set your drive letters correctly for your SQL databases, Logs, TempDB, and backup
- On the TempDB, complete the various information based on the Database sizing section below.
- Click Install
- Complete the installation by clicking Close
Install SQL Server Management Studio (SSMS)
- Back in the SQL Server Installation Center, click on Install SQL Server Management tools.
- This will redirect you to the Download page of SQL Server Management Studio. SSMS is no longer tied to the SQL server installation in terms of version.
- Adjust the installation path if need, then click Install
Install SQL Reporting Services
- Back in the SQL Server Installation Center, click on Install SQL Reporting Services.
- The SQL reporting services is just like the Management console, it requires a separate download
- Click on Install Reporting Services
- Provide the Product key
- Accept License terms
- Click Next
- Select the installation path, click Install
- A reboot is required after the installation
Apply SQL 2017 CU2 or higher
At the time of this writing, the latest SQL Cumulative Update is CU17. We will install it in order to have an updated SQL Installation. Note that CU2 is the minimum requirement
- Download and execute SQL 2017 CU17
- Accept the license terms and click Next
- Leave default values, click Next
- Wait for Check File in Use and click Next
- Click Update
- Update completed, might require a reboot
SPN Creation
When you configure SQL Server to use the local system account, a Service Principal Name (SPN) for the account is automatically created in Active Directory Domain Services. When the local system account is not in use, you must manually register the SPN for the SQL Server service account.
Since we are using a domain account, we must run the Setspn tool on a computer that resides in the domain of the SQL Server. It must use Domain Administrator credentials to run.
Run both commands to create the SPN, Change the server name and account name in each commands.
- setspn -A MSSQLSvc/yourservername:1433 yourdomainSQLSA
- setspn -A MSSQLSvc/yourserver.fullfqdn.com:1433 yourdomainSQLSA
To verify the domain user SPN is correctly registered, use the Setspn -L command
- setspn –L yourdomainSQLSA
SQL Configuration
SCCM setup verifies that SQL Server reserves a minimum of 8 GB of memory for the primary site. To avoid, the warning, we’ll set the SQL Server memory limits to 8GB-12GB (80% of available RAM).
- Open SQL Server Management Studio
- Right click the top SQL Server instance node
- Select Properties
- In the Memory tab define a limit for the minimum and maximum server memory. Configure and limit the memory to 80% of your server available RAM. In my case I have 16GB available.
- Minimum 8192
- Maximum 12288
Database Sizing
We always recommend creating the SCCM database before the setup. This is not mandatory, SCCM will create the database for you during setup but will not create it the optimal way. We strongly recommend to watch The Top Ten Lessons Learned in Managing SQL session from MMS2013 which cover it all.
We follow the guide made by MVP, Kent Agerlund to estimate my DB sizing need. Visit his blog post and download the provided Excel file. Input your values in the blue cells and keep it for the next part. We’ll create the DB using those values using a script in the next section.
For this blog post, We’ve created a Database for 2000 clients, 2 processors, 2 cores and 16GB RAM.
Create Database
To create the database, you can use Kent’s script and input your values (as returned previously in the Excel file) OR use the following one which is really simple:
The Name value will become your Site Code during the SCCM installation. Be sure to select a unique Site Code.
- **Replace all XXX value with your 3 character Site Code**
- **Change the values of the Filename, Size, MaxSize and FileGrowth. Change the location of the file to your SQL and Logs drives**
USE master
CREATE DATABASE CM_XXX
ON
( NAME = CM_XXX_1,FILENAME = ‘E:SCCMDBCM_XXX_1.mdf’,SIZE = 7560, MAXSIZE = Unlimited, FILEGROWTH = 2495)
LOG ON
( NAME = XXX_log, FILENAME = ‘G:SCCMLogsCM_XXX.ldf’, SIZE = 4990, MAXSIZE = 4990, FILEGROWTH = 512)
ALTER DATABASE CM_XXX
ADD FILE ( NAME = CM_XXX_2, FILENAME = ‘E:SCCMDBCM_XXX_2.mdf’, SIZE = 7560, MAXSIZE = Unlimited, FILEGROWTH = 2495)
Review the Site Database properties
- Open SQL Management Studio
- Right-click your DB, Select Properties
- In the General tab, verify that the SQL collation name is SQL_Latin1_General_CP1_CI_AS
- In the File tab, verify that your database files has been created with the script value
- Verify that the file is located on your SQL Volume
- Change the database owner to SA. By default the owner will be the account that created the database.
If you find out that you made an error, you can safely delete the Database using SQL Management Studio and rerun the script.
- Open SQL Management Studio
- Right-click your DB, Select Delete
TempDB sizing
Important Info
This section is left here for reference to help configure the TempDB in the installation wizard.
Run the following scripts to size the TempDB. (using the value returned by the Excel file)
**Change the values of Filename, Size, MaxSize and FileGrowth. Change the location of the file to your TempDB drives**
use master
go
alter database tempdb modify file (name=’tempdev’, filename=’F:SCCMTempDBtempDB.MDF’, SIZE= 4536, MAXSIZE = Unlimited, FILEGROWTH = 512)
go
alter database tempdb modify file (name=’templog’, filename=’G:SCCMLogstemplog.LDF’, SIZE= 2268, MAXSIZE = Unlimited, FILEGROWTH = 512)
go
Review the TempDB properties
- Open SQL Management Studio
- In System Database, Right click the TempDB, select Properties
- In the File Tab, verify that your database files has been created with the script value
- Ensure that the TempDB and log are on the TempDB volume
SQL Communications
To ensure proper SQL communication, verify that settings are set accordingly in SQL Network configuration
- Open SQL Server Configuration Manager
- Go to SQL Server Network Configuration / Protocols for MSSQLServer
- On the Right Pane, right-click TCP/IP and select Properties
- In the Protocol tab
- Enable: YES
- Listen All : NO
- In the IP Addresses tab
- IP1 (which should have your Server IP)
- Active : YES
- Enabled : YES
- All other IP and IP ALL
- Active : YES
- Enabled : NO
- TCP Dynamic Ports : Blank value
- TCP Port : 1433
Once the modification has been made, restart the SQL Server Service.
The server is now ready for the SCCM installation. We will now run the prerequisite checker and proceed to the complete SCCM Installation. We will install a stand-alone Primary site.
Part 3 – SCCM Current Branch Installation
Prerequisite Check
Before launching the SCCM installation, we recommend launching the Prereqchk tool in order to verify if all components are configured correctly. The SCCM installation wizard will also run this check but if you’re missing a requirement, you’ll have to go through the whole installation wizard again after fixing it. We prefer to use the standalone tool before running the setup.
To start the prerequisite check tool :
- Open an Administrator command prompt
- Browse to .SMSSETUPBINX64
- Run the following command: Prereqchk.exe /AdminUI
If you follow the prerequisite guide correctly you’ll have this result :
Refer to this Technet article to see the list of all checks done by the tool.
If you have any warning or error refer to this Technet article in order to resolve it, or go thought part 1 and part 2 of this guide.
New SCCM Installation
We are finally ready to launch the setup. First, reboot the server. This will make sure that the machine is not in a Reboot pending state.
- Mount and open the SCCM ISO that was previously downloaded from the Microsoft Volume Licensing Site
- Run Splash.hta
- Select Install
- On the first screen, Click Next
- On the Getting Started screen, Select Install a Configuration Manager Primary Site and click Next
- On the Product Key screen, enter it and click Next
- On the Microsoft Software License Terms screen, accept the terms and click Next
- On the Product License Terms screen, accept the License Terms and click Next
- On the Prerequisite Downloads screen, specify a location to download the prerequisite file. This folder can be deleted after setup
- On the Server Language Selection screen, select the language you want to display in the SCCM Console and Reports. You can modify language later by running setup again and select the Site Maintenance option
- On the Client Language Selection screen, select the Client language to support. You can modify languages later by running setup again and select the Site Maintenance option
- On the Site and Installation Settings screen, enter your Site Code. Use the same Site Code as you specified when creating your Database
- Note : Site codes cannot be used more than one time in a Configuration Manager hierarchy for a central administration site or primary sites. If you reuse a site code, you run the risk of having object ID conflicts in your Configuration Manager hierarchy. This applies also if you’re doing a migration from an earlier version.
- Enter your Site Name. This name will appear in the console so choose accordingly
- On the Primary Site Installation screen, select Install the primary site as a stand-alone site. If you have a Central Administration site, this is where you would join the Primary Site to the existing hierarchy
- On the warning, click Yes
- On the Database Information screen
- Enter your SQL Server Name. In our case the SQL server is the same box as SCCM
- Leave the Instance Blank
- Enter your Database name. Once again, this must match the previously created Database in part 2
- Leave the Service Broker Port to 4022
- On the Database Information screen :
- Enter the path to the SQL Server data file. Locate this on the SQL Volume
- Enter the path to the SQL Server log file. Locate this on the SQL Logs Volume.
- I like to use the same directory where I created my database and logs (E:SCCMDB, G:SCCMLogs)
- On the SMS Provider Settings screen, leave the SMS Provider to the default value which is the local server. Refer to the following Technet article to read about the SMS Provider.
- On the Client Computer Communication Settings screen, select Configure the communication method on each site system role. This is where you select to have HTTPS or not on your initial Management Point and Distribution Point. This setting can be changed later
- On the Site System Roles screen :
- Check Install a Management Point
- Check Install a Distribution Point
- We will install both MP and DP on the same box so leave the FQDN as is
- The Client connection drop-down is unavailable due to our previous selection
- On the Usage Data screen, click Next. This new screen basically tells that you accept that you will send some telemetry data to Microsoft
- On the Service Connection Point screen, click Next. This new role enables your deployment to download updates and new features
- On the Settings Summary Screen, review your options and click Next
- On the Prerequisite Check screen, you should have no error since you’ve run it before setup, click Next
- The installation is in progress. You can count between 15 and 30 minutes depending of your server specifications
- You can follow the progress by clicking the View Log button or open the ConfigMgrSetup.log file on the C: drive
- Wait for Core setup has completed and close the wizard
We’re still not done yet ! Before opening the SCCM console, we suggest to install the following tools :
CMTrace
CMTrace will become your best friend when reading log files.
- Open the SCCM ISO
- Browse to .SMSSETUPTOOLS
- Click on CMTrace.exe
- Click on YES to set is as your default log viewer
Additionally, you can read our blog post :
- How to use CMTrace like a Pro Part 1
- How to use CMTrace like a Pro Part 2
System Center 2012 R2 Configuration Manager Toolkit
The SCCM 2012 R2 toolkit is compatible with SCCM Current Branch and contains fifteen downloadable tools to help you manage and troubleshoot SCCM.
Download and install it here
SCCM Current Branch Installation Extra Information
You can also refer to our blog post about Useful Resources to help you begin with SCCM. If you need further help to understand and configure various SCCM site components, consult our Step-by-Step SCCM 1511 Installation Guide blog series. It covers all you need to know.
SCCM Current Branch Upgrade
The first task we like to do after a new SCCM installation is to upgrade it to the latest version. If you’re not familiar with this, Microsoft releases a Baseline version that you can install from scratch and then, you must upgrade to the latest version. We have a bunch of guides for each version. For reference, at the time of this blog post, the baseline is 1902 and the latest version is SCCM 1910. Just follow our latest upgrade guide and you’ll be at the latest available version.
SCCM Current Branch Configuration
The next sections will be for configuring the various site server roles in your newly installed SCCM server. Role installation order is not important, you can install roles independently of others.
Part 4 – Application Catalog web service point
This part will describe how to install the SCCM Application Catalog web service point and the Application Catalog website point. Both of these roles are now unsupported. We do not recommend adding this role to your hierarchy.
The application catalogue’s Silverlight user experience isn’t supported as of current branch version 1806. Starting in version 1906, updated clients automatically use the management point for user-available application deployments. You also can’t install new application catalogue roles. Support ends for the application catalogue roles with version 1910.
Role Description
The Application Catalog web service point provides software information to the Application Catalog website from the Software Library.
The Application Catalog website point provides users with a list of available software.
This is not a mandatory site system but you need both the Application Catalog website point and the Application Catalog web service point if you want to provide your user with a Self-Service application catalog (web portal).
Site System Role Placement in Hierarchy
The Application Catalog web service point and the Application Catalog website point are hierarchy-wide options. It’s supported to install those roles on a stand-alone Primary site or child Primary site. It’s not supported to install it on a Central Administration site or Seconday site. The Application Catalog web service point must reside in the same forest as the site database.
If you’re having less than 10,000 users in your company, co-locating the Application Catalog web service and Application Catalog website roles on the same server should be ok. The web service role connects directly to the SCCM SQL database so ensure that the network connectivity between the SQL server and the Application Catalog web service servers is robust.
If you have more geographically distributed users, consider deploying additional application catalogs to keep responsiveness high and user satisfaction up. Use client settings to configure collections of computers to use different Application Catalog servers.
Read more on how to provide a great application catalog experience to your user in this Technet blog article.
If your client needs HTTPS connections, you must first deploy a web server certificate to the site system. If you need to allow Internet clients to access the application catalog, you also need to deploy a web server certificate to the Management Point configured to support Internet clients. When supporting Internet clients, Microsoft recommends that you install the Application Catalog website point in a perimeter network, and the Application Catalog web service point on the intranet. For more information about certificates see the following Technet article.
Prerequisites
Using Windows Server 2012, the following features must be installed before the role installation:
Application Catalog web service point
Features:
- .NET Framework 3.5 SP1 and 4.0
WCF activation:
- HTTP Activation
- Non-HTTP Activation
IIS Configuration:
- ASP.NET (and automatically selected options)
- IIS 6 Management Compatibility
- IIS 6 Metabase Compatibility
Application Catalog website point
Features:
- .NET Framework 4.0
IIS Configuration:
- Common HTTP Features
- Static Content
- Default Document
- Application Development
- ASP.NET (and automatically selected options)
- Security
- Windows Authentication
- IIS 6 Management Compatibility
- IIS 6 Metabase Compatibility
SCCM Application Catalog Installation
For this post, we will be installing both roles on our stand-alone Primary site using HTTP connections. If you split the roles between different machines, do the installation section twice, once for the first site system (selecting Application Catalog web service point during role selection)and a second time on the other site system (selecting Application Catalog website point during role selection).
- Open the SCCM console
- Navigate to Administration / Site Configuration / Servers and Site System Roles
- Right-click your Site System and click Add Site System Roles
- On the General tab, click Next
- On the Proxy tab, click Next
- On the Site System Role tab, select Application Catalog web service point and Application Catalog website point, click Next
- On the Application Catalog Web Service Point
- In the IIS Website and Web application name fields,leave both to the default values
- This is just the name that you’ll see in IIS after the installation (see next screenshot). It has nothing to do with your user facing portal
- Enter the port and protocol that you want to use
- On the Application Catalog WebSite Point
- In the IIS Website keep the default value
- In Web application name, enter the name that you want for your Application Catalog. This is the URL that will be published to your users
- Enter the port and protocol that you want to use
- On the Application Catalog Customizations tab, enter your organization name and the desired colour for your website
- On the Summary tab, review your settings, click Next and complete the wizard
Verification and Logs files
You can verify the role installation in the following logs:
- ConfigMgrInstallationPathLogsSMSAWEBSVCSetup.log and awebsvcMSI.log – Records details of about the Application Catalog Web Service Point installation
- ConfigMgrInstallationPathLogsSMSPORTALWEBSetup.log and portlwebMSI.log – Records details of about the Application Catalog Website Point installation
In the console :
- Open the SCCM Console
- Go to Monitoring / System Status / Component Status
- See status of the components SMS_PORTALWEB_CONTROL_MANAGER and SMS_AWEBSVC_CONTROL_MANAGER
Web browser
Verify that the Application Catalog is accessible :
- Open a web browser
- Browse to http://YourServerName/CMApplicationCatalog
- Replace YourServerName with the server name on which you installed the Application Catalog Website Point
- Replace CMApplicationCatalog with the name that you give your Application Catalog. (Default is CMApplicationCatalog)
If everything is set up correctly, you’ll see a web page like this :
URL Redirection
The default URL to access the Application Catalog is not really intuitive for your users.
It’s possible to create a DNS entry to redirect it to something easier (ex: http://ApplicationCatalog)
The following Coretech article describe how to achieve that.
Client Settings
Ensure that the client settings for your clients are set correctly to access the Application Catalog
- Open the SCCM Console
- Go to Administration / Client Settings
- Right-click your client settings and select Properties
- On the left pane, select Computer Agent
- Click the Set Website button and select your Application Catalog (the name will be automatically populated if your Application Catalog is installed)
- Select Yes on both Add Default Application Catalog website to Internet Explorer trusted site zone and Allow Silverlight application to run in elevated trust mode
- Enter your organisation name in Organisation name displayed in Software Center
That’s it, you’ve installed your SCCM Application Catalog, publish the link to your user and start publishing your applications.
Part 6 – Asset Intelligence Synchronization Point
This part will describe the Asset Intelligence Synchronization Point (AISP).
Role description
The AISP is used to connects to Microsoft in order to download Asset Intelligence catalog information and upload uncategorized titles. For more information about planning for Asset Intelligence, see Prerequisites for Asset Intelligence in Configuration Manager.
This is not a mandatory Site System but we recommend to install the AISP if you are planning to use Asset Intelligence. Read our blog post on Why should you use Asset Intelligence in SCCM.
Site System Role Placement in Hierarchy
The AISP is a hierarchy-wide option. SCCM supports a single instance of this site system role in a hierarchy and only at the top-level site. Install it on your Central Administration Site or stand-alone Primary Site depending of your design.
AISP Installation
- Open the SCCM console
- Navigate to Administration / Site Configuration / Servers and site System Roles
- Right-click your Site System and click Add Site System Roles
- On the General tab, click Next
- On the Proxy tab, enter your Proxy server information if needed and click Next
- On the Site System Role Selection tab, select Asset Intelligence Synchronization Point, click Next
- On the Certificate page, click Next
- By default, the Use this Asset Intelligence Synchronization Point setting is selected and cannot be configured on this page. System Center Online accepts network traffic only over TCP port 443, therefore the SSL port number setting cannot be configured on this page of the wizard
- You can specify a path to the System Center Online authentication certificate (.pfx) file. Typically, you do not specify a path for the certificate because the connection certificate is automatically provisioned during site role installation
- Specify the desired catalog Synchronization Schedule, click Next
- On the Summary tab, review your setting and click Next
- Wait for the setup to complete and close the wizard
AISP Logs
- AIUSSetup.log – Information about the installation of the Asset Intelligence catalog synchronization point site system role
- AIUpdateSvc.log – Information about the Asset Intelligence catalog synchronization service
- Aikbmgr.log – Information about the Asset Intelligence catalog manager service
Verification
- Verify that the role installation is completed in AIUSSetup.log
- Open the SCCM console
- Navigate to Assets and Compliance / Overview / Asset Intelligence
- Verify that the Sync is Enabled and Successful
Enable Inventory Reporting Classes
In order to have inventory data, first ensure that Hardware Inventory is enabled in your Client Settings.
- Navigate to Administration / Client Settings
- Right-click your Client Settings and choose Properties
- On the Hardware Inventory Tab
- Ensure that your hardware inventory is Enabled
Once confirmed, enable inventory reporting classes :
- Open the SCCM console
- Navigate to Assets and Compliance / Asset Intelligence
- Right-click Asset Intelligence and select Edit Inventory Classes
- Select Enable only the selected Asset Intelligence reporting classes
- Select SMS_InstalledSoftware, SMS_ConsoleUsage and SMS_SystemConsoleUser
- See the following Technet article to see dependencies between hardware and reporting class
- On the warning, click Yes
Maintenance Tasks
2 maintenance tasks are available for Asset Intelligence :
- Check Application Title with Inventory Information
- This maintenance task checks that the software title that is reported in software inventory is reconciled with the software title in the Asset Intelligence catalog.
- Summarize Installed Software Data
- This maintenance task provides the information that is displayed in the Assets and Compliance workspace. When the task runs, Configuration Manager gathers a count for all inventoried software titles at the primary site.
To set the maintenance tasks :
- Navigate to Administration / Site Configuration / Sites
- Select Site Maintenance on the top ribbon
- Select the desired schedule for both tasks
You’re now done installing the AISP.
Part 7 – Certificate Registration Point
We will describe how to install SCCM Certificate Registration Point (CRP).
Role Description
Using SCCM and Intune, the CRP communicates with a server that runs the Network Device Enrollment Service (NDES) to provision device certificate requests.
This is not a mandatory Site System but we recommend to install a CRP if you need to provision client certificates to your devices (like VPN or WIFI).
Prerequisites
Before the CRP can be installed, dependencies outside SCCM is required. I won’t cover the prerequisite configuration in details as they are well documented on this Technet article and it goes beyond SCCM. Here’s an overview of what needs to be done :
- Install the NDES role on a Windows 2012 R2 Server
- Modify the security permissions for the certificate templates that the NDES is using
- Deploy a PKI certificate that supports client authentication
- Locate and export the Root CA certificate that the client authentication certificate chains to
- Increase the IIS default URL size limit
- Modify the request-filtering settings in IIS
On the machine that will receive the CRP role, install the following using Windows server role and features:
- IIS
- ASP .NET 3.5
- ASP .NET 4.5
- WCF HTTP Activation
If you are installing CRP on a remote machine from the site server, you will need to add the machine account of the site server to the local administrator’s group on the CRP machine.
Site System Role Placement in Hierarchy
The Certificate Registration Point must not be installed on the same server that runs the Network Device Enrollment Service. It’s supported to install this role on a Central Administration Site, child Primary Site or stand-alone Primary Site but it’s not supported on a Secondary Site.
CRP Installation
- Open the SCCM console
- Navigate to Administration / Site Configuration / Servers and Site System Roles
- Right click your Site System and click Add Site System Roles
- On the General tab, click Next
- On the Proxy tab, click Next
- On the Site System Role tab, select Certificate Registration Point, click Next
- On the Certificate Registration Point Properties, leave the default website name and virtual application name. Take note of your Virtual Application Name, you will need it later.
- Click on Add
- Enter the URL of your NDES server
- This URL will be part of the profile send to the devices. The device will needs to access this URL from the internet
- Example : https://ndes.systemcenterdudes.com/certsrv/mscep/mscep.dll
- Enter the path to your exported Root CA Certificate (.cer file)
- Once completed, click on Next, review the Summary and close the wizard
Verification and Logs files
- ConfigMgrInstallationPathLogscrpmsi.log – Detailed CRP Installation status
- Using a browser, verify that you can connect to the URL of the certificate registration point—for example, https://crp.systemcenterdudes.com/CMCertificateRegistration
- HTTP Error 403 is ok. If you have a 404 error or 500 error, look at the logs file before continuing
- After the CRP is installed, the system will export the certificate that will be used for NDES plugin to the certmgr.box folder. It may take up to 1 hour to appear.
- Save this .cer file on the NDES server as we will need it in the next section.
Configuration Manager Policy Module
Now that the Certificate Registration Point has been installed, we must install a plug-in on the NDES server to establish the connection with SCCM.
On the server that runs the Network Device Enrollment Service :
- Copy the SMSSETUPPOLICYMODULEX64 folder from the the Configuration Manager installation media to a temporary folder
- From the temporary folder, run PolicyModuleSetup.exe
- Click Next, accept the license terms and click Next
- On the Installation Folder page, accept the default installation folder click Next
- On the Certificate Registration Point page, specify the URL of the Certificate Registration Point. This is the Virtual Application Name created during the SCCM role installation (Example : https://crp.systemcenterdudes.com/CMCertificateRegistration)
- Accept the default port of 443, click Next
- On the Client Certificate for the Policy Module page, browse to and specify the client authentication certificate. This is the same certificate you used in the CRP Installation wizard in SCCM
- On the Certificate Registration Point Certificate page, click Browse to select the exported certificate file (the one exported from inboxescertmgr.box)
- Click Next and complete the wizard
- Open the registry editor and browse to HKLMSOFTWAREMicrosoftCryptographyMSCEP
- Make sure that the values of EncryptionTemplate, GeneralPurposeTemplate and SignatureTemplate match the names of the template on your CA
- Open Internet Explorer on the NDES server and browse to https://ndes.systemcenterdudes.com/certsrv/mscep/mscep.dll, you will no longer see the web page but instead you should see an error 403, this is expected
Once all the above has been configured and verified, you are ready to create your certificate profile in SCCM.
References
Here are my favourites articles covering the subject :
- Technet Article
- Configuration Team Blog article
- Pieter Wigleven’s installation (Technical Solution Professional at Microsoft)
- Peter van der Woude’s key configuration steps
Part 8 – Distribution Point Installation
In this part, we will describe how to perform an SCCM distribution point installation.
I saw a lot of posts recently on the Technet forum which leads me to think that there’s a lack of documentation explaining this.
Introduction
Several distribution points can provide better access to available software, updates, and operation systems. A local Distribution Point also prevents the installation thought the WAN.
Pre-Requisites
- Functional SCCM hierarchy
- SCCM Admin console access
- RDP access on the Distribution Point server
- The required level of security in the SCCM console
Distribution point server configuration
Prevent package from replication on the wrong drive
- Logon locally on the target machine with remote desktop
- Create an empty file called NO_SMS_ON_DRIVE.SMS on the root of each drive where SCCM should NOT write. (If any)
Local Administrator group
On the DP, add a group that contains your site system computer account in the Administrators group.
I like to create a SCCM system groups that contain all my distribution points.
- Open Server Manager
- Expand Local Users and Groups
- Click on Groups
- Double-click on “Administrators”
- Add the security groups that contain the SCCM computer account
Windows Server configuration – Roles and Features
Configuration Manager requires some roles and features to be installed on the server prior to the DP installation
Remote Differential Compression
- Open Server Manager, on the Features node, starts the Add Features Wizard.
- On the Select Features page, select Remote Differential Compression
IIS
IIS needs to be installed on the server but it will automatically be installed using the site installation wizard.
Make sure that these roles are installed on your server prior to the installation :
- IIS WMI Compatibility tool
- IIS Scripting Tool
Windows Deployment Service
For Windows Server 2012+, WDS is installed and configured automatically when you configure a distribution point to support PXE or Multicast.
For Windows Server 2003, you must install and configure WDS manually.
BITS
The distribution point site system role does not require Background Intelligent Transfer Service (BITS). When BITS is configured on the distribution point computer, BITS on the distribution point computer is not used to facilitate the download of content by clients that use BITS
Microsoft Visual C++ 2008 Redistributable
You can run the Microsoft Visual C++ 2008 Redistributable Setup from the Configuration Manager installation at: <ConfigMgrInstallationFolder>Clientx64vcredist_x64.exe
For Configuration Manager SP1, vcredist_x64.exe is installed automatically when you configure a distribution point to support PXE.
Powershell 3.0
For Windows 2012 only, you need to enable Powershell 3.0 (or further) before installing the distribution point.
Firewall
Ensure that your firewall is set correctly. 2 ports need to be opened.
Distribution Point site server installation
Reboot your server to avoid the case where your server is in “Reboot pending State” which will result in unexpected reboot during distribution point installation.
Now that the Distribution point server is ready to receive a new role, we need to add the server to the site server list
Add new distribution point server to the SCCM console – Site System
- In the Configuration Manager console, click Administration
- In the Administration workspace, expand Site Configuration, and then right click Servers and Site System Roles.
- Select Create Site System Server. The Create Site System Server Wizard opens.
- On the General page, specify the Name for the site system server
- Select the Site Code and Click Next
- Do not specify a proxy server, click Next
- Select Distribution point in the role selection screen, click Next
- Check Install and configure IIS if required by CM
- Add a description if needed
- Select HTTP
- Select Create self-signed certificate, click Next
- Set drive configuration to your needs. This is where the SCCMContentLib will be created so select a drive with enough storage space, click Next
- Do not configure a pull distribution point, click Next
- Do not configure PXE for now, click Next
- Do not enable multicast for now, click Next
- Enable content validation to occur where it fits your environment, click Next
- Add the boundary group that needs to be associated with this DP and Uncheck the Allow fallback source location for content, click Next
- Review the summary page and complete the installation, click Next
WARNING Your remote server may reboot if there’s a missing requirement
At this point, the major part of installation a distribution point server is completed.
Verification
Logs
You can track the installation progress in 2 logs:
- Distmgr.log on the site server
- Smsdpprov.log on the distribution point. (InstallationDriveSMS_DP$SMSLogs)
Windows Explorer
At this point, you will the SCCM file structure created on the site server.
Console
You can also track the installation progress in the SCCM console under Monitoring / Distribution Status / Distribution Point Configuration Status
- Click on your DP
- Click the detail tab on the bottom
- Check for green check mark on all components
Note: Error on the IIS Virtual directory is normal at the start of the process. SCCM is making a check as if IIS is installed at the start of the process even if you tell SCCM to enable you IIS for you. That results in errors but be patient and the installation should succeed anyway
- Verify the status of your new DP in Administration / System Status / Site Status
Replicate content
You can now replicate your content to your newly created DP. Replicate manually all your content or add your DP in an existing DP group.
Replicate a package or Application to your newly created site system
Verify that the content is well replicated in the SCCM Console. (or check distmgr.log)
That’s it ! You’re done creating your DP.
Distribution Point Monitoring
If you have multiple Distribution Points, I suggest you read our post on 8 ways to monitor your distribution points. This post explains in detail the various options to make sure that your DP is healthy.
You can also check our custom report about Distribution Point Monitoring to display all your DP status using a single click.
Part 9 – Endpoint protection point
In this part, we will describe how to install SCCM Endpoint Protection Point (EPP).
Role Description
The Endpoint Protection Point provides the default settings for all antimalware policies and installs the Endpoint Protection client on the Site System server to provide a data source from which the SCCM database resolves malware IDs to names. When you install this Site System Role, you must accept the license terms for System Center 2012 R2 Endpoint Protection.
This is not a mandatory Site System but you need to install a EPP if you’re planning to use SCCM as your anti-virus management solution (using Endpoint Protection).
Site System Role Placement in Hierarchy
This Site System is a hierarchy-wide option. SCCM supports a single instance of this site system role in a hierarchy and only at the top-level site in the hierarchy. It’s supported to install this role on a Central Administration Site or stand-alone Primary Site.
Requirements
Before installing the EP role, you must have a Software Update Point installed and configured.
EPP Installation
- Open the SCCM console
- Navigate to Administration / Site Configuration / Servers and Site System Roles
- Right-click your Site System and click Add Site System Roles
- On the General tab, click Next
- On the Proxy tab, click Next
- On the Site System Role tab, select Endpoint Protection Point, click Next
- Accept the License Terms and click Next
- Select Do not join MAPS, click NEXT
• On the Summary tab, review your settings and click Next
- Wait for the setup to complete and click Close
SUP Configuration
After the installation, you must add Endpoint Protection definition files in your Software Update Point.
- Open the SCCM console
- Navigate to Administration / Site Configuration / Servers and Site System Roles
- Click the Configure Site Components button and select Software Update Point
- On the Product tabs, check Forefront Endpoint Protection 2010 and click Ok
Verification
- ConfigMgrInstallationPathLogsEPSetup.log – Detailed EP Installation status
- ConfigMgrInstallationPathLogsWsyncmgr.log – SUP Synchronization status
You are now ready to manage EndPoint Protection using SCCM. We have a complete guide to managing endpoint protection. You can download it from our product page.
Part 10 – Enrollment Point Installation
We will describe how to install SCCM Current Branch Enrollment Point and Enrollment Proxy Point site system roles.
Role Description
The Enrollment Point uses PKI certificates for Configuration Manager to enroll mobile devices, Mac computers and to provision Intel AMT-based computers.
The Enrollment Proxy Point manages Configuration Manager enrollment requests from mobile devices and Mac computers.
This is not a mandatory site system but you need both Enrollment Point and Enrollment Proxy Point if you want to enroll legacy mobile devices, Mac computers and to provision Intel AMT-based computers. Since modern mobile devices are mostly managed using Windows Intune, this post will focus mainly on Mac computer enrollment.
Site System Role Placement in Hierarchy
The SCCM Enrollment Point and Enrollment Proxy Point are site-wide options. It’s supported to install those roles on a stand-alone or child Primary site. It’s not supported to install it on a Central Administration site or Secondary site.
You must install an SCCM Enrollment Point in the user’s forest so that the user can be authenticated if a user enrolls mobile devices by using SCCM and their Active Directory account is in a forest that is untrusted by the site server’s forest.
When you support mobile devices on the Internet, as a security best practice, install the Enrollment Proxy Point in a perimeter network and the Enrollment Point on the intranet.
Prerequisites
Beginning with System Center 2012 Configuration Manager SP2, the computer that hosts the SCCM Enrollment Point or Enrollment Proxy Point site system role must have a minimum of 5% of the computers available memory free to enable the site system role to process requests. When those site system role are co-located with another site system role that has this same requirement, this memory requirement for the computer does not increase, but remains at a minimum of 5%.
Using Windows Server 2012, the following features must be installed before the role installation:
Enrollment Point
Features:
- .NET Framework 3.5
- .NET Framework 4.5
- HTTP Activation (and automatically selected options)
- ASP.NET 4.5
- Common HTTP Features
- Default Document
- Application Development
- ASP.NET 3.5 (and automatically selected options)
- .NET Extensibility 3.5
- ASP.NET 4.5 (and automatically selected options)
- .NET Extensibility 4.5
- IIS 6 Management Compatibility
- IIS 6 Metabase Compatibility
Enrollment Proxy Point
Features:
- .NET Framework 3.5
- .NET Framework 4.5
- HTTP Activation (and automatically selected options)
- ASP.NET 4.5
IIS Configuration:
- Common HTTP Features
- Default Document
- Static Content
- Application Development
- ASP.NET 3.5 (and automatically selected options)
- ASP.NET 4.5 (and automatically selected options)
- .NET Extensibility 3.5
- .NET Extensibility 4.5
- Security
- Windows Authentication
- IIS 6 Management Compatibility
- IIS 6 Metabase Compatibility
SCCM Enrollment Point Installation
For this post we will be installing both roles on a stand-alone Primary site using HTTPS connections. If you split the roles between different machine, do the installation section twice, once for the first site system (selecting Enrollment Point during role selection)and a second time on the other site system (selecting Enrollment Proxy Point during role selection).
- Open the SCCM console
- Navigate to Administration / Site Configuration / Servers and Site System Roles
- Right click your Site System and click Add Site System Roles
- On the General tab, click Next
- On the Proxy tab, click Next
- On the Site System Role tab, select Enrollment Point and Enrollment Proxy Point, click Next
- On the Enrollment Point tab
- In the IIS Website and Virtualapplication name fields,leave both to the default values
- This is the names that you’ll see in IIS after the installation
- Enter the port number you want to use. The HTTPS setting is automatically selected and requires a PKI certificate on the server for server authentication to the Enrollment Proxy Point and for encryption of data over SSL. For more information about the certificate requirements, see PKI Certificate Requirements for Configuration Manager.
- In the IIS Website and Virtualapplication name fields,leave both to the default values
- On the Enrollment Proxy Point tab,
- The Enrollment point will be populated by default and can’t be changed
- Keep the Website name to it’s default value
- Enter the port and protocol that you want to use
- The Virtual application name can’t be changed. This will be used for client installation (https://servername/EnrollmentServer)
- On the Summary tab, review your settings, click Next and complete the wizard
Verification and Logs files
Logs
You can verify the role installation in the following logs:
- ConfigMgrInstallationPathLogsenrollsrvMSI.log and enrollmentservice.log – Records details of about the Enrollment Point installation
- ConfigMgrInstallationPathLogsenrollwebMSI.log – Records details of about the Enrollment Proxy Point installation
- ConfigMgrInstallationPathLogsenrollmentweb.log – Records communication between mobile devices and the Enrollment Proxy Point
That’s it, you’ve installed your SCCM Enrollment Point, follow this Technet Guide if you want to proceed to next steps for Mac computers enrollment
Part 12 – Fallback Status Point
We will describe how to install SCCM Fallback Status Point (FSP).
Role Description
The FSP helps monitor client installation and identify unmanaged clients that cannot communicate with their management point.
This is not a mandatory Site System but we recommend to install a FSP for better client management and monitoring. This is the Site System that receive State Message related to client installation, client site assignment, and clients unable to communicate with their HTTPS Management Point.
If the FSP is not configured properly you’ll end up having A fallback status point has not been specified errors in your logs.
Site System Role Placement in Hierarchy
This Site System is a hierarchy-wide option. It’s supported to install this role on a child Primary Site or stand-alone Primary Site but it’s not supported on a Central Administration site nor Secondary Site.
FSP Installation
- Open the SCCM console
- Navigate to Administration / Site Configuration / Servers and Site System Roles
- Right click your Site System and click Add Site System Roles
- On the General tab, click Next
- On the Proxy tab, click Next
- On the Site System Role tab, select Fallback Status Point, click Next
- On the Fallback Status Point tab, specify the number of state messages to process. We recommend to leave the default value, click Next
- On the Summary tab, review your setting and click Next
- Wait for the setup to complete and close the wizard
Verification and Logs files
- Smsfspsetup.log – DetailedFSP Installation status
- Fspmgr.log – Verify whether clients are successfully sending state messages to the FSP
You can also check if reports that depend on the FSP are populated with data. See the full list of reports that rely on the FSP here.
Configure clients
Use the FSP client properties to point your clients to your newly created FSP
- Navigate to Administration / Site Configuration / Site
- Click the Client Installation Setting icon on the ribbon
- Select Client Push Installation
- On the Installation Properties tab
- Enter your server FQDN in the FSP properties
Part 13 – Management Point Installation
We will describe how to install an SCCM Management Point (MP).
Role Description
Every SCCM hierarchy must have a Management Point to enable client communication. The Management Point is the primary point of contact between Configuration Manager clients and the site server. Management Points can provide clients with installation prerequisites, configuration details, advertisements and software distribution package source file locations. Additionally, Management Points receive inventory data, software metering information and state messages from clients.
Multiple Management Points are used for load-balancing traffic and for clients to continue receiving their policy after Management Point failure. Read about SCCM High-Availability options in this Technet article.
Prior to SCCM 2012 R2 SP1, it was not possible to assign client directly to a specific Management Point. It’s now possible using the new Preferred Management Point feature. Read about how clients choose their Management Point in this Technet article.
Site System Role Placement in Hierarchy
The Management Point is a site-wide option. It’s supported to install this role on a stand-alone Primary site, child Primary site or Seconday site. It’s not supported to install a Management Point on a Central Administration site.
Each primary site can support up to 10 Management Points.
By default, when you install a Secondary site, a Management Point is installed on the Secondary site server. Secondary sites do not support more than one Management Point and this Management Point cannot support mobile devices that are enrolled by Configuration Manager.
See the full Supported Configuration in the following Technet article.
Prerequisites
On Windows 2012, the following features must be installed before the Management Point Installation:
Features:
- .NET Framework 4.5
- BITS Server Extensions or Background Intelligent Transfer Services (BITS)
IIS Configuration:
- Application Development
- ISAPI Extensions
- Security
- Windows Authentication
- IIS 6 Management Compatibility
- IIS 6 Metabase Compatibility
- IIS 6 WMI Compatibility
SCCM Management Point Installation
- Open the SCCM console
- Navigate to Administration / Site Configuration / Servers and Site System Roles
- Right click your Site System and click Add Site System Roles
- On the General tab, click Next
- On the Proxy tab, click Next
- On the Site System Role tab, select Management Point, click Next
- On the Management Point tab
- Select the desired client connections methods. HTTPS required to have a valid PKI certificate for client authentication
- Click Next
- On the Management Point Database tab, specify if you want to use the site database or a database replica. Read about database replica here
- Specify if you want to use the computer account of the Management Point to connect to the database or a specified account
- On the Summary tab, review your settings, click Next and complete the wizard
Verification and Logs files
You can verify the installation in the following logs:
- ConfigMgrInstallationPathLogsmpMSI.log – Records details of about the management point installation
- ConfigMgrInstallationPathLogsMPSetup.log.log – Records the management point installation wrapper process
Part 14 – Reporting Point Installation
We will describe how to install a SCCM Current Branch reporting services point.
This role can be installed on a remote machine, the process is the same but the location of the logs is different.
Requirements
Before you can install the reporting services point role you must configure SQL correctly.
We’ll be using SQL 2012 on this post. We are assuming that SQL is already installed and that your SCCM site is up and healthy.
During the initial SQL installation, you must select Reporting Services.
If you have installed SQL Server, but have not installed Reporting Services follow the following steps. If Reporting Services is already installed, skip to the “Configure Reporting Services” section.
- Launch the SQL Server 2012 installation from the media.
- Click the Installation link on the left to view the Installation options.
- Click the top link, New SQL Server stand-alone installation or add features to an existing installation.
- Follow the SQL Server Setup wizard until you get to the Installation Type screen.
- Select Add features to an existing instance of SQL Server 2012.
- Click Next to move to the Feature Selection page.
- Select Reporting Services – Native
- At the Reporting Services Configuration page
- Select Install Only
Continue through the wizard and reboot the computer at the end of the installation if instructed to do so.
Configure Reporting Services
Before configuring the reporting point, some configuration needs to be made on the SQL side. The virtual instance needs to be created for SCCM to connect and store its reports.
If you installed Reporting Services during the installation of the SQL Server instance, SSRS will be configured automatically for you. If you install SSRS later, then you will have to go back and configure it as a subsequent step.
To configure, Open Reporting Services Configuration Manager
- Click Start > All Programs > Microsoft SQL Server > Configuration Tools > Reporting Services Configuration Manager
- Click Connect to connect to the SQL instance
- On the left-hand side of the Reporting Services Configuration Manager, click Database.
- Click the Change Database button
- Select Create a new report server database and click Next
This wizard creates two databases: ReportServer, used to store report definitions and security, and ReportServerTempDB which is used as scratch space when preparing reports.
- Click the Web Service URL tab
- Click Apply
This step sets up the SSRS web service. The web service is the program that runs in the background that communicates between the web page, which you will set up next, and the databases.
- Select the Report Manager URL
- Accept the default settings and click Apply.
If the Apply button was already grayed out, this means the SSRS was already configured. This step sets up the Report Manager web site where you will publish reports
Exit Reporting Service Configuration Manager.
Add Reporting Services Point role in SCCM
- Open the SCCM console
- Navigate to Administration/Site/Configuration/Servers and Site System Roles
- Right-click on your Site Server and click Add system Roles
- On the General tab, click Next
- On the Proxy tab, Click Next
- On the Site System Role, select Reporting Services Point, Click Next
- On Rethe porting Services setting tab
- Click Verify
- At the bottom, Add an account to use for the reporting point. This account needs to have access to the SCCM DB
- Click Next
- Wait for the process to complete and close the wizard
Recovery Model
Using the simple recovery model improves performance and saves your server hard drive and possibly a large transaction log file.
To change the Recovery Model of the ReportingDB to Simple
- Open SQL Management Studio
- Right-click on the ReportServer database and select Properties
- Go to the Options page
- Under Recovery model select Simple
- Click OK
Verification
Logs
Check for the following logs for reporting point installation status. Both logs are under the SCCM logs file locations.
- Srspsetup.log
- Srsrpmsi.log
If your reporting point is installed on a remote server look for the logs in :
Drive:SMSLogs
Console
Open Monitor/Reporting/Reports node. Verify that your reports are listed
Web Browser
Open Internet Explorer, navigate to http://yourservername/Reports
If everything went well, you’ll have a folder Config_SiteCode containing your reports
SQL
If you check your SQL instance, you’ll see the 2 new database which were created by the installation.
- Open SQL Management Studio
- Locate ReportServer and ReportServerTempDB
Happy reporting! 🙂
Part 15 – Software Update Point Installation
We will describe how to install SCCM Current Branch Software Update Point (SUP).
Role Description
The SUP integrates with Windows Server Update Services (WSUS) to provide software updates to Configuration Manager clients.
This is not a mandatory Site System but your need to install a SUP if you’re planning to use SCCM as your patch management platform.
Site System Role Placement in Hierarchy
This Site System is a site-wide option. It’s supported to install this role on a Central Administration Site, child Primary Site, stand-alone Primary Site and Secondary Site.
When your hierarchy contains a Central Administration Site, install a Software Update Point and synchronizes with Windows Server Update Services (WSUS) before you install a SUP at any child’s Primary Site.
When you install a Software Update Point at a child Primary Site, configure it to synchronize with the SUP at the Central Administration Site.
Consider installing a SUP in Secondary Site when data transfer across the network is slow.
Remote WSUS Warning
The WSUS Administration Console is required on the Configuration Manager site server when the software update point is on a remote site system server and WSUS is not already installed on the site server. The WSUS version on the site server must be the same as the WSUS version running on the software update points.
When using WSUS 3.0 (on server 2008, it was possible to install the console only). This has changed with 2012 and 2016. One way to do it is to add the Windows Software Update Services role and deselecting Database and WID Database. The problem is that will still cause some trouble with the post-install task.
The recommended way to do it :
- Start PowerShell Console (as Administrator)
- Run : Install-WindowsFeature -Name UpdateServices-Ui
This will install the console only and not run a post-install task.
Perform the following on the server that will host the SUP role.
- Open Server Manager / Add Roles and Features
- Select the Windows Server Update Services Role, click Next
- Select WSUS Services and Database, click Next
- Launch Windows Server Update Services from the Start Menu. You will be prompt with the following window :
- On the DB instance, enter your server name
- On Content directory path, use a drive with enough drive space. This is where your WSUS will store updates
- When the WSUS Configuration Wizard starts, click Cancel
- Open SQL Management Studio
- Under Databases, Right-click SUSDB, select Properties and click Files
- Change Owner to SA
- Change the Autogrowth value to 512MB, click Ok and close SQL MS
Software Update Point Installation
- Open the SCCM console
- Navigate to Administration / Site Configuration / Servers and Site System Roles
- Right-click your Site System and click Add Site System Roles
- On the General tab, click Next
- On the Proxy tab, click Next
- On the Site System Role tab, select Software Update Point, click Next
- On the Software Update Point tab, select WSUS is configured to use ports 8530 and 8531, click Next
- On the Proxy and Account Settings tab, specify your credentials if necessary, click Next
- On the Synchronization Source tab, specify if you want to synchronize from Microsoft Update or an upstream source. Refer to the Site System Placement section if you’re unsure. For a stand-alone Primary Site, select Synchronize from Microsoft Update, click Next
- On the Synchronization Schedule tab, check the Enable synchronization on a schedule checkbox and select your desired schedule. 1 day is usually enough but it can be lowered if you’re synchronizing Endpoint Protection definition files, click Next
- On the Supersedence Rules tab, select Immediately expire a superseded software update, click Next
- On the Classifications tab, select your organization needs, click Next
- Full description on this Microsoft Support Article
- On the Products tabs, select the products that you want to manage using SCCM, click Next
- On the Languages tab, select the desired language, click Next
- On the Summary tab, review your settings, click Next, wait for the setup to complete and click Close
Verification
- ConfigMgrSetupLogsSUPSetup.log -Provides information about the software update point installation. When the software update point installation completes, Installation was successful is written to this log file
- ConfigMgrSetupLogsWCM.log – Provides information about the software update point configuration and connecting to the WSUS server for subscribed update categories, classifications, and languages
- ConfigMgrSetupLogsWSUSCtrl.log – Provides information about the configuration, database connectivity, and health of the WSUS server for the site
- ConfigMgrSetupLogsWsyncmgr.log – Provides information about the software updates synchronization process
Bonus link : I suggest that you read the excellent article written by Kent Agerlund on how to avoid what he calls the House of Cards
Part 16 – State Migration Point Installation
We will describe how to install SCCM Current Branch State Migration Point (SMP).
Role Description
The State Migration Point stores user state data when a computer is migrated to a new operating system.
This is not a mandatory Site System but you need a State Migration Point if you plan to use the User State steps in your Task Sequence. These steps integrate with User State Migration Tools (USMT) to backup your user data before applying a new operating system to a computer.
Site System Role Placement in Hierarchy
The State Migration Point is a site-wide option. It’s supported to install this role on a child Primary Site, stand-alone Primary Site or Seconday Site. It’s not supported to install it on a Central Administration site.
The State Migration Point can be installed on the site server computer or on a remote computer. It can be co-located on a server that has the distribution point role.
SCCM State Migration Point Installation
- Open the SCCM console
- Navigate to Administration / Site Configuration / Servers and Site System Roles
- Right-click your Site System and click Add Site System Roles
- On the General tab, click Next
- On the Proxy tab, click Next
- On the Site System Role tab, select State Migration Point, click Next
- On the State Migration Point tab
- Click the star icon, specify the folder where you want the data to be stored and how much space must be reserved on the drive
- Specify the Deletion Policy. This is the delay to keep the data after a successful restore.
- Enable Restore-Only mode if needed. Use this setting if you want your SMP to be in read-only mode. This is useful if you replace or decommission an existing SMP
- On the Boundary Groups tab, add the boundary group that can access the State migration Point. If you add the role on a site system that already has the Distribution Point role, the boundary group of this DP will already be listed
- On the Summary tab, review your settings, click Next and complete the wizard
Verification and Logs files
You can verify the installation in the following logs:
- ConfigMgrInstallationPathLogsSmssmpsetup.log – Detailed State Migration Point Installation status
- ConfigMgrInstallationPathLogsSmpmsi.log – Provides information about the State Migration Point
If you have any error in the installation process refer to this post that explains the permission needed for the SMP to install correctly.
Create the USMT Package
To store the user state data on a State Migration Point, you must create a package that contains the USMT source files. This package is specified when you add the Capture User State step to your task sequence.
- On your SCCM Server where you installed Windows Deployment Toolkit, browse to : C:Program Files (x86)Windows Kits8.1Assessment and Deployment KitUser State Migration Tool
- If you don’t have this folder, it’s because you haven’t installed the USMT (included in Windows ADK) during your SCCM Installation
- Copy the folder content in your Content Library (In my example D:SourcesOSDUSMT)
- Open the SCCM Console
- Go to Software Library / Application Management / Packages
- Right-click Packages and select Create a new package
- Enter the Name, Manufacturer, Language
- Check the This package contains source files check-box and specify your source folder (D:SourcesOSDUSMT)
- Click Next
- On the Program Type tab, select Do not create a program and click Next
- Complete the Create Package wizard
The State Migration Point and the USMT package are now ready for use in an OSD Task Sequence using the Capture User State and Restore User State steps.
Part 17 – System Health Validator Point
We will describe how to install SCCM Current Branch System Health Validator Point (SHVP).
Role Description
The System Health Validator Point validates Configuration Manager Network Access Protection (NAP) policies.
This is not a mandatory site system but you need a System Health Validator Point if you plan to use NAP evaluation in your software update deployments. This site system integrates with an existing NAP server in your infrastructure.
Site System Role Placement in Hierarchy
The System Health Validator Point is a hierarchy-wide option. It’s supported to install this role on a Central Administration site, stand-alone Primary site, child Primary site. It’s not supported to install it on a Seconday site. The System Health Validator Point must be installed on a NAP health policy server.
SCCM System Health Validator Point Installation
- Open the SCCM console
- Navigate to Administration / Site Configuration / Servers and Site System Roles
- Right click your Site System and click Add Site System Roles
- On the General tab, click Next
- On the Proxy tab, click Next
- On the Site System Role tab, select System Health Validator Point, click Next
- On the System Health Validator tab, click Next
- There are no properties to configure for this site system role
- On the Summary tab, review your settings, click Next and complete the wizard
Verification and Logs files
You can verify the installation in the following logs:
- ConfigMgrInstallationPathLogsSMSSHVSetup.log – Detailed System Health Validator Point installation status
Configure Client Settings
In order to enable Network Access Protection on your clients, you must configure your client settings :
- Open the SCCM console
- Browse to Administration / Client Settings
- Create a new client settings, select Network Access Protection on the left and choose Yes under Enable Network Access Protection on clients
- Select the desired NAP re-evaluation schedule and click Ok
In case you’re used to NAP in SCCM 2007 and looking for a Network Access Protection node in the console, the 2012 version of NAP is slightly different.
From Technet:
The New Policies Wizard is no longer available to create a NAP policy for software updates: The Network Access Protection node in the Configuration Manager console and the New Policies Wizard are no longer available in System Center 2012 Configuration Manager. To create a NAP policy for software updates, you must select Enable NAP evaluation on the NAP Evaluation tab in software update properties.
Part 18 – Service Connection Point Installation
We will describe how to perform an SCCM Service Connection Point Installation. The Service Connection Point is a new site system role that serves several important functions for the SCCM hierarchy.
It might affect how you configure this site system role:
- Manage mobile devices with Microsoft Intune– This role replaces the Windows Intune connector used by previous versions of SCCM, and can be configured with your Intune subscription details
- Manage mobile devices with on-premises MDM– This role provides support for on-premises devices you manage that do not connect to the Internet
- Upload usage data from your Configuration Manager infrastructure– You can control the level or amount of detail you upload
- Download updates that apply to your Configuration Manager infrastructure – Only relevant updates for your infrastructure are made available, based on usage data you upload
Site System Role Placement in Hierarchy
Each hierarchy supports a single instance of this role. The site system role can only be installed at the top-tier site of your hierarchy (On a Central Administration Site or a stand-alone Primary Site).
SCCM Service Connection Point Installation
The SCCM 1511 installation or upgrade wizard will ask to install the Service Connection Point. If you select to skip the role installation, you can manually add it to SCCM using the following steps.
- Go to Administration / Site Configuration / Servers and Site System Roles
- Right-click the Site System you wish to add the role
- Click Add Site System Role in the Ribbon
- On the General tab, click Next
- On the Proxy tab, click Next
- On the Site System Role tab, select Service Connection Point and click Next
- On the Service Connection Mode, select the desired option :
- In Online mode, the Service Connection Point automatically downloads updates that are available for your current infrastructure and product version, making them available in the SCCM console
- In Offline mode, the Service Connection Point does not connect to the Microsoft cloud service and you must manually use the service connection tool when your Service Connection Point is in Offline mode to import available updates
- On the Summary screen, wait for the setup to complete and close the wizard
Verification and Logs files
- ConnectorSetup.log –Information about role installation and that the Service Connection Point was created successfully
Now that all our site servers are installed, we are now ready to configure the various aspect of SCCM.
Part 19 – Plan and Configure Boundaries
We will start our configuration with the SCCM boundaries. First, let’s define what a boundary in SCCM is :
From Technet :
In MEMCM/SCCM, a boundary is a network location on the intranet that can contain one or more devices that you want to manage. Boundaries can be an IP subnet, Active Directory site name, IPv6 Prefix, or an IP address range, and the hierarchy can include any combination of these boundary types. To use a boundary, you must add the boundary to one or more boundary groups. Boundary groups are collections of boundaries. By using boundary groups, clients on the intranet can find an assigned site and locate content when they have to install software, such as applications, software updates, and operating system images.
A boundary does not enable clients to be managed at the network location. To manage a client, the boundary must be a member of a boundary group. Simple Boundaries on do nothing, they must be added to one or more boundary groups in order to work.
A boundary group is self-explanatory, it’s a group of boundaries used for site assignment and for content location. Beginning with SCCM 2012 R2 SP1, a boundary group can direct your clients to their Distribution Points for content, State Migration Point, Preferred Management Point and Software Update Point. Prior to R2 SP1, Content location is used by client to identify available Distribution Points or State Migration Point based on the client network location.
To resume :
- Site Assignment boundary group associate a resource to a site
- Content Location boundary group is used to retrieve its deployment content (applications, packages, images, etc)
Planning for SCCM Boundaries and Boundary Groups
Before designing your strategy choose wisely on which boundary type to use.
If you’re unsure of which type of boundary to use you can read Jason Sandys excellent post about why you shouldn’t use IP Subnet boundaries.
Microsoft recommends the following :
- When designing your boundary strategy, we recommend you use boundaries that are based on Active Directory sites before using other boundary types. Where boundaries based on Active Directory sites are not an option, then use IP subnet or IPv6 boundaries. If none of these options are available to you, then leverage IP address range boundaries. This is because the site evaluates boundary members periodically, and the query required to assess members of an IP address range requires a substantially larger use of SQL Server resources than queries that assess members of other boundary types
- It’s also recommended to split your Site Assignment and Content location group
Overlapping Boundaries
SCCM Current Branch supports overlapping boundary configurations for content location.
When a client requests content, and the client network location belongs to multiple boundary groups, Configuration Manager sends the client a list of all Distribution Points that have the content.
This behavior enables the client to select the nearest server from which to transfer the content or state migration information.
Real World Scenario
In our various SCCM installations, our clients are often confused about this topic. Let’s make an example to help you understand :
- Contoso has 1000 clients
- 1 Primary Site (Montreal)
- 3 remote offices with their local Distribution Point (New York, Chicago, Los Angeles)
- Active Directory Site are based on their site subnets (MTL,NY,CHI,LA)
In that scenario, we need to create 4 Boundary, 1 for each office :
Boundary | Type |
---|---|
MTL | Active Directory Site |
NY | Active Directory Site |
CHI | Active Directory Site |
LA | Active Directory Site |
- Open the SCCM Console
- Go to Administration / Hierarchy Configuration / Boundary
- Right-click Boundaries and select Create Boundary
- Create the boundary, in our example we’ll create 4 different boundary for my 4 locations using their Active Directory Sites
- Tip : If you have multiples Active Directory Sites, IP Ranges or Subnets, you can enable Active Directory Forest Discovery which can create them automatically
Create Boundary Group
Now, we’ll create a Site Assignment Boundary Group and add all those AD Site. That way, all my clients for my 4 locations will be assigned to my Montreal Primary Site.
For Content Location, we want clients to get their content locally at their respective location. We will create 4 Content Boundary groups, add only their AD Site Boundary and assign their local Distribution Point.
Name | Boundary | Site System |
---|---|---|
MTL — Content Location | MTL | DPMTL01 |
NY — Content Location | NY | DPNY01 |
CHI — Content Location | CHI | DPCHI01 |
LA — Content Location | LA | DPLA01 |
Here’s how to make this happen in SCCM :
- Open the SCCM Console
- Go to Administration / Hierarchy Configuration / Boundary Groups
- Right-click Boundary Groups and select Create Boundary Groups
Create Site Assignement Boundary Group
- We’ll start by creating a group for Site Assignment : SA – MTL
- Click the Add bouton on the bottom
- On the Add Boundaries screen, select all boundaries. This will direct all my clients to the Primary Site located in Montreal for Site Assignment
- On the References tab, check the Use this boundary group for site assignment box
- Select your assigned site. In my case : MTL
- Click Ok
Create Content Location Boundary Group
- Right-click Boundary Groups and select Create Boundary Groups
- We’ll name our group Content Location – MTL
- Click on Add
- Select only the MTL boundary
- The MTL boundary will be listed
- On the References tab, uncheck the Use this boundary group for site assignment box
- Click on Add at the bottom
- Select the Site System that host the Distribution Point role for the Montreal site. For our example DPMTL01
- Click Ok
- Repeat the steps for the other sites (New York, Chicago, Los Angeles)
- Once completed our clients are assigned to their local respective Site Systems
This is a simple but typical scenario. You can have multiples boundaries and Site System in your Boundary Groups if needed.
Part 20 – Configure Client Settings
This part will explain how to create a custom SCCM client settings and how to deploy it.
Client settings are used to configure your deployed agents. This is where you decide any configuration like :
- Enabling hardware inventory agent
- Enabling power settings options
- Enable cloud services
- Set scan schedules
- BITS throttling
- Ect..
In previous versions of SCCM, client settings were specific to the site. You had 1 client settings that applied to all your hierarchy. In SCCM you can specify clients setting at the collection level. You can have different settings for specific collections, overlapping settings are set using a priority setting.
When you modify the Default Client Settings, the settings are applied to all clients in the hierarchy automatically. You do not need to deploy the Default Client Settings to apply it. By default, it has a 10000 priority value (This is the lower priority). All other custom client settings can have a priority value of 1 to 9999 which will always override the Default Client Settings. (The higher Priority is 1).
We won’t explain each client’s settings and their descriptions. The Technet documentation is pretty clear and many of the client settings are self-explanatory. We cannot make any recommendations either as each environment has its own needs and limitations. If you have any questions concerning a specific setting, use the comment section and we’ll try to help you so you can make the right decision for your organization.
How to Create Custom Client Device Settings
When you deploy a custom client settings, they override the Default Client Settings.
Before you begin, ensure that you created a collection that contains the devices that require these custom client settings.
For our blog post, we will set the Client Policy polling interval to 15 minutes.
- Open the SCCM console
- Go to Administration / Client Settings
- On the top ribbon, click Create Custom Client Device Settings
- In the Create Custom Device Settings page, specify a name for the custom settings and description
- Select one or more of the available settings. We will select Client Policy
- On the left pane, Client Policy will be displayed, click on it
- We will set the Client Policy polling interval to 15 minutes
- Click Ok
- Your newly created setting will be displayed in the console
Set the Client Settings priority
When you create a new client setting, it automatically takes the next available priority. (Beginning with 1) Before deploying it, make sure that your priority is well set for your needs. A higher priority (1) will override any settings with a lower priority. (9999). Don’t get confused 1 is higher !
To change the priority number :
- On the top ribbon, select your client settings and click Increase Priority or Decrease Priority
- You can see each client settings priority and if they are deployed in the same section
How to deploy a client settings
Now that your client settings are created, you need to deploy it to a collection. This new client settings will apply to only this collection and depending on the priority, will override the settings.
- Select the custom client settings that you have just created
- On the top ribbon, click Deploy
- In the Select Collection dialog box, select the collection that contains the devices to be configured with the custom settings, and then click Ok
- You can verify the selected collection if you click the Deployments tab on the bottom of the console
How to apply
Client computers will apply your custom settings when they download their next client policy. You can trigger it manually to speed up the process.
Manually on the client
- In Control Panel, click on the Configuration Manager icon
- In the Action tab, select Machine Policy Retrieval & Evaluation Cycle
- Click Run now
Using the SCCM Console
To initiate client policy retrieval by using client notification (Configuration Manager SP1+ only)
- In the SCCM console
- Go to Assets and Compliance / Device Collections
- Select the device collection containing the computers that you want to download policy
- Right-click a single device or the whole collection and select Client Notification and then Download Computer Policy
How to verify your Client Settings
It’s possible to see which client settings are applied to a specific client. You must use the Resultant Client Settings function in the SCCM console.
We already cover this in a previous article.
Part 21 – Configure Discovery Methods
After you completed your SCCM installation, you certainly want to start managing some systems. The effective way to add them in SCCM is to configure SCCM discovery methods. This blog article will explain the various discovery methods and will describe how to configure it.
What is SCCM Discovery Methods
Here’s the official discovery methods definition from Technet :
SCCM discovery methods identifies computer and user resources that you can manage by using Configuration Manager. It can also discover the network infrastructure in your environment. Discovery creates a discovery data record (DDR) for each discovered object and stores this information in the Configuration Manager database.
When discovery of a resource is successful, discovery puts information about the resource in a file that is referred to as a discovery data record (DDR). DDRs are in turn processed by site servers and entered into the Configuration Manager database where they are then replicated by database-replication with all sites. The replication makes discovery data available at each site in the hierarchy, regardless of where it was discovered or processed. You can use discovery information to create custom queries and collections that logically group resources for management tasks such as the assignment of custom client settings and software deployments. Computers must be discovered before you can use client push installation to install the Configuration Manager client on devices.
In simple words, it means that SCCM needs to discover a device before it can manage them. It’s not mandatory to discover computers, if you manually install the client, it will appear in the console and it can be managed. The problem is that if you have a thousand computers, it can be a fastidious process. By using Active Directory System Discovery, all your computers will be shown on the console, from there you can choose to install the client using various SCCM methods. Of course, if you need information about your users and groups, you need to configure User and Group discovery, it’s the only way to bring this information in SCCM.
There are 5 Types of Discovery Methods that can be configured. Each one targets a specific object type (Computers, Users, Groups, Active Directory) :
Active Directory System Discovery
Discovers computers in your organization from specified locations in Active Directory. In order to push the SCCM client to the computers, the resources must be discovered first. You can specify to discover only computers that have logged on to the domain in a given period of time. This option is useful to exclude obsolete computer accounts from Active Directory. You also have the option to fetch custom Active Directory Attributes. This is useful if your organization store custom information in AD. You can read our blog post concerning this topic.
- Open the SCCM Console
- Go to Administration / Hierarchy Configuration / Discovery Methods
- Right-Click Active Directory System Discovery and select Properties
- On the General tab, you can enable the method by checking Enable Active Directory System Discovery
- Click on the Star icon and select the Active Directory container that you want to include in the discovery process
- On the Polling Schedule tab, select the frequency on which you want the discovery to happen
- A 7-day cycle with a 5 minutes delta interval is usually fine in most environment
- On the Active Directory Attribute tab, you can select custom attributes to include during discovery
- This is useful if you have custom data in Active Directory that you want to use in SCCM
- On the Options tab, you can select to discover only accounts that have logged or updated their passwords since a specific number of days
- This is useful if your Active Directory isn’t clean. Use this to discover only good records
Active Directory Group Discovery
Discovers groups from specified locations in Active Directory. The discovery process discovers local, global or universal security groups. When you configure the Group discovery you have the option to discover the membership of distribution groups. With the Active Directory Group Discovery, you can also discover the computers that have logged in to the domain in a given period of time. Once discovered, you can use group information for example to create deployment based on Active Directory groups.
Be careful when configuring this method: If you discover a group that contains a computer object that is NOT discovered in Active Directory System Discovery, the computer will be discovered. If the automatic client push is enabled, this could lead to unwanted clients’ computers.
To discover resources using this method:
- Open the SCCM Console
- Go to Administration / Hierarchy Configuration / Discovery Methods
- Right-Click Active Directory Group Discovery and select Properties
- On the General tab, you can enable the method by checking Enable Active Directory Group Discovery
- Click on the Add button on the bottom to add a certain location or a specific group.
- Remember : If you discover a group that contains a computer object that is NOT discovered in Active Directory System Discovery, the computer will be discovered.
- On the Polling Schedule tab, select the frequency on which you want the discovery to happen
- A 7-day cycle with a 5 minutes delta interval is usually fine in most environment
- On the Options tab, you can select to discover only accounts that have logged or updated their passwords since a specific number of days
- This is useful if your Active Directory isn’t clean. Use this to discover only good records
Active Directory User Discovery
The discovery process discovers user accounts from specified locations in Active Directory. You also have the option to fetch custom Active Directory Attributes. This is useful if your organization store custom information in AD about your users. Once discovered, you can use group information for example to create user-based deployment.
To discover resources using this method:
- Open the SCCM Console
- Go to Administration / Hierarchy Configuration / Discovery Methods
- Right-Click Active Directory User Discovery and select Properties
- On the General tab, you can enable the method by checking Enable Active Directory User Discovery
- Click on the Star icon and select the Active Directory container that you want to include in the discovery process
- On the Polling Schedule tab, select the frequency on which you want the discovery to happen
- A 7-day cycle with a 5 minutes delta interval is usually fine in most environment.
- On the Active Directory Attribute tab, you can select custom attributes to include during discovery
- This is useful if you have custom data in Active Directory that you want to use in SCCM
Active Directory Forest Discovery
Discovers Active Directory sites and subnets, and creates Configuration Manager boundaries for each site and subnet from the forests which have been configured for discovery. Using this discovery method you can automatically create the Active Directory or IP subnet boundaries that are within the discovered Active Directory Forests. This is very useful if you have multiple AD Site and Subnet, instead of creating them manually, use this method to do the job for you.
To discover resources using this method:
- Open the SCCM Console
- Go to Administration / Hierarchy Configuration / Discovery Methods
- Right-Click Active Directory Forest Discovery and select Properties
- On the General tab, you can enable the method by checking Enable Active Directory Forest Discovery
- Select the desired options
HeartBeat Discovery
Heartbeat Discovery runs on every client and to update their discovery records in the database. The records (Discovery Data Records) are sent to the Management Point in a specified duration of time. Heartbeat Discovery can force the discovery of a computer as a new resource record, or can repopulate the database record of a computer that was deleted from the database.
HeartBeat Discovery is enabled by default and is scheduled to run every 7 days.
To discover resources using this method:
- Open the SCCM Console
- Go to Administration / Hierarchy Configuration / Discovery Methods
- Right-Click Heartbeat Discovery and select Properties
- On the General tab, you can enable the method by checking Enable Heartbeat Discovery
- Make sure that this setting is enabled and that the schedule run less frequently than the Clear Install Flag maintenance task.
Network Discovery
The Network Discovery searches your network infrastructure for network devices that have an IP address. It can search the domains, SNMP devices and DHCP servers to find the resources. It also discovers devices that might not be found by other discovery methods. This includes printers, routers, and bridges.
We won’t go into detail of this discovery method as it’s old and depreciated methods. We never saw any customers using this method in production.
Part 22 – Configure Maintenance Tasks
Each
Configuration Manager site supports maintenance tasks that help maintain the
operational efficiency of the site database. By default, several maintenance
tasks are enabled in each site, and all tasks support independent schedules.
Maintenance tasks are set up individually for each site and apply to the
database at that site. However, some tasks, like Delete Aged Discovery Data,
affect information that is available in all sites in a hierarchy.
To
set up maintenance tasks for Configuration Manager :
- Go to Administration / Site Configuration / Sites
- On the Home tab, in the Settings group, choose Site Maintenance
- To set up the task, choose Edit, ensure the Enable this task checkbox is checked and set up a schedule for when the task runs.
To enable or disable the task without
editing the task properties, choose the Enable or Disable button.
The button label changes depending on the current configuration of the task.
When you are finished configuring the
maintenance tasks, choose OK to finish the procedure.
This topic lists
details for each of the SCCM site maintenance tasks :
Backup Site Server: Use this task to prepare for the recovery of critical data. You can create a backup of your critical information to restore a site and the Configuration Manager database. For more information, see our next section that covers it.
Check Application Title with Inventory Information: Use this task to maintain consistency between software titles that
are reported in the software inventory and software titles in the Asset Intelligence
catalog. Central administration site: Enabled
Clear Install Flag: Use this task
to remove the installed flag for clients that don’t submit a Heartbeat
Discovery record during the Client Rediscovery period. The installed flag prevents automatic client push
installation to a computer that might have an active Configuration Manager
client.
Delete Aged Application Request Data: Use this task to delete aged application requests from the
database.
Delete Aged Client Download History: Use this task to delete historical data about the download source
used by clients.
Delete Aged Client Operations:
Use this task to delete all aged data for client operations from the site
database. For example, this includes data for aged or expired client
notifications (like download requests for machine or user policy), and for
Endpoint Protection (like requests by an administrative user for clients to run
a scan or download updated definitions).
Delete Aged Client Presence History: Use this task to delete history information about the online
status of clients (recorded by client notification) that is older than the
specified time.
Delete Aged Cloud Management Gateway Traffic Data: Use this task to delete all aged data about the traffic that passes through the cloud management gateway from the site database. For example, this includes data about the number of requests, total request bytes, total response bytes, number of failed requests, and a maximum number of concurrent requests.
Delete Aged Collected Files: Use
this task to delete aged information about collected files from the database.
This task also deletes the collected files from the site server folder
structure at the selected site. By default, the five most-recent copies of
collected files are stored on the site server in the Inboxessinv.boxFileCol directory.
Delete Aged Computer Association Data: Use this task to delete aged Operating System Deployment computer
association data from the database. This information is used as part of
completing user state restores.
Delete Aged Delete Detection Data:
Use this task to delete aged data from the database that has been created by
Extraction Views. By default, Extraction Views are disabled. You only enable
them by using the Configuration Manager SDK. Unless Extraction Views are
enabled, there is no data for this task to delete.
Delete Aged Device Wipe Record:
Use this task to delete aged data about mobile device wipe actions from the
database.
Delete Aged Devices Managed by the Exchange Server Connector: Use this task to delete aged data about mobile devices that are
managed by using the Exchange Server connector. This data is deleted according
to the interval that is configured for the Ignore mobile
devices that are inactive for more than (days) option
on the Discovery tab of the Exchange
Server connector properties.
Delete Aged Discovery Data: Use
this task to delete aged discovery data from the database. This data can
include records that result from heartbeat discovery, network discovery, and
Active Directory Domain Services discovery methods (System, User, and Group).
This task will also remove aged devices marked as decommissioned. When this
task runs at a site, data associated with that site is deleted, and those changes
replicate to other sites.
Delete Aged Distribution Point Usage Data: Use this task to delete from the database aged data for
distribution points that has been stored longer than a specified time.
Delete Aged Endpoint Protection Health Status History Data: Use this task to delete aged status information for Endpoint
Protection from the database.
Delete Aged Enrolled Devices:
Beginning with the update for 1602, this task is disabled by default. You can
use this task to delete from the site database the aged data about mobile
devices that haven’t reported any information to the site for a specified time.
Delete Aged Inventory History:
Use this task to delete inventory data that has been stored longer than a
specified time from the database.
Delete Aged Log Data: Use this
task to delete aged log data that is used for troubleshooting from the
database. This data isn’t related to Configuration Manager component
operations.
Delete Aged Notification Task History: Use this task to delete information about client notification
tasks from the site database when it hasn’t been updated for a specified time.
Delete Aged Replication Summary Data: Use this task to delete aged replication summary data from the
site database when it hasn’t been updated for a specified time.
Delete Aged Passcode Records: Use
this task at the top-level site of your hierarchy to delete aged Passcode Reset
data for Android and Windows Phone devices. Passcode Reset data is encrypted,
but does include the PIN for devices. By default, this task is enabled and
deletes data that is older than one day.
Delete Aged Replication Tracking Data: Use this task to delete aged data about database replication
between Configuration Manager sites from the database. When you change the
configuration of this maintenance task, the configuration applies to each applicable
site in the hierarchy.
Delete Aged Software Metering Data: Use this task to delete aged data for software metering that has
been stored longer than a specified time from the database.
Delete Aged Software Metering Summary Data: Use this task to delete aged summary data for software metering
that has been stored longer than a specified time from the database.
Delete Aged Status Messages: Use
this task to delete aged status message data as configured in status filter
rules from the database.
Delete Aged Threat Data: Use this
task to delete aged Endpoint Protection threat data that has been stored longer
than a specified time from the database.
Delete Aged Unknown Computers:
Use this task to delete information about unknown computers from the site database
when it hasn’t been updated for a specified time.
Delete Aged User Device Affinity Data: Use this task to delete aged User Device Affinity data from the database.
Delete Aged CMPivot Results: Use this task to delete from the site database aged information from clients in CMPivot queries.
Delete Aged Cloud Management Gateway Traffic Data : Use this task to delete from the site database all aged data about the traffic that passes through the cloud management gateway. This data includes:
- The number of requests
- Total request bytes
- Total response bytes
- Number of failed requests
- Maximum number of concurrent requests
Delete Expired MDM Bulk Enroll Package Records: Use this task to delete old Bulk Enrollment certificates and
corresponding profiles after the enrollment certificate has expired.
Delete Inactive Client Discovery Data: Use this task to delete discovery data for inactive clients from
the database. Clients are marked as inactive when the client is flagged as
obsolete and by configurations that are made for client status.
This task operates only on resources that
are Configuration Manager clients. It’s different than the Delete Aged
Discovery Data task, which deletes any
aged discovery data record. When this task runs at a site, it removes the data
from the database at all sites in a hierarchy.
When it’s enabled, configure this task to
run at an interval greater than the Heartbeat Discovery schedule. This enables active clients to send a Heartbeat Discovery
record to mark their client record as active so this task doesn’t delete them.
Delete Obsolete Alerts: Use this
task to delete expired alerts that have been stored longer than a specified
time from the database.
Delete Obsolete Client Discovery Data: Use this task to delete obsolete client records from the database.
A record that is marked as obsolete has usually been replaced by a newer record
for the same client. The newer record becomes the client’s current record.
Delete Obsolete Forest Discovery Sites and Subnets: Use this task to delete data about Active Directory sites,
subnets, and domains that haven’t been discovered by the Active Directory
Forest Discovery method in the last 30 days. This removes the discovery data,
but doesn’t affect boundaries that are created from this discovery data
Delete Orphaned Client Deployment State Records: Use this task to periodically purge the table that contains client
deployment state information. This task will clean up records associated with
obsolete or decommissioned devices.
Delete Unused Application Revisions: Use this task to delete application revisions that are no longer
referenced.
Evaluate Collection Members: You
configure the Collection Membership Evaluation as a site component.
Monitor Keys: Use this task to
monitor the integrity of the Configuration Manager database primary keys. A
primary key is a column (or a combination of columns) that uniquely identifies
one row and distinguishes it from any other row in a Microsoft SQL Server
database table.
Rebuild Indexes: Use this task to
rebuild the Configuration Manager database indexes. An index is a database
structure that is created on a database table to speed up data retrieval. For
example, searching an indexed column is often much faster than searching a
column that isn’t indexed.
Summarize Installed Software Data:
Use this task to summarize the data for installed software from multiple
records into one general record. Data summarization can compress the amount of
data that is stored in the Configuration Manager database.
Summarize Software Metering File Usage Data: Use this task to summarize the data from multiple records for
software metering file usage into one general record. Data summarization can
compress the amount of data that is stored in the Configuration Manager
database.
Summarize Software Metering Monthly Usage Data: Use this task to summarize the data from multiple records for
software metering monthly usage into one general record. Data summarization can
compress the amount of data that is stored in the Configuration Manager
database.
Update Application Available Targeting: Use this task to have Configuration Manager recalculate the
mapping of policy and application deployments to resources in collections. When
you deploy policy or applications to a collection, Configuration Manager
creates an initial mapping between the objects that you deploy and the
collection members.
These mappings are stored in a table for
quick reference. When a collections membership changes, these stored mappings
are updated to reflect those changes. However, it’s possible for these mappings
to fall out of sync. For example, if the site fails to properly process a
notification file, that change might not be reflected in a change to the
mappings. This task refreshes that mapping based on current collection
membership.
Update Application Catalog Tables: Use this task to synchronize the Application Catalog website database cache with the latest application information. When you change the configuration of this maintenance task, the configuration applies to all primary sites in the hierarchy.
Part 23 – Backup your Server after SCCM Installation
In the last part of this SCCM Installation Guide, we will setup automation backup for Configuration Manager sites by scheduling the predefined Backup Site Server maintenance task. This task has the following features:
- Runs on a schedule
- Backs up the site database
- Backs up specific registry keys
- Backs up specific folders and files
- Backs up the CD.Latest folder
Plan to run the default site backup task at
a minimum of every five days. This schedule is because Configuration Manager
uses a SQL Server change tracking retention period of five days.
To simplify the backup process, you can
create an AfterBackup.bat file. This
script automatically runs post-backup actions after the backup task completes
successfully. Use the AfterBackup.bat file to archive the backup snapshot to a
secure location. You can also use the AfterBackup.bat file to copy files to
your backup folder, or to start other backup tasks.
Site backup status information is written
to the Smsbkup.log file. This file
is created in the destination folder that you specify in the properties of the
Backup Site Server maintenance task.
To enable the site backup maintenance task
- Go to the Administration workspace, expand Site Configuration
- Click Site Maintenance Tasks in the ribbon.
- Select the Backup Site Server task, and click Edit.
- Select the option to Enable this task. Click Set Paths to specify the backup destination. You have the following options:
- Local drive on site server for site data and database: Specifies that the task stores the backup files for the site and site database in the specified path on the local disk drive of the site server. Create the local folder before the backup task runs. The Local System account on the site server must have Write NTFS file permissions to the local folder for the site server backup. The Local System account on the computer that’s running SQL Server must have Write NTFS permissions to the folder for the site database backup.
- Network path (UNC name) for site data and database: Specifies that the task stores the backup files for the site and site database in the specified network path. Create the share before the backup task runs. The computer account of the site server must have Write NTFS and share permissions to the shared network folder. If SQL Server is installed on another computer, the computer account of the SQL Server must have the same permissions.
- Local drives on site server and SQL Server: Specifies that the task stores the backup files for the site in the specified path on the local drive of the site server. The task stores the backup files for the site database in the specified path on the local drive of the site database server. Create the local folders before the backup task runs. The computer account of the site server must have Write NTFS permissions to the folder that you create on the site server. The computer account of the SQL Server must have Write NTFS permissions to the folder that you create on the site database server. This option is available only when the site database isn’t installed on the site server.
Verify that the Backup Site Server maintenance task is
running
- Check the timestamp on the files
in the backup destination folder that the task created. Verify that the
timestamp updates to the time when the task was last scheduled to run.- Go to the Component
Status node of the Monitoring workspace. Review the status messages for SMS_SITE_BACKUP. When site backup completes successfully, you see message ID 5035. This message indicates that the site backup completed without any
errors. - When you configure the backup
task to create an alert when it fails, look for backup failure alerts in
the Alerts node of the Monitoring workspace. - Open Windows Explorer on the site server and browse to
<ConfigMgrInstallationFolder>Logs
. Review Smsbkup.log for
warnings and errors. When site backup completes successfully, the log
showsBackup
with
completed
message IDSTATMSG: ID=5035
.
- Go to the Component
SQL Backup
It’s also possible to backup your SCCM server using SQL Maintenance task. The biggest advantage of this method is that it offers compression. Please read this blog post if you prefer this method. Be aware that this backup method doesn’t backup the CD.Latest folder which is important. You could also have both backup methods enabled if needed.
More SCCM Ressources
System Center Dudes offers numerous
configurations guides and custom reports to ease your Configuration Manager
day-to-day operations.
Consult our product page to see the complete list.
That conclude this SCCM Installation Guide, we hope that it was hepful. Feel free to leave your comment in the section below.