CloudEnterprise Mobility + SecurityMicrosoft AzureMicrosoft IntuneSystem Center Configuration Manager

Windows 10 OSD with ConfigMgr and prepare for modern management

If you want to deploy Windows 10 with ConfigMgr and prepare the system to subscribe to Azure/Intune and manage the system the modern way, you may have running into an issue. You can add the system to Azure AD and Intune (and getting policies) but if you opened the Company Portal it is showing you “Your apps are located in Software Center”.

 

 

 

 

 

Well, there is a simple solution.

If you run a task sequence to install a Windows 10 operating system with ConfigMgr, the install ConfigMgr client agent must be present in the task sequence to install the operating system successfully. After installing the operating system with the whole task sequence, at the end, you have to remove the ConfigMgr Client Agent because you want to add the device to Azure and manage the device with Intune. You can use the SMSTSPostAction Task Sequence variable the uninstall the ConfigMgr Client Agent, remove the CCM/SMS registry keys and do a Sysprep /oobe to prepare the Windows 10 device. But you have to remove and extra registry key not getting in this situation. You also have to remove the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\DeviceManageabilityCSP

Summary:

  • Use SMSTSPostAction variable to run a script after a successful Task Sequence;
  • Use the script to uninstall the ConfigMgr Client Agent (ccmsetup.exe /uninstall);
  • Use the script to remove registry keys (HKLM\Software\Microsoft\CCM, HKLM\Software\Microsoft\CCMSetup and HKLM\Software\Microsoft\SMS);
  • Use the script to remove the folders C:\Windows\CCM, C:\Windows\ccmsetup, C:\Windows\ccmcache and the file C:\Windows\SMSCFG.ini;
  • Use the script to remove the registry key: HKLM\SOFTWARE\Microsoft\DeviceManageabilityCSP.

After removing this extra registry key it is possible to do an operating system deployment with ConfigMgr, remove the ConfigMgr Client agent, prepare the system (with sysprep), do an Out-Of-the Box Experience (with Autopilot), add to Azure AD and manage with Intune, install the company portal and install apps from the company portal.

Great!

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.