Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Monday, March 26, 2018 1:18 PM
We use SCCM 2012 1710, to deploy Windows 10. Base image is English with German and Spanish language packs installed. In Task Sequence, once OS is deployed and drivers are installed, we run 'Apply Regional Settings' tasks based on Task Sequence Variable.
If RegionValue equals UnitedKingdon/Spain/Germany set timezone accordingly.e.g. for Germany we use
Each time, during deployment, we do not see any errors in the logs, in fact logs state Operation completed successfully but time zone NEVER change from UK to Germany/Spain. I have pasted smsts.logs logs below;
Extract from logs, I can provide full logs if needed;
Thanks in advance for help.
All replies (10)
Monday, March 26, 2018 1:55 PM ✅Answered
First, tzutil is an exe so it doesn't make sense to call it using cmd.exe.
Next, you are setting the time zone in WinPE, not your deployed OS. Everything before the Setup and Windows and ConfigMgr task is in WinPE and everything after is in your deployed OS instance.
Jason | https://home.configmgrftw.com | @jasonsandys
Monday, March 26, 2018 2:47 PM ✅Answered
Anywhere after the Setup Windows and ConfigMgr task. Within an MDT based TS, most folks place their customizations in the Install Applications group.
Since this is an MDT TS though, is there a reason you aren't placing all of your customizations like the timezone and applications in customsettings.ini?
Jason | https://home.configmgrftw.com | @jasonsandys
Monday, March 26, 2018 2:01 PM
Hi,
I believe in the task sequence of your time zone you need to check the initial time zone then it has to change accordingly.
for e.g. tzutil /g | findstr "Easter Standard Time" | tzutil /s "Pacific time Zone" it will set the time zone as per the condition.
Thanks
Syed
Dont forget to mark as Answered if you found this post helpful.
Monday, March 26, 2018 2:19 PM
Hi Syed,
Many thanks for your response. Just for clarity, do you mean I should use this command in my TS;
C:\Windows\System32\cmd.exe /c tzutil.exe /g | findstr "GMT Standard Time" | tzutil.exe /s "W. Europe Standard Time"
Currently it is; (as can be seen in above logs)
Monday, March 26, 2018 2:21 PM
Sorry, just don't want you to get side-tracked on this, but this is irrelevant for your core issue. My answer above your issue.
Jason | https://home.configmgrftw.com | @jasonsandys
Monday, March 26, 2018 2:42 PM
Hi Jason,
Many thanks for your response. Apologies, I did not see your response earlier and straight jumped to last response.
Here is the complete list of my TS, where would you recommend to move this TimeZone task to;
Monday, March 26, 2018 2:49 PM
Hi,
Yes correct. During post install.
C:\Windows\System32\cmd.exe /c tzutil.exe /g | findstr "GMT Standard Time" | tzutil.exe /s "W. Europe Standard Time"
Thanks
Syed.
Dont forget to mark as Answered if you found this post helpful.
Monday, March 26, 2018 2:59 PM
Thanks Jason,
I am actually new to OS deployment and still learning, I have seen customsettings.ini option but did not try that yet.
I have placed 'Apply Regional Settings' under 'Install Applications' now and will give this a try and post an update;
Monday, March 26, 2018 3:01 PM
Then honestly, start with non-MDT integrated task sequences. If you're not taking advantage of what's in MDT, don't use and save yourself time. That's not to say you shouldn't use them in the long run, but for initial learning, I don't recommend using them as it means you have so much more to learn.
Jason | https://home.configmgrftw.com | @jasonsandys
Tuesday, March 27, 2018 9:58 AM
Thanks Jason,
This worked for me. Initially I moved Regional setting and Timezone inside 'Install Applications' section, that fixed the timezone but gave me option to choose language at startup. What I end up doing is leaving Region settings in WinPE section and creating new timezone commands (tzutil.exe /s "Timezone name") after the installation section as;
All sorted now.
Thanks
Bilal