Avatar of cstratton
cstratton
 asked on

Mapped Drives Script Long Login Time

We have a group of users that we have a login script for that maps drives. if they are at work then it works great. but, it they take their laptops home then their login time goes to 5-7 minutes. How do you suggest we fix the script so when they are off the network it does not try to map the drives????
Windows 7Active DirectoryWindows Networking

Avatar of undefined
Last Comment
cstratton

8/22/2022 - Mon
NLKornolio

Not really home in script but can't you specify the script so its only for the work domain ?
Aland Coons

Please try these settings to Run logon scripts synchronously.
http://support.microsoft.com/kb/265016

    User Configuration\Administrative Templates\System\Logon\Logonff
        Disable logoff
        Run logon scripts synchronously
        Run legacy logon scripts hidden
        Run logon scripts visible
        Run logoff scripts visible

    Computer Configuration\Adminstrative Templates\System\Logon
        Run logon scripts synchronously
        Run legacy logon scripts hidden
        Run startup scripts visible
        Run shutdown scripts visible
        Maximum wait time for Group Policy scripts
cstratton

ASKER
NLKornolio,

do you have an example?

Alandc,

how would this stop the script from trying to connect the mapped drives when it's off the network?
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
ASKER CERTIFIED SOLUTION
Neil Russell

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
NLKornolio

Srry no not really skilled in scripting and google doesnt give me an example.

Thougth you could say only map drives if connected to the work network profile. So not for home or public.

You looked at offline foldering ?
cstratton

ASKER
thanks, Neilsr I'll give that a try!!