How to Change or Customize Day Name, Date and Time Format on Windows 8 and 8.1 Lock Screen?

UPDATE: This tutorial will also work in Windows 8.1.

If you are using the latest Windows 8 OS, you must be already aware of the new Lock Screen which is shown just before the login or welcome screen. It works similar to a mobile phone lock screen. You need to press any key or use a mouse click to unlock the computer.

This new lock screen shows a nice background image which can be changed using PC Settings as described here. If you don't like lock screen, you can turn it off using this guide.

Lock Screen in Windows 8 shows some useful information such as battery status, network connectivity status, email notifications, etc. Apart from this information, it also shows current day name, date and time in big fonts which might be useful for many people.


But if you want to change or customize the display format of date and time on lock screen, you can't do it. By default Windows 8 doesn't provide any built-in option to customize date and time style of lock screen.

Today in this tutorial we are going to share a hidden Registry tweak which will allow you to customize day name, date and time format on Windows 8 lock screen. With the help of this tutorial you'll be able to:

  • Switch between 12-hour and 24-hour time format on lock screen
  • Change language of day name and date on lock screen

In testing builds of Windows 8 such as Developer Preview, Consumer Preview or Release Preview, a hidden file "UserSettings.ini" was used to store information about the date and time format of lock screen. This file was present in "%appdata%\Microsoft\Windows\Logon\" folder. It contained information about current locale name, language, time format, etc and looked like following:

TimeFormat=hh:mm tt


One could easily change the settings given in the INI file and it used to immediately apply to lock screen. Unfortunately Microsoft removed this feature from final RTM version of Windows 8. Now the INI file no longer exists in Windows 8 and even if you create the file manually, it doesn't work.

So how to customize the day, date and time display format on Windows 8 lock screen? Don't worry! Although Microsoft removed the INI file but they put the same information in Windows Registry. Now you'll need to edit Registry to change or customize the information.

So if you want to customize Windows 8 Lock Screen date and time format and if you want to change display language of Windows 8 lock screen information, check out following simple steps:

1. Press WIN+R keys to launch RUN dialog box. Type regedit and press Enter. It'll open Registry Editor.

2. Now go to following key:


3. Under "SystemProtectedUserData" key, you'll see a key with the name similar to S-1-5-21-x-x-x-x. Under this key, navigate to:


4. The "LocaleInfo" key is the one which we require to change the lock screen date and time format. This key contains all the required information which was stored in INI file in Windows 8 testing builds.

5. Click on "LocaleInfo" key and in right-side pane, you'll see various Strings such as:

  • Calendar
  • Clock
  • GeographicRegion
  • Language
  • LocaleName
  • NativeDigits
  • SubstitutionMode
  • TimeFormat


6. We'll be playing with following Strings only:

  • Language
  • LocaleName
  • TimeFormat

You might need to take ownership of the Registry key before editing it. Please check this guide to learn how to take ownership of a Registry key.

7. First let's talk about time format. If your Windows 8 lock screen shows time in 24-hour format, then the "TimeFormat" String in your Windows 8 Registry would be set to HH:mm tt. Change it to hh:mm tt and it'll start showing the time in 12-hour format.


Same principle applies to 12-hour format. If your Windows 8 lock screen shows time in 12-hour format, then the "TimeFormat" String would be set to hh:mm tt in your system. Change it to HH:mm tt and it'll start showing the time in 24-hour format.

8. Now its turn of display language. If you want to show day name and date in a different language on lock screen, you can change values of Language and LocaleName Strings to your desired language code.

For example, if you want to show the information in Hindi language, change values of Language and LocaleName Strings to hi-IN and lock screen will start showing day name and date in Hindi language.


You can use any language code such as en-US for English, de-DE for German, fr-FR for French, ru-RU for Russian, etc.

Following are some screenshots of Windows 8 Lock Screen showing day name and date in different languages:

Windows 8 Lock Screen information in German:


Windows 8 Lock Screen information in Russian:


Its fun to show information on Lock Screen in a different language. Feel free to try the tutorial and share your feedback in your comment...

