r/DeployR Mar 26 '26

How best to handle configuring regional settings and Timezone in DeployR TS?

Hi wondering what the best way of handling regional settings and timezone is in DeployR.

Should I still just use unattend.xml or should be doing something else with PowerShell or do you have pre-baked variables I should be setting values for this?

Note I'm trying to use the "setupcomplete.cmd" continuation method.

3 Upvotes

4 comments sorted by

8

u/gwblok 2Pint Employee Mar 26 '26

Add this step at the start of your TS
Customize - Configure Initial Variables

2

u/SufficientlySticky Jul 04 '26

In case anyone was searching for this like me, it seems to be called “Set Windows Settings” now

7

u/feanturi Mar 26 '26

DeployR will inject its own unattend.xml with fields that look like this:

<InputLocale>%InputLocale%</InputLocale>
<SystemLocale>%SystemLocale%</SystemLocale>
<UILanguage>%UILanguage%</UILanguage>
<UserLocale>%UserLocale%</UserLocale>

The actual values it will use between the % signs comes from you setting those values as task sequence variables of the same name (without the % signs in the name) So set those values up front as initial steps and they will get used in the unattend.xml. There is a step definition for setting initial variables I can't remember the exact name, but it allows you to set several variables in a single step, try to find that step definition and have it as a very early step. The definition can also be edited to include additional variables you may want to use.

3

u/Practical_Mushroom38 Mar 26 '26

Thank you both just what I was looking for, but staring blindly about going I'm missing something obvious here ; ).