need cd autorun html page without security warning or activex bar

I'm trying to open an HTML file on CD autorun and have it sized, no scrollbars, etc.. WITHOUT having any security popups or activex bar warnings. Any executables or bat files out there capable of launching a customized window? i've also tried the following but get errors, is something like this still possible(passing javascript to iexplore exe)?

Something like this perhaps:

AutoRun.inf:
[autorun]
open=autorun.bat

autorun.bat:
@start iexplore.exe javascript:resizeTo(1024,240);moveTo(0,0); document.location.href="index.htm"
@exit
LVL 2
saic_gcoAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

johnb6767Commented:
This isnt controllable by code, it is contorlled by the IE security settings of the machines you are trying to run this on......

You might be able to get away with it if the user has admin rights, and in the bat file you created a "reg add" command to change the "Allow active content to be run in My Computer" option.....

Kinda defeats the purpose of having that option there if you can easily disable it....If you are trying to do this to package your CD for delivery to customers, I wouldnt mess with it, as you dont want to be responsible for toying with thier security settings....
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Here2HelpCommented:
Hey.

You could get yourself a copy of IE portable and put it onto the cd (if you have enough space). Configure the security settings for portable IE as you wish then get autorun.inf to run IE from the cd so the settings are the same for every machine you put the cd into.

IE Portable
http://www.anewmorning.com/2008/12/20/download-internet-explorer-7-and-8-portable-versions/

Kiosk mode in IE will show a full screen with no toolbars. Change  /IE/IExplore.exe to point to iexplore on the cd. Change URLto.htm to point to the htm file you want to run.


**Autorun.ini***

[autorun]
open=/IE/IExplore.exe -k URLto.htm

**Autorun.ini***



0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Scripting Languages

From novice to tech pro — start learning today.