If you would like a simpler way to do it... just create a bat or cmd file with this: @echo off PING 1.1.1.1 -n 1 -w 15000 >NUL: setup.exe This will work on nt, w2k w2k3, wxp and you will not have to use a autoit script or compiled exe. The trick is that you have to pick a non existant ip address (1.1.1.1) send 1 packet to it (-n 1) and wait 15000 millseconds.