<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Location Deployment Wizard for ConfigMgr 2007</title><link>http://blogs.technet.com/b/deploymentguys/archive/2009/08/17/location-deployment-wizard-for-configmgr-2007.aspx</link><description>When working on deployment projects, there is often a requirement for a workstation to be customised on a location by location basis. Common workstation customisations which are applied in this manner include: 
 
 Localisation settings (locales, keyboard</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: Location Deployment Wizard for ConfigMgr 2007</title><link>http://blogs.technet.com/b/deploymentguys/archive/2009/08/17/location-deployment-wizard-for-configmgr-2007.aspx#3539882</link><pubDate>Mon, 10 Dec 2012 21:19:44 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3539882</guid><dc:creator>Ben Hunter</dc:creator><description>&lt;p&gt;Hi &amp;quot;am I missing something&amp;quot;,&lt;/p&gt;
&lt;p&gt;Here are a couple of things that could be causing this issue:&lt;/p&gt;
&lt;p&gt;1) &amp;nbsp; &amp;nbsp; &amp;nbsp;If you are not seeing the location selector page at all, it suggests that the WinPE boot image with customized pre-execution hooks has not been created correctly. The Pre-execution hooks in the TSConfig.ini file force WinPE to launch the location HTA before running the ConfigMgr Task Sequence wizard.&lt;/p&gt;
&lt;p&gt;2) &amp;nbsp; &amp;nbsp; &amp;nbsp;If the HTA is firing but not connecting to the SQL Database, a few people have posted about having this issue (Named Pipes v’s TCP) and there is a solution for this issue in the comments above.&lt;/p&gt;
&lt;p&gt;Thanks Ben (via Mark)&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3539882" width="1" height="1"&gt;</description></item><item><title>re: Location Deployment Wizard for ConfigMgr 2007</title><link>http://blogs.technet.com/b/deploymentguys/archive/2009/08/17/location-deployment-wizard-for-configmgr-2007.aspx#3539293</link><pubDate>Thu, 06 Dec 2012 21:32:55 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3539293</guid><dc:creator>Am I missing something</dc:creator><description>&lt;p&gt;I followed the instructions to the letter and I can&amp;#39;t get the Location page to load before the Task Sequence&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3539293" width="1" height="1"&gt;</description></item><item><title>re: Location Deployment Wizard for ConfigMgr 2007</title><link>http://blogs.technet.com/b/deploymentguys/archive/2009/08/17/location-deployment-wizard-for-configmgr-2007.aspx#3328918</link><pubDate>Wed, 28 Apr 2010 14:18:57 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3328918</guid><dc:creator>mrdj</dc:creator><description>&lt;p&gt;Encountering the same kind of error as cdrider and Sridhar.&lt;/p&gt;
&lt;p&gt;Error: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'&lt;/p&gt;
&lt;p&gt;While connecting to SQL database using a HTA which is ran in WinPE during the OSD deployment.&lt;/p&gt;
&lt;p&gt;&amp;quot;Provider=MSDASQL;Driver=SQL Server;Trusted_Connection=Yes;SERVER=SERVERNAME;DATABASE=DB;UID=domain\user;PWD=secretWord;&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3328918" width="1" height="1"&gt;</description></item><item><title>re: Location Deployment Wizard for ConfigMgr 2007</title><link>http://blogs.technet.com/b/deploymentguys/archive/2009/08/17/location-deployment-wizard-for-configmgr-2007.aspx#3324920</link><pubDate>Wed, 14 Apr 2010 07:40:35 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3324920</guid><dc:creator>Sridhar</dc:creator><description>&lt;p&gt;I'm working on a similar setup and followed the steps outlined above. I see the same error as cdrider mentioned above if I dont modify the code Data Source=np: i.e.,&lt;/p&gt;
&lt;p&gt;*******************************************&lt;/p&gt;
&lt;p&gt;An error has occurred in the script on this page.&lt;/p&gt;
&lt;p&gt;Line: 116&lt;/p&gt;
&lt;p&gt;Char: 3&lt;/p&gt;
&lt;p&gt;Error: Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'&lt;/p&gt;
&lt;p&gt;Code: 0&lt;/p&gt;
&lt;p&gt;URL: file:///X:/LocationDeploymentWizard/LocationHTA.hta&lt;/p&gt;
&lt;p&gt;*******************************************&lt;/p&gt;
&lt;p&gt;If I update the code with Data Source=np:, I see a different error which is as follows-&lt;/p&gt;
&lt;p&gt;An error has occured in the script on this page.&lt;/p&gt;
&lt;p&gt;Line: 132&lt;/p&gt;
&lt;p&gt;Char: 3&lt;/p&gt;
&lt;p&gt;Error: [DBNETLIB][ConnectionOpen (Connect())]SQL Server does not exist or access denied.&lt;/p&gt;
&lt;p&gt;Code: 0&lt;/p&gt;
&lt;p&gt;URL: file:///X:/LocationDeploymentWizard/LocationHTA.hta&lt;/p&gt;
&lt;p&gt;*******************************************&lt;/p&gt;
&lt;p&gt;My SQL server is ver 2008 and have ensured that Named Pipes are enabled under network configuration. I can also ping the server from the client end when I see this message. Not sure what I'm missing here. Can anyone help me with you valuable inputs?&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3324920" width="1" height="1"&gt;</description></item><item><title>re: Location Deployment Wizard for ConfigMgr 2007</title><link>http://blogs.technet.com/b/deploymentguys/archive/2009/08/17/location-deployment-wizard-for-configmgr-2007.aspx#3304948</link><pubDate>Mon, 11 Jan 2010 19:32:33 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3304948</guid><dc:creator>Josh</dc:creator><description>&lt;p&gt;I had an issue with Windows PE connecting to the database after I had upgraded to SCCM 2007 SP2. &amp;nbsp;The error was &amp;quot;Safety settings on this machine prohibit accessing a data source on another domain.&amp;quot;&lt;/p&gt;
&lt;p&gt;I have a post in my blog with the details to fix it:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://joshuasmueller.spaces.live.com/blog/cns"&gt;http://joshuasmueller.spaces.live.com/blog/cns&lt;/a&gt;!39ED2989E824DC77!343.entry&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3304948" width="1" height="1"&gt;</description></item><item><title>re: Location Deployment Wizard for ConfigMgr 2007</title><link>http://blogs.technet.com/b/deploymentguys/archive/2009/08/17/location-deployment-wizard-for-configmgr-2007.aspx#3302975</link><pubDate>Tue, 29 Dec 2009 17:44:27 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3302975</guid><dc:creator>Ian B</dc:creator><description>&lt;p&gt;Can you still use the defaultgateway in customsettings.ini. I am setting location as an SCCM variable which works great if I change customsettings.ini to search on location as your example. Thing is for a &amp;quot;normal&amp;quot; install I would leave this variable blank and therefore want ztigather to pick up the location based on defaultgateway. I've tried putting BOTH Default Gateway and Location into the customsettings.ini and this works but SQL returns 2 records one for your &amp;quot;home&amp;quot; office gateway settings, then the variable you set for the other office. I can't get it to pick up just the one record. Any ideas ??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3302975" width="1" height="1"&gt;</description></item><item><title>re: Location Deployment Wizard for ConfigMgr 2007</title><link>http://blogs.technet.com/b/deploymentguys/archive/2009/08/17/location-deployment-wizard-for-configmgr-2007.aspx#3281485</link><pubDate>Wed, 16 Sep 2009 23:02:01 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3281485</guid><dc:creator>Pete</dc:creator><description>&lt;p&gt;Looks like one issue we couldn't get around was making sure that the sccm SQL server was installed locally on the SCCM &amp;nbsp;07 server. &amp;nbsp;Once we did that and did the named pipes change, everything worked perfectly...&lt;/p&gt;
&lt;p&gt;Not sure why the SQL location matters...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3281485" width="1" height="1"&gt;</description></item><item><title>re: Location Deployment Wizard for ConfigMgr 2007</title><link>http://blogs.technet.com/b/deploymentguys/archive/2009/08/17/location-deployment-wizard-for-configmgr-2007.aspx#3280574</link><pubDate>Fri, 11 Sep 2009 15:59:06 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3280574</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;Hi guys-thank you for this post on SCCM and LDW - it's been very helpful. Question for you though: I get the Location Deployment Wizard screen to popup &amp;nbsp;right after I enter the password for the task sequence. It runs through connecting to the database and all that, gets to 100%, then just continues with the task process.&lt;/p&gt;
&lt;p&gt;The login audits on the SQL side say that the MDT user successfully connected to the database, so not sure why I'm not receiving prompts to change the locations, language, etc.....&lt;/p&gt;
&lt;p&gt;Any guidance would be helpful. Thanks very much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3280574" width="1" height="1"&gt;</description></item><item><title>re: Location Deployment Wizard for ConfigMgr 2007</title><link>http://blogs.technet.com/b/deploymentguys/archive/2009/08/17/location-deployment-wizard-for-configmgr-2007.aspx#3279235</link><pubDate>Fri, 04 Sep 2009 18:36:41 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3279235</guid><dc:creator>tmenzel</dc:creator><description>&lt;p&gt;cdrider, did you have any luck resolving your error? &amp;nbsp;I am encountering the same issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3279235" width="1" height="1"&gt;</description></item><item><title>re: Location Deployment Wizard for ConfigMgr 2007</title><link>http://blogs.technet.com/b/deploymentguys/archive/2009/08/17/location-deployment-wizard-for-configmgr-2007.aspx#3279079</link><pubDate>Fri, 04 Sep 2009 03:31:30 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3279079</guid><dc:creator>James</dc:creator><description>&lt;p&gt;You Guys Rock!&lt;/p&gt;
&lt;p&gt;cdrider, &lt;/p&gt;
&lt;p&gt;I received the same error until forcing it to connect using the Named Pipe protocol.&lt;/p&gt;
&lt;p&gt;On line 117 in the LocationHTA, add np: in front of the server name.&lt;/p&gt;
&lt;p&gt;Data Source=np:&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3279079" width="1" height="1"&gt;</description></item></channel></rss>