Hi All
For some reason I can't map to a DFS share from a VBS login script. If I use standard UNC paths to a server it works fine but defeats the object of using DFS. I've wondered if it needs a different approach but I don't know that much about VBS - still learnin'! Running AD on 2k Server.
eg: ('DOMAIN' is the domain name and DFS Root)
'K: Departments
If IsMember( "Domain Users" ) Then
Call MapDrive ("K:", "DOMAIN", "Departments")
The mapping bit goes...
If objFileSys.DriveExists(strDrive) = True Then
objWshNetwork.RemoveNetworkDrive strDrive, , True
End If
'Build path to share
strPath = "\\" & strServer & "\" & strShare
End If
strServer = domain/DFS Root
strShare = Share
Has anyone else seen this? It's a new domain and I can't go live untill this is sorted.
Thanks
For some reason I can't map to a DFS share from a VBS login script. If I use standard UNC paths to a server it works fine but defeats the object of using DFS. I've wondered if it needs a different approach but I don't know that much about VBS - still learnin'! Running AD on 2k Server.
eg: ('DOMAIN' is the domain name and DFS Root)
'K: Departments
If IsMember( "Domain Users" ) Then
Call MapDrive ("K:", "DOMAIN", "Departments")
The mapping bit goes...
If objFileSys.DriveExists(strDrive) = True Then
objWshNetwork.RemoveNetworkDrive strDrive, , True
End If
'Build path to share
strPath = "\\" & strServer & "\" & strShare
End If
strServer = domain/DFS Root
strShare = Share
Has anyone else seen this? It's a new domain and I can't go live untill this is sorted.
Thanks