Solved

Mapped Drives Script Long Login Time

Posted on 2012-12-21
6
514 Views
Last Modified: 2012-12-21
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????
0
Comment
Question by:cstratton
6 Comments
 
LVL 4

Expert Comment

by:NLKornolio
ID: 38713188
Not really home in script but can't you specify the script so its only for the work domain ?
0
 
LVL 12

Expert Comment

by:alandc
ID: 38713191
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
0
 

Author Comment

by:cstratton
ID: 38713273
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?
0
Give your grad a cloud of their own!

With up to 8TB of storage, give your favorite graduate their own personal cloud to centralize all their photos, videos and music in one safe place. They can save, sync and share all their stuff, and automatic photo backup helps free up space on their smartphone and tablet.

 
LVL 37

Accepted Solution

by:
Neil Russell earned 500 total points
ID: 38713321
Just have a line in your script that checks for the existance of a known server file. If that file exists, your on the network so process your drive maps. If the file does NOT exist, your NOT on the network so DONT process your drive maps.

IF EXISTS  \\servername\share\file.ext (
do file maps
) ELSE (
Dont
)
0
 
LVL 4

Expert Comment

by:NLKornolio
ID: 38713340
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 ?
0
 

Author Comment

by:cstratton
ID: 38713356
thanks, Neilsr I'll give that a try!!
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

OfficeMate Freezes on login or does not load after login credentials are input.
Is your Office 365 signature not working the way you want it to? Are signature updates taking up too much of your time? Let's run through the most common problems that an IT administrator can encounter when dealing with Office 365 email signatures.
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you a introduction in two parts how to utilize Windows Live Movie Maker to its maximum editing capability. This will be demonstrated using Windows Live Movie Maker on Windows 7 operating system.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now