{"id":493,"date":"2013-02-13T21:44:59","date_gmt":"2013-02-13T20:44:59","guid":{"rendered":"http:\/\/sccmfaq.wordpress.com\/?p=493"},"modified":"2013-02-13T21:44:59","modified_gmt":"2013-02-13T20:44:59","slug":"sccm-2012-sp1-task-sequence-collection-variables-not-applied","status":"publish","type":"post","link":"https:\/\/blog.hosebei.ch\/?p=493","title":{"rendered":"SCCM 2012 SP1 &#8211; Task Sequence Collection variables not applied"},"content":{"rendered":"<p>Recently I set up my lab with the brandnew SP1, so I decided to go everthing on 2012, as it is supported since SP1 to use SQL Server 2012 as database backend. So I installed two Windows Server 2012, one with SQL Server 2012 and one with SCCM 2012 SP1. After all was running fine, I wanted to check a use case, which is often required: To get an Operting System Deployment which language is set by collection variables. Business as usual&#8230;<!--more--><\/p>\n<p>I used Windows 8 as Installation, integrated the german language pack and loaded it up to the SCCM Server. I created an unattend file with the Windows System Image Manager, and used the variables (for all who asking what I&#8217;m talking about, ask in the comments, then I will make a post about this Topic). I&#8217;ve done this several times with SCCM Versions before SP1. The language was not applied. So I made an TechNet Forum post (http:\/\/social.technet.microsoft.com\/Forums\/en-US\/configmanagerosd\/thread\/612d00b8-b989-4e6a-8e14-e96f7ecbdbe5) to ask, if somebody has the same behaviour, or if somebody can tell that this works.<\/p>\n<p>So, as I written in this Forum, the Problem was the second last line in the XML File. This line in the XML file is a reference to the wim file, which was used to create the catalog. Usually it Looks like this one:<br \/>\n&lt;cpi:offlineImage cpi:source=&#8221;&#8221; xmlns:cpi=&#8221;urn:schemas-microsoft-com:cpi&#8221; \/&gt;<\/p>\n<p>I then tested around, and found a solution:<br \/>\nWhen this reference line is written in the xml file, and the language settings were set hardcoded (e.g. en-US or de-CH) the unattended file is applied.<br \/>\nWhen this reference line is written in the xml file, and the language settings were set with variables, the variables will not be resolved in the xml file.<br \/>\nWhen this reference line is NOT written in the xml file, and the language settings were set with variables, everything <strong>works<\/strong> as expected.<\/p>\n<p>Hope this helps.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Recently I set up my lab with the brandnew SP1, so I decided to go everthing on 2012, as it is supported since SP1 to use SQL Server 2012 as database backend. So I installed two Windows Server 2012, one with SQL Server 2012 and one with SCCM 2012 SP1. After all was running fine, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13,27],"tags":[],"class_list":["post-493","post","type-post","status-publish","format-standard","hentry","category-collection","category-operating-system-deployment"],"_links":{"self":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/493","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=493"}],"version-history":[{"count":0,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=\/wp\/v2\/posts\/493\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=493"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=493"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.hosebei.ch\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=493"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}