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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using logon script to launch IE through GPO

Status
Not open for further replies.

matrix101

MIS
Jun 5, 2007
60
US
Hello,

I am tring to launch IE via Group Policy using a logon script. I'm running Server 2003 and going through User Configuration/Windows Setting/Scripts/logon. Then I get the "script name" and "script parameters". I placed the logon folder in the scripts directory. Not 100% what goes in the "script parameters" text box.

I'm new to scripting (vbscript) so I'm not too sure I wrote the script correctly.

Is this correct???


Set objIExplorer = CreateObject("internetexplorer.application")
objIExplorer.visible = True

Any help would be greatly appreciated, thank you guys!







 
You REALLY want to launch IE in a LOGON script ?????
 
Yes, we're setting up a workstation to be used somewhat like a kiosk. The computer is locked down and the GPO has a home page set to default to and we've set it not allow them to access any other webpage besides what we need them to access.

It would be great to have them login and just have IE launch automatically...any ideas???

I'd like to do this through logon script located in the GPO. Thanks!
 
this is what i use.

Code:
Set oIE = WScript.CreateObject("InternetExplorer.Application") 
oIE.Visible = True 
oIE.Navigate("[URL unfurl="true"]http://www.cnn.com")[/URL]

RoadKi11
 
Thx Roadkill, that works with I run it from my desktop but how to I put into the group policy under logon scripts. I placed there and tested with a test user but its not launching.

Any ideas? Thanks again!!!!
 
I save the script as a vbs and it didn't work but then I saved it as a CMD and it worked in the policy BUT...

if I log off the user and log the same user right back on IE won't launch. Seems to only launch the very first time....? Is there a way to make it launch everytime the user logs on or am I doing something wrong???

Thanks.
 
Refer to my login script FAQ for how to setup and configure a script in GPO. faq329-5798

I want to point out however that what you are doing is totally unnecessary. There is a GPO for starting programs at login. Just add iexplore.exe to that and it will launch when the user logs on.

You should also lock down your kiosk with GPO settings. Microsoft has published some GPOs that can be imported. I have created my own Kiosk policy and exported it. As long as you are using GPMC, you can import it.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
Work SMARTER not HARDER. The Spider's Parlor's Admin Script Pack is a collection of Administrative scripts designed to make IT Administration easier! Save time, get more work done, get the Admin Script Pack.
 
Thx Markdmac, we are actually going in that direction, having iexplorer launch using the -k for kiosk mode. I'll check out your policy I'm sure it'll come in handy. Thanks again!
 
Make it easy on yourself. Configure a GPO IF you have AD and use the regWrite statement

Jake
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top