/build/static/layout/Breadcrumb_cap_w.png

How can I pass variable to a task sequence stand alone media, that need to be modify prior the deployment for ex: Language Fr or EN ?

What I have to made Is a bootable USB that do not have acces to SCCM server. We want to give to site that have those machine a way to image those machine.  On the sccm server we have collection that give a few variable: Like Version, Language, Office .. Prior the task sequence deployment. When I made a task sequence media from that task sequence those variable how not there and it dont work. How can I add a script or modify those variable and then deployed using the usb key.

To made my key usb I made a task sequence media stand alone on a dvd unlimited size and save it on disk. The Iso size was 36 gb. Then I use a tool to send the Iso file on a bootable usb key.

If it possible to modify a file and give those variable and then deployed that what i need to do. Can anyone help me with that.

Thanks you for the help

MLavergne


0 Comments   [ + ] Show comments

Answers (5)

Posted by: dcookBE 8 years ago
Senior White Belt
0
Here is  an article that explains the steps to customize Windows PE boot images to Use in Configuration Manager 
https://technet.microsoft.com/en-us/library/dn387582.aspx
Posted by: predrag 7 years ago
White Belt
0
i use UI++64 to save variable for chose OS
In task sequenca i add run command line UI++64.exe and use ChoiceInput Variable="OSDImageName" for example
Posted by: dcookBE 8 years ago
Senior White Belt
0
The variables in a collection Variable tab can also be set in the task sequence by adding the  Select ADD then General then  "Set Task Sequence Variable"  in the upper Name is a descriptive name  in the lower section you put then name of the variable and the value and it cant be changed so you will need a task sequence and boot media  for each option you want .... 

Dave 

Comments:
  • Thank You for the answer, that exactly What I have done, but i dont want to make 10 usb key per site because of a few option. Is there a way to change the variable in the task sequence that as been set in a dynamic variables when I create my bootable media on the usb keys. I check all the files one the keys as been made and no file can be edit so
    I can change and set other variable in the task sequence.. If there a way to do that it will be easy to maintain and choose what we need. - Mlavergne 8 years ago
    • The files that are created all inside a wim file you would have to remount each wim file then find and edit the changes and update the wim file I don't know the locations that would have to be edited it would probably be easier to copy the task sequence and then edit each copy then make the usb one at a time - dcookBE 8 years ago
Posted by: Killragtshirts 8 years ago
Orange Belt
0
Hi, You need something to pop-up during the OSD build where by build technicians can set the language or whatever build info you want. In the past I have used HTA boxes, Set Dynamic Variable TS step, or vbscripts (Microsoft.SMS.TSEnvironment). However, I now use this.

http://blog.configmgrftw.com/uiplusplus/

It should be able to do what you need.

Once you set the variable then you can use it how you please. eg unattend.xml

        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            <InputLocale>%OSDInputLocale%</InputLocale> 
            <SystemLocale>%OSDSystemLocale%</SystemLocale> 
            <UILanguage>%OSDUILanguage%</UILanguage> 
            <UserLocale>%OSDUserLocale%</UserLocale> 
    </component> 
    </settings> 

Hope that helps
Posted by: Killragtshirts 8 years ago
Orange Belt
0
Hi, You need something to pop-up during the OSD build where by build technicians can set the language or whatever build info you want. In the past I have used HTA boxes, Set Dynamic Variable TS step, or vbscripts (Microsoft.SMS.TSEnvironment). However, I now use this.

http://blog.configmgrftw.com/uiplusplus/

It should be able to do what you need.

Once you set the variable then you can use it how you please. eg unattend.xml

        <component name="Microsoft-Windows-International-Core" processorArchitecture="x86" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            <InputLocale>%OSDInputLocale%</InputLocale> 
            <SystemLocale>%OSDSystemLocale%</SystemLocale> 
            <UILanguage>%OSDUILanguage%</UILanguage> 
            <UserLocale>%OSDUserLocale%</UserLocale> 
    </component> 
    </settings> 

Hope that helps

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