Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Changing Date Format in Autounattend.xml

Featured Replies

Hi Guys,

Could you please give me some XML examples that customize the date format and Language.

Basically I want to have it like this after Windows is finished installing:

regionandlanguage200906.png

b47mzs.png

2lm5qmt.png

Thanks,

McoreD

I have this for uk

	<settings pass="windowsPE">
<component name="Microsoft-Windows-International-Core-WinPE" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SetupUILanguage>
<UILanguage>en-US</UILanguage>
</SetupUILanguage>
<InputLocale>0809:00000809</InputLocale>
<SystemLocale>en-UK</SystemLocale>
<UILanguage>en-US</UILanguage>
<UserLocale>en-UK</UserLocale>
</component>

  • Author

Thanks. After a bit more googling I found the Input Locale for AU. I don't know if <InputLocale>0c09:00000409</InputLocale> is the same as <InputLocale>en-AU</InputLocale>, anyways:

		<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>0c09:00000409</InputLocale>
<SystemLocale>en-AU</SystemLocale>
<UILanguage>en-AU</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-AU</UserLocale>
</component>

How to customize Date and Time format is still undetermined. Anybody have a clue?

For Inout locale i had to use <InputLocale>0001042f</InputLocale> because <InputLocale>es-ES</InputLocale> or even <InputLocale>es-MX</InputLocale> never worked for me since Vista came out.

For the other regional settings maybe you can use registry tweaks or read the WAIK docs. I remember seeing some info there but i'm not sure as to what extent you can modify date and time formats.

I do agree something that was not overcome since Vistas inception I'm now to believe. Like McoreD I have used every combination available in the passes to get the Au to work. Always falls back to en-US.

Maybe trying to not set the fallback language to <UILanguageFallback>en-US</UILanguageFallback> gets yours to work.

Just leave it empty in WAIK or delete in the XML file.

My input works even in Windows 7 XML file, but I'm trying to set the TAPI settings from the XML file but I get an error that they can't be set and the installation aborts.

  • Author

Everything went fine for last night's install:

		<component name="Microsoft-Windows-International-Core" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<InputLocale>0c09:00000409</InputLocale>
<SystemLocale>en-AU</SystemLocale>
<UILanguage>en-AU</UILanguage>
<UILanguageFallback>en-US</UILanguageFallback>
<UserLocale>en-AU</UserLocale>
</component>

except the Date Formats.

These, I still have to do manually:

yyyy-MM-dd

HH:mm:ss

Are there any Autounattend.xml settings for these? I went through the WAIK's Help file but didn't see anything. So I guess there can be a registry hack for it.

  • 3 months later...
  • 3 years later...

Hello McoreD,

Did you find any way to define date and time format in Unattended.XML file (answer file)? If not, how did you over come this?

Thank you

Regards,

Saravanan

It is not an option in Autounattend.xml, but you can still script it. If you have in your FirstLogonCommands, you can use intl.cpl and an XML file to set the date format.

Here's an example of the XML itself:

http://blogs.msdn.com/b/michkap/archive/2006/05/30/610505.aspx

Here's two other pages that might help:

http://technet.microsoft.com/en-us/library/cc721887%28v=ws.10%29.aspx

http://msdn.microsoft.com/en-ie/goglobal/bb964650%28en-us%29.aspx

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.