Microsoft Deployment Toolkit Team Blog
Official blog for MDT 2010

September, 2009

  • Microsoft Deployment Toolkit Team Blog

    Fix for ‘Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed” problem with MDT 2010

    • 8 Comments

    There have been reports of a problem when running Refresh, Replace, Sysprep and Capture, and Custom task sequences with MDT 2010.  When running those scenarios an error message is displayed after completing the wizard that states “A connection to the distribution share could not be made”.  When looking at the log files the error states: ‘Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.”

    This problem seems to occur most often when logged onto the client machine as one user and entering different credentials into the deployment wizard or customsettings.ini.

    We have developed a fix for this problem.  To fix the problem you should edit the ztiutility.vbs file in the deployment share under the scripts folder.  Open the file in notepad and replace the following code in the MapNetworkDriveEX function:

    Case Else

    ' Case &h800704C3 ' Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.

    ' Case &h8007052E ' Logon failure: unknown user name or bad password.

    ' There was a some kind of fatal error.

    If ErrDesc <> "" then

                 MapNetworkDriveEx = ErrDesc

    Else

                 MapNetworkDriveEx = "Unable to map UNC Path " & sShare & " :" & "( 0x" & hex(HasError) & " ) "

    End if

    oLogging.CreateEntry MapNetworkDriveEx & "", iLogType

    Exit function

    End select

    With this code:

    Case Else

    Err.Clear

    On Error Resume Next

    oNetwork.MapNetworkDrive  chr(sDrive)&":", sShare, False

    HasError = err.number

    ErrDesc = err.Description

    On Error Goto 0

    If Err.Number <> 0 Then

    ' There was a some kind of fatal error.

                 If ErrDesc <> "" then

                                            MapNetworkDriveEx = ErrDesc

                 Else

                                            MapNetworkDriveEx = "Unable to map UNC Path " & sShare & " :" & "( 0x" & hex(HasError) & " ) "

                 End if

                 oLogging.CreateEntry MapNetworkDriveEx & "", iLogType

                               Exit function

    Else

          Exit Function

    End If                   

    End select

    We thank you very much for your feedback and assistance in helping us fix this problem.  We are currently working on a KB article that decribes these steps and will update once that KB article is available

  • Microsoft Deployment Toolkit Team Blog

    MDT 2010 is Released!

    • 3 Comments

    We are pleased to announce the release of MDT 2010 available for download here

    MDT 2010 has been in planning and development for a little over a year and is our largest release to date with over 70% of our code changing since MDT 2008.  MDT 2010 has also been tested throughout our Beta and Release Candidate versions by well over 10,000 IT professionals around the world.  We appreciate all of the feedback you have given and without your help this release would not have been possible.

    Michael Niehaus did a great series of blog posts on most of the new features of MDT 2010.  You can review those posts here: http://blogs.technet.com/mniehaus/search.aspx?q=MDT+2010+New+Feature&p=1

    Please make sure you review the release notes for instructions on how to upgrade from MDT 2008 or one of the beta releases of MDT 2010.

    THANK YOU EVERYONE FOR MAKING THIS RELEASE POSSIBLE!

Page 1 of 1 (2 items)