Solved

Logoff script hanging off the network!

Posted on 2008-06-13
3
751 Views
Last Modified: 2008-07-30
Here's the situation... I have a logoff script that runs to copy a few files (nothing big) from a user's PC to a network share.

A lot of times, users will disconnect their laptop from their docking station and walk away with it, and shut down without being on the network. When they do this, occasionally the logoff script runs for a VERY long time. My guess is that they cannot read the script off the NETLOGON directory, since they aren't on the network, yet it's being queued to run as they log off since they still have the policy for it.

What is the method to alleviate this? I don't want them to run policy based scripts if they aren't on the network, and it happens only occasionally, but since it happened to me today (took my laptop off the dock for a presentation, and shut down... took 20 minutes!)

Thanks very much for any help.

As an aside -- I set the maximum wait time to 5 minutes for script processing... it doesn't seem to have helped much.

Thanks!
0
Comment
Question by:PNJIT
3 Comments
 
LVL 5

Accepted Solution

by:
wtstadd earned 500 total points
ID: 21781901
You could add a couple lines to your script basically to check whether or not it gets a ping response from domaina.local (whatever your domain name is) and if so, then it runs the scripts otherwise it does not.

0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Windows 10 is here and for most admins this means frustration and challenges getting that first working Windows 10 image. As in my previous sysprep articles, I've put together a simple help guide to get you through this process. The aim is to achiev…
Learn about cloud computing and its benefits for small business owners.
This video discusses moving either the default database or any database to a new volume.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

757 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

20 Experts available now in Live!

Get 1:1 Help Now