Home All Groups Group Topic Archive Search About

Firefox Launch on Windows Login



Author
10 May 2005 11:59 PM
intranetman
In active directory I've setup a login script for all user's. Bascially, it locks all "options" that I don't want users changing on login and then launches Firefox.  The only problem is that Firefox will launch immeditately after the user enters their credentials and you have to exit out of Firefox for the desktop and other applications to be displayed.  I was just wondering if there was a wait function like in KDE so that all other apps would launch, the desktop would be displayed, and then Firefox would launch.  Here is the code to launch firefox:

set oSh = CreateObject("Wscript.shell")
ret = oSh.Run("firefox.exe",0,true)

Any ideas would be great. Thanks! -- intranetman ------------------------------------------------------------------------ Posted via http://www.codecomments.com ------------------------------------------------------------------------

Author
11 May 2005 3:26 PM
Torgeir Bakken (MVP)
intranetman wrote:

Show quote
> In active directory I've setup a login script for all user's. Bascially,
> it locks all "options" that I don't want users changing on login and
> then launches Firefox.  The only problem is that Firefox will launch
> immeditately after the user enters their credentials and you have to
> exit out of Firefox for the desktop and other applications to be
> displayed.  I was just wondering if there was a wait function like in
> KDE so that all other apps would launch, the desktop would be
> displayed, and then Firefox would launch.  Here is the code to launch
> firefox:
>
> set oSh = CreateObject("Wscript.shell")
> ret = oSh.Run("firefox.exe",0,true)
>
> Any ideas would be great. Thanks!
Hi,

Maybe it will work better if you let your logon script add the launch
of Firefox to this registry key:
HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run


--
torgeir, Microsoft MVP Scripting and WMI, Porsgrunn Norway
Administration scripting examples and an ONLINE version of
the 1328 page Scripting Guide:
http://www.microsoft.com/technet/scriptcenter/default.mspx

AddThis Social Bookmark Button