Skip to content

Setting task sequence variables in sccm

Featured Replies

I am looking for is in windows 10 In-place upgrade task sequence, a task sequence variable to be set that should check the language installed in current OS and if the language is not English, the task sequence should stop and do not continue further.

 

So far I am trying to understand, how does TS variable helps in identifying the OS Language in the current OS and based on the condition set It should proceed accordingly.

 

I have created an windows 10 in-place upgrade task sequence and added a task sequence variables , in option tab I have used if condition with register setting and WMI query, both of them Didn’t worked and task sequence proceed, even if the current OS is not English.

.

 

 

Have you tried just a wmi query? (Ignore variables)

 

What you need to do is identify where in the WMI information about languages is stored (if it is). Then interrogate that class within the task sequence with a wmi query.

 

 

Doesnt have to be wmi, can be registry as well. Not had to do this but im confident this is possible. Just a case of finding right type of query (mi, reg, etc)

  • Author

i have tried WMI query and registry value but none of them are working.

  • 2 weeks later...

When you say not working, what happens?

 

How i would do it is on the very first folder of your task sequence, place a wmi/reg condition to state this step will only run if condition is met. Test this condition on a win10 machine which has both EN and nonEN languages.

 

I do this for many applications and works fine. Never needed to do it for a O/S deploy but theory is the same.

  • 4 weeks later...
  • Author

Can you share screen shots of the condition you have applied, that will give me some idea.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

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.