Need help to add (integrate) the Date & Time Settings in ISO

SM03

Active Member
Hello,

The default Windows date & time (precisely Long date, Short time & Long time options) are like this in 24Hrs format

1.png

& I want to change & keep those options in AM/PM format, like this

2.png

As these customization options are not there in NTLite, & I want to automate/integrate these settings while customizing the Win ISO via NTLite so that I don't have to change those manually every time after I clean install Windows, so I made a .REG file by taking a full backup (EXPORT) of this following registry path

HKEY_CURRENT_USER\Control Panel\International

where all those Date&Time settings are stored & add the reg file in NTLite's Integrate/Registry section

as well as in NTLite Automate/Post-Setup (USER+MACHINE) section

3.png

Unfortunately, still, those three options are not being changed in AM/PM option & remaining in the default 24HRS options, when I make a clean installation of the Windows via this custom made ISO. Even after a restart (reboot).

Can anyone tell me why it's not being implicated or what I am missing here? If any correction or any workaround needed to make this happen?

Tested on Windows 20H1 & 20H2, using NTLite latest 2.X series build(s)

For ease of understanding & better clarification on this matter, I am adding the REG file here in the attachment section.

Also, if anyone knows how to activate this Windows Settings Header

3.jpg

via NTlite, any Post command or automated command script in post setup, or something else that automatically enable it from the first boot of the Windows, without using the 'ViveTool' or 'mach2' & manually entering the commands to enable this, kindly let me know.
 

Attachments

  • Date&Time Settings.reg
    350 bytes
Last edited:
on "as well as in NTLite Automate/Post-Setup (USER+MACHINE) section" there is an image underneath that doesnt show,can you fix that please :)
 
on "as well as in NTLite Automate/Post-Setup (USER+MACHINE) section" there is an image underneath that doesnt show,can you fix that please :)
Hey Clanger, thanks for the heads-up. Just re-uploaded the image (SS), can you check now & confirm whether it's showing now correctly or not at your end?

Also, if you can suggest anything in this regard, let me know.
 
i noticed this --> sShortDate . you are using that exactly and not ShortDate?
yes, image is showing correctly now :)
 
i noticed this --> sShortDate . you are using that exactly and not ShortDate?
yes, image is showing correctly now :)
Clanger

Yeah, correct order would be 'Long date, Short time & Long time'

Edited in the main OP. Sorry, that was my mistake (*typo) & Thanks for pointing that out.
 
time and dates arent something i fiddle around with. use this search result, hope it helps. try tenforums, Tutorials, if not try their older 7 and 8/8.1 forums, the links will be at the bottom of their main page. if nothing comes of that lot try pinging Kasual George King and MT_
 
time and dates arent something i fiddle around with. use this search result, hope it helps. try tenforums, Tutorials, if not try their older 7 and 8/8.1 forums, the links will be at the bottom of their main page.

Clanger the issue is not about registry settings, as I already told, I already exported the AM/PM formatted ''Long date, Short time & Long time' reg settings from the HKEY_CURRENT_USER\Control Panel\International registry path as a usual .REG file & that can be easily applied by double-clicking (Merging) on that REG file, no issue on that.

The issue is, that particular (Date&Time Settings) REG file, unlike other reg files, are not being implemented through NTLite process, which I've already tried multiple times, & that too adding in both section (Registry & Post-Setup section) which I already mentioned here too.

I told (pm'ed) about this issue to the DEV (Nuhi) multiple times, but he never reverted on this matter.

So, I post this issue here (along with the other Windows Settings Header) publicly for two reasons:

1. To check whether other users of NTL are facing this same issue, i.e. Date&Time REG file can't be implemented via NTL, unlike the other REG files. If yes, then if the other users also can test & confirm this, then maybe the Dev would listen & look into this matter. In fact, initially, I suggested him to add this feature/functionality in NTL customization option for easy implication, but he seems to be not interested in that, so then I've to rely on this REG adding method, which is (again) not working as intended. So, here we are.


2. To seek for any other solution from others if anyone can advise me for this as well as the other (Windows Settings Header) one.

P.S: For ease of understanding, I am adding the REG file here & in the OP (Main Post).
 

Attachments

  • Date&Time Settings.reg
    350 bytes
Last edited:
try - HKEY_USERS\.DEFAULT\Control Panel\International
I already mentioned (in bold latter) that I tried (read backed up/exported the REG settings) from that path only, please read (or re-read) the OP (main post) carefully once again.



Already did.

Sorry, just realized my REG path is different from yours

The REG file I took & applied is from

HKEY_CURRENT_USER\Control Panel\International

& the one that you mentioned here is from

HKEY_USERS\.DEFAULT\Control Panel\International

Well, now am gonna try this one you suggested & revert here.

Also, if you can, try both & let me know about your exp.
 
Last edited:
i am here to help only, not be drawn into any disagreements/differences of opinion/whatever.

HKCU reggys should go into all users with the tool. i cant try this for an image to install but i can fiddle around on my current w7 installation.
i have fiddled with your file and i am now showing a 12hour clock in the taskbar notification area. i need to fiddle more.
it ight be that your reg is wrong, i dont know yet. let me fiddle and i will get back to you. hopefully you will find what works or someone else posts the answer.
 
this works on w7, clock in taskbar now shows a 12 hour clock, 4.13pm and not 16.13.

Code:
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Control Panel\International]
"sTimeFormat"="h.mm.ss tt"

