Purposely delaying PC OS startup question

Page 2 of 2 FirstFirst 12

  1. Posts : 12
    W7 Pro 32k
    Thread Starter
       #11

    Unfortunately, I did not get the item to work correctly with the example set forth.

    As far as using a UPS, they are used in other locations in the place of business, but I am not able to use them in the locations that these PCs are currently residing. I realize that would solve the issue, but it's not my call to make. My responsibility is to get this webpage to display without any user intervention.

    Thanks to everyone for the replies and help. Much appreciated...
      My Computer


  2. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #12

    jrockelecko said:
    Unfortunately, I did not get the item to work correctly with the example set forth.
    What did it do?
      My Computer


  3. Posts : 12
    W7 Pro 32k
    Thread Starter
       #13

    DavidW7ncus said:
    jrockelecko said:
    Unfortunately, I did not get the item to work correctly with the example set forth.
    What did it do?
    It did not delay the initialization of the Startup item and I got the same "Internet Explorer Cannot Display Webpage" notification.

    What's strange is that, if I select "diagnose connection problems", I get the "windows did not detect a solution" notification and when I then select "close the troubleshooter", the webpage displays correctly immediately afterwards.
      My Computer


  4. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #14

    Did you move the shortcut out of the Startup folder?
    If you leave it there it will try to startup by itself (not using Task Scheduler).
      My Computer


  5. Posts : 12
    W7 Pro 32k
    Thread Starter
       #15

    DavidW7ncus said:
    Did you move the shortcut out of the Startup folder?
    If you leave it there it will try to startup by itself (not using Task Scheduler).
    Yes, I did remove the shortcut from the Startup folder. Still no luck...yet.
      My Computer


  6. Posts : 6,330
    Multi-Boot W7_Pro_x64 W8.1_Pro_x64 W10_Pro_x64 +Linux_VMs +Chromium_VM
       #16

    I don't know...
    For me i can login, go to the Task Scheduler and see it is Queued.
    A minute later it runs and opens IE.
    Maybe try using UsernameIssues idea.

    Purposely delaying PC OS startup question-taskschscrprt-05.png
      My Computer


  7. Posts : 10,485
    W7 Pro SP1 64bit
       #17

    jrockelecko said:
    Thanks David. To answer your questions:
    Does it need to run with ADMIN authority while logged in with a STANDARD account? Yes...the task would have to be run with ADMIN authority on a STANDARD account
    ....................
    I'm not sure that I fully understand this requirement. Were you saying that the task needed to run as admin or are you saying that Internet Explorer needs to run as admin while a standard user is logged on?


    This AutoIt3 code...
    Code:
    ;AutoIt Version: 3.3.8.1
    
    Do
        TrayTip('Please wait...', 'Checking online status.', 100)
        Sleep(1000)
    Until Ping("msn.com", 7000) Or Ping("cnn.com", 7000) Or Ping("bbc.com", 7000)
    
    ShellExecute("https://www.sevenforums.com/")
    ...should get you these results:




    Watch the columns named Status and Connectivity in the video below:



    Please read the info just above and below the 2nd video in this post - then watch that 2nd video. [Of course, putting the script as a text file into the startup folder is probably not an option for you - unless you want to install AutoIt3 on to each of these computers. You will want to deploy a compiled version - with or w/o UPX packing.]

    In the AutoIt3 code above, you should change the pinging of msn.com to the domain of the internal website (but only if the server responds to pings). As long as one of the three domains can be resolved & pinged - the Do/Until loop will exit.

    There is a possibility that pings are not allowed to exit your intranet. If that is the case, then change all three pings to domains (or if you have to, use IP addresses) of servers that give you a good ping. If possible, I would suggest that all 3 pings stay as a text/URL so that you are sure that DNS is functional before launching the browser.

    The ShellExecute line of the script does what it sounds like - it passes the URL to the OS shell which should then pass it to the default browser.

    Once you have changed the ping(s) and the URL in the last line of code, you can compile the script. Here is a virustotal.com link to the compiled code with UPX compression.

    If you do not want the tray tip (balloon) to show, then remark out that line by putting a semicolon in front of it or just delete the entire line.

    If you do not want the tray tip to show AND you do not want the AutoIt3 icon to show in the system tray, then add #NoTrayIcon after AutoIt Version: 3.3.8.1

    BTW, there is no problem using AutoIt3 in a commercial setting. Toshiba uses it on some of their restore CDs to install stuff.

    Let me know how this works out for you.
      My Computer


 
Page 2 of 2 FirstFirst 12

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:04.
Find Us