Solved

Run a script after a period of inactivity.

Posted on 2009-05-05
2
1,063 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
GPO - Set RDP access for specific OU Admin only 4 29
how do i convert a url into an icon 7 50
robocopy vs xcopy vs copy 8 131
MS-Access 2002 error (Win XP on Win7Pro) 19 87
Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
The password reset disk is often mentioned as the best solution to deal with the lost Windows password problem. In Windows 2008, 7, Vista and XP, a password reset disk can be easily created. But besides Windows 7/Vista/XP, Windows Server 2008 and ot…
This video Micro Tutorial explains how to clone a hard drive using a commercial software product for Windows systems called Casper from Future Systems Solutions (FSS). Cloning makes an exact, complete copy of one hard disk drive (HDD) onto another d…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…

828 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