No guarantees here, but I this is an excerpt from my own logon.bat file. I
have W2000 Adv_Server and a W2000 Pro client. the script works fine.
As long as you get the batch file to run, the vbs file should run as well.
Good luck.
Don Ireland
_______________________________________________
????????????????????????
Real happiness is cheap enough, yet how dearly we pay for its
counterfeit.
-- Hosea Ballou
============================
Logon.bat
============================
start \\medina2\netlogon\login.vbs /w
net time \\Medina2 /set /yes>nul
============================
Logon.vbs
============================
Option Explicit
Dim oShell, oNet, oFSO, oWshNetwork, oGroupDict
'-----------------
'Objects go here
Set oShell = CreateObject("Wscript.Shell")
Set oNet = CreateObject("Wscript.Network")
set oFSO = CreateObject("Scripting.FileSystemObject")
'-----------------
'all mapping and stuff is done from'here
'you should not have to change functions
'unless they do not work for some'reason
'you can put any combination of code in here
Set oDrives = oNet.EnumNetworkDrives
For i = 0 to oDrives.Count - 1 Step 2
oNet.RemoveNetworkDrive oDrives.Item(i)
Next
oNet.MapNetworkDrive "g:", "\\Medina2\adm"
oNet.MapNetworkDrive "h:", "\\Medina2\exchange"
oNet.MapNetworkDrive "l:", "\\Medina2\medina"
oNet.MapNetworkDrive "p:", "\\Medina2\project"
oNet.MapNetworkDrive "s:", "\\Medina2\software"
oNet.MapNetworkDrive "y:", "\\Medina2\bat"
'If IsMember("MGMT") Then
' oNet.MapNetworkDrive "m:", "\\Medina2\mgmt"
'End If