title: Windows 7 connect to network before startup process and login
body: <p>I have the following problem. I developed a script that must be executed prior to login in Windows 7. This script must, among other things, authenticate with a given Internet host and save the return into a txt file. The problem is that when the script is initiated, it could not find network connectivity and the authentication just fails.</p>
  
  <p>To add the script to startup I followed this tutorial: <a href="http://htipe.wordpress.com/2010/02/11/connect-to-vpn-before-logging-in-to-windows/" rel="nofollow noreferrer">connect to VPN before logging into windows</a></p>
  
  <p>I've already tried to enable "Always wait for the network at startup and logon" in Computer Configuration/Administrative Templates/System/Logon in gpedit.msc, but it is not working.</p>
  
  <p>Have anyone faced a problem like that? Any hints? I just want to force the wired network to be fully ready and working before running the startup scripts.</p>