Solved

Ordering of Startup Programs

Posted on 2014-02-26
5
345 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 51

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

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you try to extract and to view the contents of a Microsoft Update Standalone Package (MSU) for Windows Vista, you cannot extract the files from the MSU. Here we are going to explain how to extract those hotfix details without using any third pa…
Determining the an SCCM package name from the Package ID
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
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…

751 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