JSI Tip 9788. How can I make a Windows XP computer into an Internet Explorer Kiosk?

In tip 3183, we started Internet Explorer in Kiosk mode.

To alter Windows XP so that it always starts as an Internet Explorer Kiosk, we are going to change the shell from Windows Explorer (Explorer.exe) to Internet Explorer (Iexplore.exe). I have scripted XPKiosk.bat to effect the change. The syntax for using XPKiosk.bat is:

XPKiosk ComputerName HomePageURL \[/N\]


ComputerName is the NetBIOS name a local or remote Windows XP computer.

HomePageURL  is the home page URL, like http://www.msn.com. 
             To revert to the normal shell, use /R instead of the home page URL.

/N           is an optional switch that prevents an immediate restart of ComputerName.
NOTE: On the first Kiosk boot, you may have to respond yes to making Internet Explorer your default browser.

XPKiosk.bat contains:

@echo off
if \{%2\}==\{\} @echo Syntax: XPKiosk ComputerName HomePageURL&goto :EOF
set computer=%1
set computer=%computer:"=%
set computer=\\%computer:\=%
set url=%2
set url=%url:"=%
set key="%computer%\HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon"
set data="%ProgramFiles%\Internet Explorer\Iexplore.exe -k %url%"
if /i \{%2\} EQU \{/R\} set data=Explorer.exe
REG ADD %key% /V Shell /T REG_SZ /F /D %data%
if /i \{%3\} NEQ \{/N\} shutdown  -r -f -m %computer%

Hide comments


  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.