我尝试使用vb脚本通过ADSI WinNT访问Lanmanserver,
Set FileShare = GetObject("WinNT://wn0home/LanmanServer")
For Each ShareObj in FileShare
WScript.Echo ShareObj.Name & " = " & ShareObj.Path
Next
但是,我一直在 Active Directory:常规访问被拒绝错误
这里有人熟悉这个吗?
答案 0 :(得分:0)
该行应为,
WScript.Echo ShareObj.Name & " = " & ShareObj.AdsPath