Also Check:

Share this article: Facebook | Twitter | Google+ | Reddit | Tell a friend

Posted in: Windows 8 / 8.1

Other similar articles that may interest you


  • FIRST! where on earth did you knew all these tricks?? omg

  • VG

    ^^ Thanks. Recently a reader asked me about it. Since I knew about INI file present in the testing builds, I started searching for similar strings in Registry and found them. ;)

  • WoW! Nice Trick VG!, We are thanking again nd again You.

  • Nice post! Next question is how do you change the font on the lock screen?
    Also, how do you change the size of the time and date pop-up that appears when you activate the charms bar? That thing annoys me, I'd much rather see just the charm bar, not the pop-up window that takes up a sizable chunk of the bottom right hand corner of the screen..

  • Nice! Btw you should mention to do this for the correct user account/matching SID. From cmd prompt, do:
    wmic useraccount get name,sid
    to find the SID for your user account and then do the tweak for that SID.

    @Kyle, Sysinternals Process Monitor or similar tools allow discovering all hidden/undocumented registry values and keys easily.

  • what about the color of it? can it be changed?

  • VG, I'm getting error saying that I don't have enough permission to edit, though I'm administrator.

  • VG, how to change weather language ? (only weather) is it possible ?

  • VG

    ^^ I dont think its possible to have different language for weather. I dont use this app so cant help you.

    Have you taken ownership of the key?

    If you are talking about login screen color, you can change it using following steps:

    Go to following key:


    In right-side pane create new DWORD DefaultColorSet and set its value to any digit between 1 and 24.

    Its not possible by editing Registry but may be some system file editing can tweak it?

  • not that one vg.. hehe... i mean that the font color of the clock time and date.. :)

  • VG

    ^^ I didnt find any way to change the color. I think its defined by system file.

  • VG', can we change the font size?, Because I used 'ta-IN' and the date shows in big letters. and am or pm symbol is not showing in lockscreen. Is it default?.

  • VG

    ^^ Yes. AM/PM symbols are not shown on Lock Screen. Regarding font size, its not possible via Registry editing.

  • Hey VG , another method to edit time format on lock screen . On taskbar , where the time is ticking , click there , select change date and time settings . select change date and time . Select change calendar settings . Under Time tab , set short time format as hh/HH:mm tt

  • VG

    ^^ Its the default method to change system wide date and time format. You can also access the same using intl.cpl command or using Regional applet in Control Panel.

  • so can we edit a system file to change its color? :) want to change it especially if I use a light background, can't see the clock.

  • VG

    ^^ I dont know which file contains the code but I think it should be present inside some file.

  • VG! Great job bro! (Y)

  • You never cease to amaze me VG. Wow

  • hi...

    by default my windows 8 was in spannish

    i download n installed english lang pack

    but still some words r still in spannish

    for example

    log in etc...

    pls help me....

  • VG

    ^^ Make sure correct language is set as default in Control Panel -> Language.

  • i follow n went control panel

    only 1 language is there English US

  • Thanks VG....i found the solution

    I had to change the system lang..

    the setting was available in the languages windows itself...

    thanks once again

  • Hey VG. Is it possible to change the system date format? my laptop only has yyyy-MM-dd for the short date and this is affecting my excel dates. Is there a way to add more formats or just change the existing one?

  • Its ok i found the Add button.

  • Thank you VG, it works. Is it possible for you to provide a registry file that will directly modify this info on its own( can be present for various languages). I doubt this ability because the key will vary. So is there a way?

  • @Dragon you can do the same without using the registry too. Just by going into Date and Time settings in the Control Panel, you can change the Short and long date format.

  • VG,
    I'm wondering about the Charms clock that pops up with charms. Is there anyway to get rid of it?

    Bob Cox (Mt. Juliet, TN)

  • hii...i want to change the win8 logon screen name and date to telugu lanuage what are the Locale name values for telugu so guide me plsss

  • VG

    ^^ Try te-IN

  • hi..

    VG i follow the steps carefully,but nothing :/ when i sign out,still see the 12h format,and when go back to change again,its again the default value.i wish to change into 24h format and HU=hungarian date format.what did i do wrong?thx

  • Hi,
    Am wondering, which one of the 3 S-1-5-21-x-x-x-x. registry keys do I make the changes in? My PC is on Windows 8 Enterprise (not 8.1).


  • VG

    ^^ First try with the first key. If it doesnt work, then apply in all 3 keys.

  • Can the clock be removed from the lock screen? I have enough other clocks in my house that I don't need a giant one on my computer screen

  • i did HH:mm to hh:mm it works......... :-D (y)...thank you very much
    I want to change my Date and Time color on lock screen (windows 8 ) VG...???
    please help me.

  • VG

    ^^ Sorry but thats not possible. It may be done by modifying system files or theme files but I dont have much idea.

  • i m getting "error writing the value's new content'' what should i do??

  • VG

    ^^ You'll need to take ownership of the key as mentioned in step 6. Following guide will help you in taking ownership:

  • i took ownership permission....before still it comes error..!!

  • VG

    ^^ After taking ownership, did you allow full control to the user? Also try to take ownership of parent Registry key.

  • yes..i allowed full control..!!

  • I have a painting by Ingres on my pre-login screen, and I wish the time and date weren't there at all. It would look much cooler with just the painting. I'm assuming it's impossible to remove the calendar and clock from this screen.

  • I finally got a computer with Winn 8.1 pre-installed (and proceeded to customize it so it feels like Windows 7--btw, there's a utility from IObit, Start Menu 8 v.1.4, which does a very good job of restoring the Win 7 start menu).
    I just tried this particular tweak, and got 24-hour time on the lock screen, no problem. But how would I get the *date* to show as, say, "Wednesday, 4 June 2014" instead of the US English standard it came with of "Wednesday, June 4". I tried adding a new string value of DaterFormat and filling the value accordingly, but it did nothing. So, um, what do I do???

  • Except I spelled "DateFormat" correctly!

  • Hey VG, I don't have localeinfo folder on anyone read. Only 2 folders, colors and lockscreen, i don't see any folder. why i dont have any folder like on the picture above? Is this a problem? :(

  • VG

    ^^ There should be more than one "S-1-5-21-x-x-x-x" folder in following location:


  • Yeah, but all of them doesn't have those folders. There are 3 folders in SystemProtectedUserData. 2 of them has only subfolders colors and lockscreen, the another one has only one subfolder "colors". Help me with this. :( Is this can cause problem on my computer? I can't change my lockscreen wallpaper, maybe because of this. :(

  • You didn't answer the question-
    how do you change the size of the font on the clock?

  • VG

    ^^ I told in my previous comments, changing font size is not possible.

  • How to Access this folder in windows 8.1


  • VG

    ^^ The folder no longer exists.

  • Hi @VG. First of all, thank you for this trick, It was so useful :)

    I have another problem, how to apply language in CharmsBar Date/Time Panel (WinKey + C)?
    On the bottom left the rectangular date/time panel is shown... with wrong language :(

    If you know RegEdit trick, you will help me.

    Thank you in advance :)

  • VG

    ^^ Make sure correct language and locale is set in Regional Settings window. There are multiple places in Regional settings to change locale and language.

  • Aham, it worked. Thank you again.

  • I get his error: Cannot Edit Language: Error writing the value's new contents.

    Please help.

  • VG

    ^^ You need to take ownership of the key first:

  • Hi!
    if someone get error message : error writing the value's new content
    you can do like this :
    Create net user administator account in CMD, then you can edit regedit with full rights.
    To enable this account, follow these steps :
    1)Run cmd as administrator
    2) type in cmd net user administrator /active:yes 

    Now you can swich user, and log with administrator and make these changes. 
    To turn administator account, just log back to your account, run cmd as administrator and type in cmd net user administrator /active:no 

  • Editing the registry also works on windows 10 preview all builds.

    One thing that I would like to know if any one happens to know how can I make the time and date smaller they are too big for my taste.

    Thank you

  • Can this fix be applied to all domain users that log in the computer?

Leave a Comment