Enthusiast Geek, Author, Speaker, Traveler, Mountains Lover, Runner and Trailer... I will try to share the best of my journeys with you!

Bug MDT 2010

Pour les amateurs de MDT 2010 qui est RTW depuis peu, un bug a été identifié lorsque vous faites un Refresh ou Replace avec un Sysprep, puis une capture dans une séquence de tâches Custom. Vous allez avoir une erreur comme quoi la connexion au partage de distribution ne peut être faite. Dans les logs vous aurez un “Multiple connections to a server or shared resource by the same user, using more than one user name, are not allowed.”.

Pour régler ce problème il faut éditer le script ztiutility.vbs dans le dossier script de votre partage de distribution. Utilisez Notepad et remplacer le code de la fonction MapNetworkDriveEx avec :

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

Une KB devrait sortir prochainement. Merci David pour la news Facebook 😉

Source : http://blogs.technet.com/msdeployment/archive/2009/09/18/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.aspx

William
Follow me!

William

Pre-Sales Engineer chez VMware France
I'm passionate about computing and new technologies since my childhood. I have a very broad and deep knowledge in IT. I'm specialized on the End User Computing solutions, especially on Microsoft, Citrix and VMware technologies.

Otherwise, I'm lucky to fill the rest of my life with activities brimming with interest and passion, practicing sports such as running/trail, hiking in mountains as soon as I can, traveling around the world, and meeting new people.

Feel free to join my LinkedIn profile (https://www.linkedin.com/in/williambories).
William
Follow me!