Home > Archive > General Discussion > April 2005 > Batch file for Internet Explorer?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Batch file for Internet Explorer?
abraves

2005-04-01, 8:07 pm

Okay....I am working on a network....I have a primary domain controller and a backup domain controller.....Windows 2000 Server's w/ XP workstations. I am using Active Directory. I am trying to get a batch file to automatically start Internet Explorer upon login for all users so they can view the Intranet. How do I do this....here is what I did and what I thought was right but did NOT work:

Create a file named logon.bat with one line "explore.exe" without the quotes. Save it to the c:\WINNT\SYSVOL\domain\scripts
folder of each Domain Controller.
Go to Active Directory users and computers. Right click on the Domain name and choose properties. Select the Global Policy tab, then Default policy, click edit. In user configuration, go to Windows settings/scripts. Double click on "logon". A new window should open, click Add. In the script name field put logon.bat.
The next time you logon/off it should initialize.
You can create different policies for different users as well. That takes a little bit more work, but can be really useful.
acruth7284

2005-04-02, 2:00 am

Ok first off, I know little to nothing about this subject. Here is an observation though, if you wanted internet explorer to load, shouldn't it be iexplore.exe
abraves

2005-04-02, 2:07 am

Whoops.....sorry that was a typo.....yeah I did have iexplore.exe. Sorry about that......great observation though. Thanks,

BJ
curiousgeorge

2005-04-03, 12:46 am

abraves

You need to specify the correct path to iexplore.exe in your batch file. You can also specify what website to open as a parameter.

Put this on one line with a space between what is in quotes and the website (and include the quotation marks in your batch file):

"c:\Program Files\Internet Explorer\iexplore.exe" www.microsoft.com

Replace the M$ web address with whatever you want to open.


Hope that helps.
burnjob

2005-04-04, 1:33 am

don't know about you .. but i just drop internet explorer into the startup folder and it works fine .. is simple and it works ... just a thought
burnjob

2005-04-04, 1:47 am

Or ... you could edit the registry:

"HKEY_LOCAL_MACHINE\
SOFTWARE\
Microsoft\
Windows\
CurrentVersion\
Run"

and add a new String value called Internet Explorer and point it to:

C:\Program Files\Internet Explorer\iexplore.exe

I know this is not what you were asking about ... but it is another simple method to achieve the same result - on the surface anyways

best of luck
Sponsored Links





Free Braindumps | MCSE braindumps software forum

Copyright 2003 - 2008 examnotes.net