omvicsupport
asked on
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
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
How about using the scheduler ???
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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.