Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

logon script help

Status
Not open for further replies.

alpha88

MIS
Jan 1, 2004
90
US
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top