Answered MDT 2012 - ServerA variable

  • Monday, May 14, 2012 7:28 PM
     
     

    If I update the bootstrap.ini with database information for LSettings and DeployRoot=\\%ServerA%\Deploymentshare$ and Database\Locations\Details for ServerA, I receive the error that I was unable to connect to \\%ServerA%\DeploymentShare$.

    It appears the variable is not being passed. Any suggestions?




All Replies

  • Monday, May 14, 2012 7:50 PM
     
     

    Can you provide the full log?  From what you described, it appears that ServerA does not have a value, but there aren't enough details to determine why.


    Thanks, -Michael Niehaus Senior Program Manager, Microsoft Deployment Toolkit mniehaus@microsoft.com http://blogs.technet.com/mniehaus

  • Wednesday, May 16, 2012 6:42 PM
     
     

    Mr. Niehaus, thanks for your help - I'm a big fan.

    This was in the BDD log: <![LOG[ZTI error opening SQL Connection: [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. (-2147467259)]LOG]!><time="08:21:40.000+000" date="05-16-2012" component="ZTIGather" context="" type="3" thread="" file="ZTIGather">

    I removed the DBID and DBPwd settings and was prompted to "Specify credentials for connecting to network shares". I entered in the requested information and everything worked as it should. How can I bypass the prompt to enter the credentials for connecting to network shares using this method?

    I tried adding:

    UserID=
    UserPassword=
    UserDomain=

    to [LSettings].

  • Wednesday, May 16, 2012 6:46 PM
     
     

    You should be able to add UserID, UserPassword, and UserDomain to the [Default] section - it uses the same credentials for all network connections, including for SQL.  You can't put the settings in [LSettings] because of the SQL settings in that section, once it finds those it ignores other variables.


    Thanks, -Michael Niehaus Senior Program Manager, Microsoft Deployment Toolkit mniehaus@microsoft.com http://blogs.technet.com/mniehaus

  • Wednesday, May 16, 2012 7:00 PM
     
     

    I verified that:

    UserID=
    UserPassword=
    UserDomain=

    are under [Default], but that I am still being prompted for the credentials. If I remember correctly the same issue occurs with a LocationServer.xml file where the share credentials are not passed until after the connection to the server.

    EDIT: Here is what I was referring to about the LocationServer.xml file: http://social.technet.microsoft.com/Forums/en-US/mdt/thread/30182be0-ac04-4c57-be20-80cf814d6fac

  • Wednesday, May 16, 2012 7:08 PM
     
     Answered

    Make sure that the order is right - if you put the settings in [Default], then "Default" needs to be in the Priority line before any database rules that use it.


    Thanks, -Michael Niehaus Senior Program Manager, Microsoft Deployment Toolkit mniehaus@microsoft.com http://blogs.technet.com/mniehaus

    • Marked As Answer by lunarpowered Wednesday, May 16, 2012 7:24 PM
    •  
  • Wednesday, May 16, 2012 7:13 PM
     
     

    My priority was LSettings then Default, so you've likely just solved my issue.

    I'm regenerating the boot media to test now.

  • Wednesday, May 16, 2012 7:23 PM
     
     

    That fixed it! I had to move DeployRoot= to a later priority as well.

    Thanks for all of your help!