+ Post New Thread
Results 1 to 8 of 8
Windows Thread, GPO setting to wait for logon to map drives? in Technical; I've had a issue today where that when random users login in random rooms sometimes not all the mapped drive ...
  1. #1
    Kyle's Avatar
    Join Date
    Jan 2006
    Posts
    974
    Thank Post
    91
    Thanked 14 Times in 13 Posts
    Rep Power
    21

    GPO setting to wait for logon to map drives?

    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?

  2. #2

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,804
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: GPO setting to wait for logon to map drives?

    Code:
    WScript.Sleep(1000)
    Will delay execution in a VBS script by 1 second. Alter to suit.

  3. #3
    eejit's Avatar
    Join Date
    Jun 2005
    Location
    Ireland
    Posts
    606
    Thank Post
    52
    Thanked 12 Times in 12 Posts
    Rep Power
    22

    Re: GPO setting to wait for logon to map drives?

    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?

  4. #4

    Join Date
    Nov 2006
    Location
    Reading, UK
    Posts
    487
    Thank Post
    30
    Thanked 14 Times in 8 Posts
    Rep Power
    18

    Re: GPO setting to wait for logon to map drives?

    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.

  5. #5
    tosca925's Avatar
    Join Date
    Aug 2005
    Location
    Midlands
    Posts
    1,547
    Thank Post
    4
    Thanked 4 Times in 4 Posts
    Rep Power
    22

    Re: GPO setting to wait for logon to map drives?

    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?

  6. #6
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,009
    Thank Post
    120
    Thanked 282 Times in 260 Posts
    Rep Power
    108

    Re: GPO setting to wait for logon to map drives?

    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.

  7. #7

    Join Date
    Nov 2006
    Location
    Reading, UK
    Posts
    487
    Thank Post
    30
    Thanked 14 Times in 8 Posts
    Rep Power
    18

    Re: GPO setting to wait for logon to map drives?

    Oh right, sorry didn't read the post correctly!!

    Yeah a pause might do it.

  8. #8
    ChrisH's Avatar
    Join Date
    Jun 2005
    Location
    East Lancs
    Posts
    5,009
    Thank Post
    120
    Thanked 282 Times in 260 Posts
    Rep Power
    108

    Re: GPO setting to wait for logon to map drives?

    Quote Originally Posted by plock
    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.

SHARE:
+ Post New Thread

Similar Threads

  1. Blocking .exe from USB drives
    By mmoseley in forum Network and Classroom Management
    Replies: 2
    Last Post: 18th July 2007, 08:35 PM
  2. Replies: 5
    Last Post: 25th January 2007, 11:22 PM
  3. popup message saying installing please wait.
    By tomscaper in forum Scripts
    Replies: 32
    Last Post: 19th January 2007, 10:11 AM
  4. MCSE 2003 should I wait???
    By JayR in forum General Chat
    Replies: 19
    Last Post: 21st June 2006, 08:03 AM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •