修正MDT2010中同一用户名无法多次登录网络共享的问题
精选 转载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
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
上一篇:评估MDT2010的存储要求
下一篇:MDT 2010尝鲜(1)
![](https://ucenter.51cto.com/images/noavatar_middle.gif)
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章
-
Odoo中防止用户同一时间多次点击同一按钮触发函数
odoo防止用户重复快速点击按钮
ide xml javascript odoo