Solved

Ordering of Startup Programs

Posted on 2014-02-26
5
328 Views
Last Modified: 2014-02-26
Hello,
I'm tring to set up my user laptops (Win7Pro) to automatically connect to the VPN when they boot so there is no user interaction required.  Is there a way to establish a wireless connection to a preferred connection, connect the VPN, then log on and run startup programs?  I'd like to set it up that way so I don't constantly get calls that a given remote user isn't connected to their roaming profile and have to tell them to click the diagnose button when the  "Can't connect to user desktop at  \\server\... " pops up.  I've dropped the VPN shortcut into the \program data\microsoft\windows\start menu\programs\startup folder and the VPN still doen't connect.  And I'm not sure that would work anyway since it happens after login and the roaming profile would still have failed before that.  Preferred state for me is to have remove any user interaction or thought after login.  That way I won't be upsetting any apple-carts.
Thanks in Advance
0
Comment
Question by:TalonAdmin
5 Comments
 
LVL 48

Expert Comment

by:Rgonzo1971
ID: 39889639
Hi

You could use a bat File

and then call the applications from there


Example:
@ECHO OFF

TIMEOUT /T 10
REM Total Delay = 10 seconds
START “” “c:\program files\microsoft office\office14\outlook.exe”

TIMEOUT /T 20
REM Total Delay = 20 seconds
START “” “c:\program files\microsoft office\office14\excel.exe”

TIMEOUT /T 15
REM Total Delay = 15 seconds
START “” “c:\program files\microsoft office\office14\word.exe”

Open in new window

Regards
0
 

Author Comment

by:TalonAdmin
ID: 39889657
But how do I have the batch run before winlogon?
0
 
LVL 62

Accepted Solution

by:
☠ MASQ ☠ earned 500 total points
ID: 39889703
If you want to ensure that network resources are available before the apps run it's probably better to use a logon script which intentionally pauses before either the startup folder entries get called from the registry or use a batch file like Rgonzo is suggesting.  Depends how reliable your networking infrastructure is.
0
 

Author Closing Comment

by:TalonAdmin
ID: 39889829
Login script.  Yes.  That's what I wanted.  Duh!  Thanks.
0
 
LVL 44

Expert Comment

by:Darr247
ID: 39890854
I would think you'd want to run it BEFORE login, but since this is closed already, you apparently don't need to know how to do that.  :)
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Possible fixes for Windows 7 and Windows Server 2008 updating problem. Solutions mentioned are from Microsoft themselves. I started a case with them from our Microsoft Silver Partner option to open a case and get direct support from Microsoft. If s…
Windows 8 comes with a dramatically different user interface known as Metro. Notably missing from the new interface is a Start button and Start Menu. Many users do not like it, much preferring the interface of earlier versions — Windows 7, Windows X…
Windows 8 came with a dramatically different user interface known as Metro. Notably missing from that interface was a Start button and Start Menu. Microsoft responded to negative user feedback of the Metro interface, bringing back the Start button a…

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now