device registration error with server 2016 and Windows 10 0x801c001d10

It looks like there is a bug in Windows 10 / Server 2016 where it automatically tries to register as a device with Azure for some reason.
Not a lot of info out there on it.

It’s related to a scheduled task. If you disable the task, logins through Server 2016 and your Windows10 VDI will work again.

The Scheduled Task “Automatic-Device-Join” is located in: Task Scheduler Library\Microsoft\Windows\Workplace Join.

The task calls %SystemRoot%\System32\dsregcmd.exe.

The work-around is disable the task or configure the GPO Computer Configuration > Administrative Templates > Windows Components > Device Registration.

Help text from the GPO:
This setting lets you configure how domain joined computers become registered as devices. When you enable this setting, domain joined computers automatically and silently get registered as devices with Azure Active Directory. Note: Additional requirements may apply on certain Windows SKUs. Refer to Azure Active Directory Device Registration Overview. http://go.microsoft.com/fwlink/?LinkId=307136

Published by

Mike

Mike Streetz is a Citrix Consultant who works with everyone from small businesses to large enterprises to help their users get work done via Citrix Virtual Apps and Desktops. He has been working in the Citrix space for over 15 years. Mike knows that your users don’t want long logon times, don’t want long waits for files and don’t enjoy when “Citrix is slow”. His job is to help you get the most out of your Citrix environment. Mike has worked with clients to optimize user experience by using tools such as FSLogix alongside Citrix ADC with Global Server Load Balancing to point users to the fastest site to serve their needs. Mike is a Citrix Technology Advocate, CUGC Leader of the Los Angeles chapter, Citrix Certified Professional in Citrix Cloud, Virtual Apps and Desktops and Citrix ADC and holds the Azure Administrator Associate certification. He has previously spoken at the Ruxcon security conference in Australia.

Leave a Reply

Your email address will not be published. Required fields are marked *