Configure tinc in windows 102/28/2024 ![]() We’ll save those those PowerShell commands as a script: PowerShell saved from VSCodeĪnd then in Microsoft Endpoint Manager admin center > Devices > Script, select +Add to upload the PowerShell script: Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\tzautoupdate -Name start -Value "3" Unfortunately those require a registry change, but we can configure that via a simple PowerShell script: Set-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\CapabilityAccessManager\ConsentStore\location -Name Value -Value "Allow" With that assigned and deployed, now we need to set additional location services and automatic time zone settings. This could be all devices, your Autopilot devices group, or any device group that fits your scenario: Because we need this setting to apply before the user profile is created (during the Device portion of the Enrollment Status Page), we need to target devices. Make sure you assign this policy to a device group. We can configure this via Devices > Configuration Profiles and creating or editing a Settings Catalog (preview) profile: So be sure to consider the privacy implications!įirst, we need to deploy an MDM setting to allow apps to use Location services. If I had to guess, it’s because it requires us to force enable Location Services (how else would we know what time zone the device is in?). There’s no native MEM functionality to set automatic time zone. Deploy a PowerShell script to enable Automatic Time Zone If your users travel at all, then this can be a bit of a nonstarter. You could also deploy to various groups based on their location (if you have a Chicago group for example), or combine Filters and Device Categories to target the devices.īut the obvious problem with this solution is that it doesn’t set the time zone automatically. If all your users are in the same region, then no problem, set that time zone for everyone. There’s a number of ways we could deploy that too. Hint – you can get these from PowerShell by running the get-timezone or get-timezone -listavailable commands:
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |