Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CLICK OUT OF KIOSK MODE

Status
Not open for further replies.

FISKO

Technical User
Aug 30, 2005
113
GB
Hi I have script to get computers to open in kiosk mode however I would like a box on screen to enable people to then agree to certain conditons and be able to click ok to close internet explores kiosk mode.
any ideas?

Only the GOOD die young,
Me? I'm here forever!
 
Basicly YES. I have a script to do that and can embed that a hyperlink into the Kiosk web page, however if I click it I get the "you are downloading file command box" because of this it needs the user to click open to get out of kiosk mode.

Only the GOOD die young,
Me? I'm here forever!
 
The following code will close out IE for you.

Code:
strComputer = "."
Set objWMIService = GetObject("winmgmts:" _
    & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")

Set colProcessList = objWMIService.ExecQuery _
    ("Select * from Win32_Process Where Name = 'iexplore.exe'")

For Each objProcess in colProcessList
    objProcess.Terminate()
Next

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
Thanks Mark this works but, it still brings up the "downloading file box" any idea hoe to prevent this?
Thanks

Only the GOOD die young,
Me? I'm here forever!
 
Hi mark, I am invoking kiosk mode by using a script which I intend to put in the Login part of the AD OU
CODE:
Set WshShell = CreateObject("Wscript.Shell")
WshShell.Run "iexplore -k ""\\servername\Test web page.htm"""

(This will be a rolling set of web pages with various items of interest to the users, ie:-school match results, events, news items etc)
On these pages I will have the link to enable the closing of the kiosk pages. I also intend to put a disclaimer note to the effect that by leaving the page the user is bound by the schools policy.
All good so far, except for this box which pops up when I try to run the ie close.vbs
I assume it is a security (web page) setting?


Only the GOOD die young,
Me? I'm here forever!
 
IN IE settings, on the Security TAb. Change the settings for the local intranet. There are a number of script related items. THe menus are a little different between versions so it is hard to be more specific. You should find that if you allow scripted control of IE windows I think you will not be prompted.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
Thanks now looking, also checking out IFRAME linking as a possible solution.

Only the GOOD die young,
Me? I'm here forever!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top