TimeZone config with Intune

Posted by

Finally back from an awesome vacation, and right back to the real world πŸ™‚

Right to the point, setting time zone in Windows 10 with Microsoft Intune has been a bit of hazzle. Until Windows 10 1903 you had to create a PowerShell script and deploy it to necessary users.

This script could look something like this

Set-TimeZone -Id “Central Standard Time”
Start-Service W32Time
Restart-Service W32Time

To get the correct Id, run Get-TimeZone on a machine that have correct settings

20190812 TimeZone

Beginning with Windows 10 1903 you can use a custom Device Configuration profile.

Start up by creating a custom Device Configuration profile

20190812 TimeZone profile1

Create Add to add a new custom row and enter the following information

OMA-URI:

./Device/Vendor/MSFT/Policy/Config/TimeLanguageSettings/ConfigureTimeZone

Value type: String

Value: <TimeZone ID>

20190812 TimeZone profile2

The time zone id can be retrieved from either with PowerShell command Get-TimeZone or tzutil /g

Now save the profile and assign it to your users.

2 comments

  1. If the device is roaming and not fixed to a region then in Autopilot device how we can make sure that it sync automatically per his timezone.

    Is there a solution aswell ?

    Like

    1. There is no built in CSP for solving that what Im aware of.
      I would create PS script to set the setting. Looks like this is the setting to configure HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\tzautoupdate\Start[REG_DWORD] 3 or 4

      Like

Leave a comment

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 )

Google photo

You are commenting using your Google 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

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