Kyle Posted November 23, 2006 Posted November 23, 2006 I've had a issue today where that when random users login in random rooms sometimes not all the mapped drive map. It is not specific to any one in particular or any room its random. I know there could be up to 400 people logging on on the hour every hour but i don't know of many other people having problems. The logon scripts are vbs and i wondered if there is any setting in GPO that makes the logon wait or delay for the scrip to run. Any ideas?
Geoff Posted November 24, 2006 Posted November 24, 2006 WScript.Sleep(1000) Will delay execution in a VBS script by 1 second. Alter to suit.
eejit Posted November 24, 2006 Posted November 24, 2006 Kyle, why do you think that you need a delay? If all 400 have the same delay won't that leave the system in the same state that it was before?
plock Posted November 24, 2006 Posted November 24, 2006 Hi everyone, new on here! Maybe try using a batch script. I know that these are going back but it would be interesting to see if any delay continues to take place.
tosca925 Posted November 24, 2006 Posted November 24, 2006 Just reading this post, is there any issues in using vbscripts to logon instead of batch files. Also am i right in thinking that when the users logs on you think that because 400 odd users log on at the same time then the traffic that is generated is stopping certain drives from mapping?
ChrisH Posted November 25, 2006 Posted November 25, 2006 I have never had a problem with a VB Script logon script but then I dont have that many people logging on at once. If you think the server is getting overloaded then you can do as geoff suggested and use a pause in your script then combine that with some code to see if the drive has been mapped. The command itself should return an error code of you could check if your newly mapped drive exists. The other thing you can do is have a mirror of your share using DFS on two servers and map the drive to the DFS path eg \\yourdomain\shared\myshare this should then help with load balancing.
plock Posted November 27, 2006 Posted November 27, 2006 Oh right, sorry didn't read the post correctly!! Yeah a pause might do it.
ChrisH Posted November 27, 2006 Posted November 27, 2006 Oh right, sorry didn't read the post correctly!! Yeah a pause might do it. I think the pause batch command needs a key to be pressed to continue so not the best idea for you.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now