Time Sync Through Intune

**DISCLOSURE: While I am contracted to Microsoft Corporation, I am not an employee. The articles that I write are not meant to represent the company, nor are they meant to represent me as an employee or spokesman for the company. As has always been the case, all articles on this website represent me and nobody else.

Having the correct time on your computer is just as important as having it on your wrist watch. If your watch is wrong, you will be late for appointments. If your computer clock is wrong – specifically, if the clock is more than 300 seconds off – then all manner of things stop working. Sure, anything inside your computer will work fine – you can create and edit documents, for example – but your computer will not be able to authenticate to any other computer, including cloud services such as Microsoft 365.

In a controlled Active Directory domain environment it has always been easy to create a group policy object (GPO) to synchronize all computer clocks to an authoritative network time server (NTP Server). Active Directory has always been good with things like that, and as long as the computer connected to a domain controller every so often, all was well.

Unfortunately, in today’s world of the remote workforce, more and more companies are eschewing the Active Directory domain for either a hybrid Azure Active Directory Joined (HAADJ) environment, or even a strict Azure AD. In the first case, it is not uncommon for devices to not check in to the domain often, and in the latter there is no domain so there is no GPO to configure.

It should be mentioned as well that while administrative users can set their computer clocks manually, standard users cannot. Nor can they even synchronize their clock with a public time server. The only thing they can do is set the time zone, which does not affect connectivity and functionality.

IntuneEnter Intune Administrative Templates. While we do not have all of the options here that we do in Group Policy (yet!) we can create a policy to synchronize the computer clock to a NTP Server – usually time.windows.com. Here’s how.

First, connect to your Microsoft Endpoint Manager admin center (https://manage.microsoft,com). 1) In the navigation pane click Devices. 2) In the Devices | Overview navigation pane click Configuration Profiles. 3) In the Devices | Configuration profiles screen click +Create Profile. 4) In the Create a profile sidebar that appears, select your platform (Windows 10 and later) from the dropdown menu, 5) and then in the Profile type dropdown select Templates. 6)In the Template name list that appears, click Administrative Templates. 7) Click Create.

image

In the Create profile screen (Basic) type the name for your new profile in the Name dialog box, and put any description you want in the Description dialog box. Click Next.

In the next (Configuration Settings) screen, expand Computer Configuration – System – Windows Time Services – Time Providers. Note that the Windows Time Services option may not be on the first page. (Or you can cheat, and type NTP in the Search to filter items… dialog box.

image

Click Enable Windows NTP Client. In the sidebar that appears, click Enabled and then click OK.

Click Configure Windows NTP Client. In the sidebar that appears, scroll down and select the radio button Enabled. Here you have the option to configure all manner of settings, including which time server you want to synchronize to. The default settings will work for most organizations (pointing to time.windows.com,0x9), and you should only change these if you are sure you need to. Click OK.

Back in the Create profile (Configuration Settings) screen, click Next. In the next (Scope tags) screen, you can set tags if you want, but if you do not need to, click Next.

In the next (Assignments) screen, you can assign this profile to specific groups, or you can click Add all users or +Add all devices in the Included groups section. Below that, you can add groups the Excluded groups list, which would supersede the Included groups. Click Next.

In the next (Review + create) screen, review that all of your settings are correct, and then click Create.

image

It will only take a few seconds for the new policy to appear in your list on the Devices | Configuration profiles page. If it does not appear within a few seconds, click Refresh and it will.

That’s all there is to it. Microsoft Intune to the rescue again!

Advertisement

12 responses to “Time Sync Through Intune”

  1. I’ve done this, but Deployment Status shows up as Not Applicable for all devices.

    1. Hi Craig. It looks like this is one of the features that has been added, but not yet enabled. Stay tuned! -M

    2. Seems to only work on Windows 10 enterprise machines and not Windows 10 professional machines

  2. […] time. As an example: I recently posted an article on setting time synchronization through Intune (see article). I found out later that while you can set the policy, it will not actually work. I am sure it will […]

  3. Hi Mitch. I’ve got the same issue as Craig. Settings have been applied to a VM, but deployment status displays as Not Applicable.

  4. I’ve got the same issue as Donovan and Craig. Please give me any suggestion

    1. I believe it is now working with Windows 11.

  5. I have gotten the same not applicable status on windows 10 education via intune.

  6. Gilbert Palau Avatar
    Gilbert Palau

    Hi Mitch, thanks for the walkthrough. I tried using this to manage Windows 10 clients, and its giving me an error “Time Synchronization failed”.

    I have tried changing the type from NT56DS to NTP but im getting same results using time.windows.com,0x9

    Could you advise?

  7. Gilbert Palau Avatar
    Gilbert Palau

    above should have been NT5DS…

  8. Martin Millward Avatar
    Martin Millward

    This does not work – the setting does not make any difference to the Intune clients even when it is successfully applied – they do NOT use the internet time servers as specified – this configuration is completely ignored. (Windows 11 Enterprise)

    1. You are correct. There was a very short period of time when it did work.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: