PowerShell script for en-GB, UK locale and GMT timezone

Here’s a quick PowerShell script (more of a personal reminder) to set everything for the current user to English-GB, UK locale and GMT timezone. Unfortunately, this doesn’t override the settings for the welcome screen or new users but that’s just one dialog after the restart.

Change Current User

#Set home location to United Kingdom
Set-WinHomeLocation 0xf2

#override language list with just English GB
$1 = New-WinUserLanguageList en-GB
$1[0].Handwriting = 1
Set-WinUserLanguageList $1 -force

#Set system local
Set-WinSystemLocale en-GB

#Set the timezone
Set-TimeZone "GMT Standard Time"

#Restart the OS

Change for All Users

You’ll need to restart the server for the system locale change to come into effect and if you want to change the welcome screen / new users; you’ll need to manually set the options at the bottom or mess about with the registry.


2 thoughts on “PowerShell script for en-GB, UK locale and GMT timezone

  1. Thanks for spending the time to create the post, I’ve scripted this for some years, although hadn’t got TimeZone (have now, thx!), but query:

    Set-WinHomeLocation 0xf2

    whereas I’ve used:
    Set-WinHomeLocation -GeoId 242

    …F2 in hex = 242

    my script, also confirms existing settings, then launches intl.cpl to manually check:

    Set-WinSystemLocale -SystemLocale en-GB
    #Set-WinHomeLocation -GeoId 242
    Set-WinUserLanguageList en-gb -Confirm:$falseIntl.cpl

    #(to check)

    very best, Reuben


Leave a Reply to reubenjcook Cancel reply

Please log in using one of these methods to post your comment:

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.