Jump to content

Recommended Posts

Posted

Hi,

I've never been able to pull this off properly.

When I do a raw from scratch install, I always customize the time format to HH:mm:ss (ie, 24-hour clock) and the short date to yyyy/mm/dd

I also add an international keyboard at original install, but that part I can figure out.

I do this primarily because I like it :). If I don't do this at install, the default user uses the m/d/yy and hh:mm:ss tt. Now each and every new user profile must be changed. Worse anything generated by the localsystem account is in the m/d/yy etc format.

Also, at work, we have an industrial plant that goes 24-7, so it actually works out easier to scratch installs than having to have ambiguous date info lurking all over.

Even when I do this, the customizations are lost when (or if) I sysprep. (I *HATE* sysprep).

I've not tried any other unattended install methods, and have installed each and every machine at work from scratch. If I build a machine "the way I like it", then sysprep, new machines I create have the m/d/yy formats for localsystem and default user.

Can anyone tell me (or point me to the instructions) how to do this correctly?

Regards,

Vorpal


Posted (edited)

:: Comments:Regional and Languages Options
:: Regional Options
:: Standard and formats
REG ADD "HKU\%mSid%\Control Panel\International" /v "Locale" /t REG_SZ /d "0000040C" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "sList" /t REG_SZ /d ";" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "iMeasure" /t REG_SZ /d "0" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "sDecimal" /t REG_SZ /d "," /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "sThousand" /t REG_SZ /d " " /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "sCurrency" /t REG_SZ /d "€" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "iCurrency" /t REG_SZ /d "3" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "iNegCurr" /t REG_SZ /d "8" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "iTime" /t REG_SZ /d "1" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "iTLZero" /t REG_SZ /d "1" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "s1159" /t REG_SZ /d "" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "s2359" /t REG_SZ /d "" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "sShortDate" /t REG_SZ /d "dd/MM/yyyy" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "iDate" /t REG_SZ /d "1" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "sLongDate" /t REG_SZ /d "dddd d MMMM yyyy" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "iFirstDayOfWeek" /t REG_SZ /d "0" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "iTimePrefix" /t REG_SZ /d "1" /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "sMonDecimalSep" /t REG_SZ /d "," /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "sMonThousandSep" /t REG_SZ /d " " /f
REG ADD "HKU\%mSid%\Control Panel\International" /v "sTimeFormat" /t REG_SZ /d "HH:mm:ss" /f
:: Location
REG ADD "HKU\%mSid%\Control Panel\International\Geo" /v "Nation" /t REG_SZ /d "84" /f

:: Languages
:: Text services and input languages
:: Default input language
REG ADD "HKU\%mSid%\Keyboard Layout\Preload" /v "1" /t REG_SZ /d "0000040c" /f
REG ADD "HKU\%mSid%\Keyboard Layout\Preload" /v "2" /t REG_SZ /d "00000409" /f
:: System configuration
:: Turn off advanced text services
REG ADD "HKU\%mSid%\Software\Microsoft\CTF" /v "Disable Thread Input Manager" /t REG_DWORD /d "00000001" /f
REG ADD "HKU\%mSid%\Software\Microsoft\CTF\MSUTB" /v "ShowDeskBand" /t REG_DWORD /d "00000000" /f
REG DELETE "HKU\%mSid%\Software\Microsoft\Windows\CurrentVersion\Run" /v "ctfmon.exe" /f
REG ADD "HKLM\SOFTWARE\Microsoft\CTF\SystemShared" /v "CUAS" /t REG_DWORD /d "00000000" /f
REG ADD "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\IMM" /v "LoadIMM" /t REG_DWORD /d "00000000" /f
:: Language used in menus and dialogs
:: REG ADD "HKU\%mSid%\Control Panel\Desktop] /v "MUILanguagePending" /t REG_DWORD /d "0000040C" /f
:: Advanced
:: Language for non-Unicode programs
REG ADD "HKLM\SYSTEM\CurrentControlSet\Control\Nls\Language" /v "Default" /t REG_SZ /d "040c" /f

Notes:

"040c"=French

"0C0C"=French (Canadian)

" 1009 "=English (Canada)

"€"=Euro currency ; replace with your's

Nation change to "39"

I haven't tried this batch at T-12 stage (cmdlines.txt) but it may be the best stage to apply changes to default user. replace HKU\%mSid% with HKCU

%mSid% can be obtained using Yzöwl script Reading SID from registry

Keyboard layout, How to set "Francais,Canada"

Edited by Bilou_Gateux

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...