Solved

Run a script after a period of inactivity.

Posted on 2009-05-05
2
1,070 Views
Last Modified: 2012-05-06
I have a public workstation which is used for internet browsing certain web sites.  People use the workstation, navigate to what they need and then leave.  Normally when they leave the browser is not at the regular homepage.  When the PC starts I have IE set to run automatically and the homepage set.  When the homepage is displayed it is inviting to people passing by, by what is displayed on the screen (the homepage) they understand what the workstation is intended for.  After someone uses the workstation and the browser is left at something other than the homepage there is no longer any evidence of what the pc is intended for.  What I would like to do is this.  Is there a way to trigger a script to run after a period of inactivity?  I would assume that after 10 minutes the user is no longer at the workstation and I will shutdown IE if it is open and then restart IE.  This way IE will display the inviting homepage.  Any help will be appreciated.  Thanks!
0
Comment
Question by:barrontech
2 Comments
 
LVL 13

Accepted Solution

by:
usachrisk1983 earned 500 total points
ID: 24304385
Hmm, perhaps toy with creating a Windows Scheduled Task that runs every 10 minutes that runs your script, but under the Settings tab check the box that says "Only Start Task if the Computer has been idle for at least" - and enter 10 minutes, then put 10 minutes under the "if my computer has not been idle that long , retry for up to".  

If I'm reading it right, assuming it starts on the hour, at 1pm it'll check if the computer has been idle for 10 minutes, if so, restart IE, if not, keep retrying for up to the 10 minutes for when it becomes idle.  If it doesn't become idle in that 10 minutes, the next "schedule" would kick off and this would continue through the day

It's probably not exact, but will probably do the trick.  Just make sure to test it thoroughly - you don't want IE closing on some user who's trying to surf the web at your establishment :)

Alternative: What about setting a screen saver that  gives the message you're trying to get across with your homepage?  This is more easily set to 10 minutes on inactivity, and then you also wont need to script the IE restart solution.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This is a little timesaver I have been using for setting up Microsoft Small Business Server (SBS) in the simplest possible way. It may not be appropriate for every customer. However, when you get a situation where the person who owns the server is i…
Citrix XenApp, Internet Explorer 11 set to Enterprise Mode and using central hosted sites.xml file.
In this video, we discuss why the need for additional vertical screen space has become more important in recent years, namely, due to the transition in the marketplace of 4x3 computer screens to 16x9 and 16x10 screens (so-called widescreen format). …
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

680 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