setting up logon script

watts3000

Senior member
Aug 8, 2001
619
0
0
We run dfs all files referenced through the dfs root on. The problem is with home drives I need a way to tell a client machine to fail over to another server. For example lets say your home folders are at //server/home. If server goes down I want an automatic redirection to lets say //server2/home. I know i can just map to the dfs root and it will fail over automatically, but we've had problems when mapping home drives to the dfs root. For example, the script does not run right when we reference the root. I have 50 percent of my users that the script will run for and 50 perecent that it won't. This is my currect logon script its pretty simple.


Dim objNet, strUserName

Set objNet = CreateObject("Wscript.Network")

strUserName =objNet.UserName

objNet.MapNetworkDrive "H:", "\\servername\share\" & strUserName
WSCript.Quit