FIX: CMG stuck on Deleting? Check SQL permissions for the public server role!

Have you ever had the need to delete a Cloud Management Gateway (CMG) deployment from ConfigMgr? If so, did it work as intended? 🙂 I've personally come across a few issues on the Azure side of things, where resources wouldn't get deleted. Most times that was due to granular permissions on Resource Groups and was fixed by asking the appropriate administrator to remove the resources. This time though, the Azure resources did get removed. But the status of CMG in the ConfigMgr Admin console showed "Deleting" First thought was to give it some time. And then some more. A weekend has passed, and the CMG still seems stuck on deleting. What's going on? (more…)...
Read More

Cleaning up (b)admin accounts in ConfigMgr

Recently, I overheard a conversation between IT staff members at one of my customers… One colleague to another: "… maybe we should reboot those servers first, because there might still be processes running as the badmin account that we renamed." Me, with sparked interest since I heard the badmin account referenced: "Oh, good to know you renamed that account. You do know that account is used in your SCCM environment, don't you?" Customer, thinking it, but not saying it: "I didn't think of that. But I haven't noticed all hell breaking loose on us so we're good. I'll just nod yes in a reassuring way…" (more…)...
Read More
A use case for CMPivot: look for installed software FAST!

A use case for CMPivot: look for installed software FAST!

This is an extensive explanation on how CMPivot can help you pull information from clients in Configuration Manager. Specifically, we'll lookup an MSI Product Code for use with the Detection Method for an Application Deployment Type. But it covers some technical background and hints I hope you'll find useful. TL;DR If you already know about CMPivot and remote PowerShell and WMI, skip ahead to the CMPivot queries. If not, read on! What is CMPivot? If you're on Configuration Manager CB 1806 or later, you have access to the CMPivot feature. If you've never used it, just select a Device Collection in the CM Console and click Start CMPivot in the Actions Ribbon. You can't go wrong playing around with it as it only queries devices for stuff in a read-only fashion. But maybe start with a limited collection to avoid high resource impact. When you open the CMPivot tool, the Welcome message has a good description of what it can be used for: Note that...
Read More

Microsoft Defender ATP & Configmgr CMPivot with a CMG (Cloud Management Gateway) better together; How we saved the customer from Emotet related malware

In September 2018, one of our customers was targeted by a phishing attack in attempts to infiltrate malicious code on their systems. These attempts were successful and a widespread Emotet-related malware attack followed. This is the story on how we countered and contained it with the use of Configuration Manager CB 1806 and CMPivot. One of the tricky parts was that most workstations where still Windows 7 and Windows 7 embedded. Only 20% was native Windows 10 1709. The phishing email was well disguised and was made to believe it originated from a corporate director. The content of the email suggested that invoices had not been paid and requested the addressee to open attached Excel or PDF file and follow up. This was convincing enough to some, who indeed opened the files and clicked on whatever links or “Enable content” messages held within. This triggered the seemingly random creation of executables on the local system, which in turn contacted Command &...
Read More

Hybrid Mobile Device Management (MDM) and why you should plan for migration now !

Hi , Microsoft recently  posted a service change announcement in the Office Message Center to customers using Hybrid Mobile Device Management (MDM). Maybe you are one of those type of customers that need to take action as you are using SCCM + Intune in hybrid mode and this impacts you . MC146431 - Plan for Change: Move to Intune on Azure for your Mobile Device Management Since launching on Azure over a year ago, Intune has added hundreds of new customer-requested and market-leading service capabilities, and now offers far more capabilities than those offered through hybrid Mobile Device Management (MDM). Intune on Azure provides a more integrated, streamlined administrative experience for your enterprise mobility needs. As a result, we see that most Enterprise Mobility + Security (EMS) customers choose Intune on Azure over hybrid MDM. The number of customers using hybrid MDM continues to decrease as more customers move to the cloud. Therefore, on September 1, 2019, we will retire the hybrid MDM service offering. Note: This...
Read More

Upgrading from ConfigMgr 1702 to 1706 gives you “Microsoft SQL Server reported SQL message 2627, severity 14” in your status messages

If you upgraded your ConfigMgr 1702 or earlier environment to Configmgr 1706 and in the status messages after the upgrade you get : Microsoft SQL Server reported SQL message 2627, severity 14: [23000][2627][Microsoft][SQL Server Native Client 11.0][SQL Server]Violation of PRIMARY KEY constraint 'SUM_DriverUpdates_PK'. Cannot insert duplicate key in object 'dbo.SUM_DriverUpdates'. The duplicate key value is (d8483f4f-0390-49db-b251-faf884dd8eaf Be aware that the Product Group are aware of this issue and are on a working on a fix. The result of this problem is that admins cannot see new Surface driver updates. Other than that, nothing else is impacted so it can be ignored. Hope it helps , Kenny Buntinx MVP Enterprise Mobility...
Read More

Enterprise Mobility : In the land of NDES – Where one eye is King and you need to watch your CRL Delta files

I was doing a EMS POC and deployment of certificates on mobile devices was a requirement. So I needed to setup an NDES server with a separate Subordinate CA for MDM , NDES Server and SCCM Certificate Registration Point (CRP). Big deal I thought as I did it a already multiple times. At my customer we worked close with the server team and setup the infrastructure which was working fine at first sight. After a reboot of the NDES server I was struggling to get the Network Device Enrollment Service (NDES) up and running again as it would throw me an error 500. The event log of the NDES Server told me the following: The Network Device Enrollment Service cannot retrieve one of its required certificates (0x80070057). The parameter is incorrect. The Network Device Enrollment Service cannot be started (0x80070057). The parameter is incorrect. When the service starts, it searches for two certificates that are used by the service : 1. The service searches in the...
Read More