I have to use a vpn to log on to the internet at my college and I have a script that will automatically call rasdial for me, but this only works when I am logging in since I have it in my startup folder. Is there any way to have my script run on windows wake from sleep mode in Windows 7? I prefer to be able to do this without third party software if possible.


Don’t know if this will work on all Win7 systems, but it works on mine.
Create a scheduled task for your vbs script. Set it to run on a trigger.
For the trigger, specify ‘On an Event’
For Log, use System.
For Source, use Power-Troubleshooter
For event ID, use 1.
You may also want an second trigger for Startup event.
See link below for details on setting this up, except use your vbs script instead of the hdmiOn program the author is using.
You may have to tweak it a bit, Task Scheduler has LOTS of options, but it should work.