clock.JPG
 
try - HKEY_USERS\.DEFAULT\Control Panel\International

Here we're discussing onWindows 10 platforms, not Windows 7. And I left Win7 long ago.


Nevertheless, I tried this as well, still the same result, i..e Long date, Short time & Long time not changed

So far, I've tried these reg settings, ading via NTL registry & post section

HKEY_CURRENT_USER\Control Panel\International
"sLongDate"="dddd, d MMMM, yyyy"
"sTimeFormat"="h.mm.ss tt"
"sShortTime"="hh:mm tt"


HKEY_USERS\.DEFAULT\Control Panel\International
"sLongDate"="dddd, d MMMM, yyyy"
"sTimeFormat"="h.mm.ss tt"
"sShortTime"="hh:mm tt"

Results are the same i..e Long date, Short time & Long time not changed

Maybe, the dev or any other users can test & clarify.

One thing I forgot to mention, I create a default local (offline) account via NTL post settings to avoid the OOBX, that could be the reason for not effectively applying these reg settings for this matter?
 
Last edited:
UPDATE:
======
Okay, I dug a bit further this weekend & here are my findings

Long Date: "sLongDate"="dddd, d MMMM, yyyy"
Short Time: "sShortTime"="hh:mm tt"
Long Time: "sTimeFormat"="h.mm.ss tt"

On a clean Win10 installed system, I only changed those three above mentioned things from Windows Settings, here

From this
1.png

to this
2.png

& while changing those options from Windows Settings, the main REG value that's changing here was observed, recorded & analysed by Regshot, & here is the result, the main changing path is

HKEY_USERS\S-1-5-21-XXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-1000\Control Panel\International
Also, the change is relfected here
HKCU\Control Panel\International

But not any value change observed, recorded & analysed by regshot in here HKEY_USERS\.DEFAULT\Control Panel\International (Clanger)

So I concluded this in the following manner

1. The value of X in 'HKEY_USERS\S-1-5-21-XXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-1000' is dynamic, not constant & that changes on every Win (clean) installation & differ from user to user (different USER IDs in X values)

& moreover, This Reg path 'HKEY_USERS\S-1-5-21-XXXXXXXXX-XXXXXXXXXX-XXXXXXXXXX-1000' cannot be added/integrated via NTL, & always shows[50] ERROR when you try to add. The dev nuhi can explain this I think.

2. Even though, the exported reg key from another reg path HKCU\Control Panel\International can be added via NTL, but that's never worked for me. I added that (See attachment) reg file in NTL

here in Registry
3.png

& also her in the post-setup (User+machine) section
4.png

& made an ISO for testing, but those reg values not effectively being implemented on a clean installation OS don't know why.

So, that's all from my end, I decided to post this for two further references
-if anyone is interested in this like me, can know about all these findings from here
-if anyone can provide any solution on this matter, or anything that sort, so all that can be well-placed here in this OP for every user around here who will be looking for this.
 

Attachments

  • D&T.reg
    358 bytes
btw that header is going to be a new feature. so u need insider version of windows
That's something that I used to enable via mach2 command & implying that in Win ISO followed by a setcomplete.cmd command in NTL to implement that settings header automatically, since 1903 & that worked in every NTL build till 20H2. In 20H2, sometimes it implemented automatically on first boot, sometimes not, I don't know the reason as I've been following the same procedure that used to work earlier since 1903.

It's up to MSFT when they will bring this for all in general so that we don't need to use any 'workaround' in order to get (activate) this.
 
Back
Top