Jump to content


ayadav1622

Setting task sequence variables in sccm

Recommended Posts

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.

.

 

 

Share this post


Link to post
Share on other sites

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)

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

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...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...


×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.