?
Solved

Logoff script hanging off the network!

Posted on 2008-06-13
3
Medium Priority
?
830 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 5

Accepted Solution

by:
wtstadd earned 2000 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

On July 14th 2015, Windows Server 2003 will become End of Support, leaving hundreds of thousands of servers around the world that still run this 12 year old operating system vulnerable and potentially out of compliance in many organisations around t…
I don't know if many of you have made the great mistake of using the Cisco Thin Client model with the management software VXC. If you have then you are probably more then familiar with the incredibly clunky interface, the numerous work arounds, and …
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Suggested Courses

743 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