Solved

Run a script after a period of inactivity.

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Hallo! I guess almost every Windows Administrator must have got stumped with this question "Where does WINDOWS store a users cached credentials? Every user who had once logged onto a Server/Desktop while it was connected to the domain could sti…
INTRODUCTION The purpose of this document is to demonstrate the Installation and configuration of the Data Protection Manager product. Note that this demonstration was prepared on the basis of Windows OS is 2008 R2 and DPM 2010. DATA PROTECTI…
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…
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…

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

24 Experts available now in Live!

Get 1:1 Help Now