Intune - How to set Regional Format to 24 Hours

Sokoban 1,041 Reputation points
2023-02-13T14:32:49.1733333+00:00

Hi

I want to know how I setting Regional Format to 24 Hours in Intune ? I want to Windows clients show that:

User's image

User's image

Microsoft Intune
Microsoft Intune
A Microsoft cloud-based management solution that offers mobile device management, mobile application management, and PC management capabilities.
5,569 questions
0 comments No comments
{count} votes

Accepted answer
  1. Lu Dai-MSFT 28,446 Reputation points
    2023-02-14T07:07:07.9566667+00:00

    @Sokoban Thanks for posting in our Q&A.

    Currently, there is no built-in setting in intune that can change Regional Format to 24 Hours. However, we can make it via Powershell script.

    Write-Host "Setting Short time format"
    
    Set-ItemProperty -Path "HKCU:\Control Panel\International" -name sShortTime -value "HH:mm"
    
    Write-Host "Setting Long time format"
    
    Set-ItemProperty -Path "HKCU:\Control Panel\International" -name sTimeFormat -value "HH:mm:ss"
    
    

    We can deploy this script via intune. Please refer to the article:

    https://learn.microsoft.com/en-us/mem/intune/apps/intune-management-extension

    I have done the test in my lab. It works well. When I use an Azure AD account to sign in the device, the regional format is changed to 24 Hours.

    User's image

    User's image

    Hope it will give you some ideas.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. Sokoban 1,041 Reputation points
    2023-02-14T18:48:41.4466667+00:00

    @Lu Dai-MSFT Thanks , Its working :-)


  2. Tawil, Elias E (Contractor) 0 Reputation points
    2025-02-19T18:36:54.1966667+00:00

    I ran this script and is not changing the format to military

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.