How to run a batch file or an application prior to logon in Windows 7

I need to run a VPN client before user logon in Windows 7. Supposedly this solution worked in XP, but doesn't work for me in 7:

1. Create a batch file with the following information
@echo off
"C:\Program Files\SonicWALL\SonicWALL Global VPN Client\swgvpnclient.exe" /E YOUR CONNECTION NAME
2. Launch “gpedit.msc” and add the batch file you created to the Startup scripts
3. Restart the computer
4. Wait until the Sonicwall Client launches which will give an error since the connection is not installed under the system account
5. Install the connection and make sure it’s named the same as specified
6. Don’t see why you wouldn’t be able to just enable the connection and proceed but I restarted again anyway
7. If you so choose remove the batch file from the Startup scripts GP entry
omvicsupportAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

senadCommented:
How about using the scheduler ???
0
mark1208Commented:
Based on PAQ 24181114, this is possible without scripts using the SonicOS Enhanced 5.0 Single Sign-On Feature Module (see http://www.sonicwall.com/us/support/230_7507.html).

Hope this helps!
-Mark
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
omvicsupportAuthor Commented:
I haven't had time to test this, but if this works as I wanted it to than great, again I have actually tested this.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Windows 7

From novice to tech pro — start learning today.