Announcement

Collapse
No announcement yet.

Windows 10 / HS3 automatic start from a cold boot

Collapse
This is a sticky topic.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Windows 10 / HS3 automatic start from a cold boot

    How to start HS3 from windows 10 automatically from a cold boot

    I struggled for two days trying to get HS3 windows version to startup directly from a cold boot.

    I had HS3 running as a service but from what I read it is not supported. Two issues I encountered running HS3 as a service were:

    1. When closing the service down, log entries were lost and the home screen would not save which appliances were on/off correctly. (Devices from the main menu, would not save the state they were in)
    2. The speaker did not work

    I wanted for my dedicated PC to boot and start HS3 as if I started it manually.
    Everything seems to work much better. Hopefully this will help you.


    Here are the step by step instructions to start HS3 from windows 10.

    Step 1 (You need to make your PC login automatically. If you have multiple user/profiles you will need to select one that has admin access.)

    1. Right click on the windows button and select the “Run” command.
    2. Enter netplwiz <Enter>
    3. When the “User Accounts” dialog pops up click on the user you want to automatically login as.
    4. At the top “uncheck” users must enter a username and password to user the computer
    5. Now click apply
    6. You must enter a user name and password to use this computer. Click Apply
    Reboot the computer and watch it login by itself.

    Step 2. (Add a new folder and task to the windows scheduler. This will bypass the dialog box when you start HS3.exe, you normally have to click OK. It's called User Account Control (UAC))
    Start the “Task Schedule” by clicking on the windows button and typing “Task Schedule”

    1. In Task Scheduler, right-click "Task Scheduler Library" and select "New Folder" and name it “WhiteList”
    2. Select the new folder and click "Create Task" (not "Create Basic Task")
    3. Name it “Run HS3”. Click "Run with highest privileges," and select your OS under "Configure for."
    4. Under the Actions tab, select "Start a program" in the Action dropdown if it isn't already. Click Browse and find the HS3.exe file or Paste "C:\Program Files (x86)\HomeSeer HS3\HS3.exe" including the double quotes. Important: Start in (optional): C:\Program Files (x86)\HomeSeer HS3\ must be added as well.
    Other settings… “Run only when the user is logged on” and “Run with highest privileges” should both be selected.
    5. (Laptops only) Under Conditions tab, deselect "Start the task only if the computer is on AC power."
    6. Go to the "Settings" tab and un-check "Stop this task if it runs longer then".

    Step 3 - (Create a batch file)

    1. On your desktop, right click and select New > Text Document
    2. Paste

    C:\Windows\System32\schtasks.exe /RUN /TN "WhiteList\Run HS3"
    C:\Windows\System32\rundll32.exe user32.dll,LockWorkStation

    into the batch file.

    3. Rename the batchfile to “StartHS3.cmd”
    4. To test your work, double click on the StartHS3.cmd you just created, HS3 should start normally and then lock your screen. (If not, you have done something wrong)

    Step 4 - (Copy the batch file to the windows startup folder)

    Right click on the windows button and select the “Run” command.
    paste shell:startup then press <Enter>.
    Copy the shortcut you named “StartHS3.cmd” to the startup directory/folder that just opened.

    Reboot
    Last edited by Rubber_Boot; January 26th, 2017, 04:44 PM. Reason: Added step 2 #6.

  • #2
    As always, there are multiple ways to accomplish the same thing. I use a startup app (Startup Delayer) and it works just fine. One entry and done. It isn't rocket science.

    Comment


    • #3
      Originally posted by logbuilder View Post
      As always, there are multiple ways to accomplish the same thing. I use a startup app (Startup Delayer) and it works just fine. One entry and done. It isn't rocket science.
      How does it handle logging you on first? (sorry if that's a dumb question)

      Comment


      • #4
        Originally posted by Tomgru View Post
        How does it handle logging you on first? (sorry if that's a dumb question)
        It doesn't. Many are using netplwiz.exe to set the server to login to a user at boot. That is how mine works. Login is automatic and startup delayer starts HS3. Mine has worked flawlessly for over 2 years using that method.
        Randy Prade
        Aurora, CO
        Prades.net

        PHLocation - Pushover - EasyTrigger - UltraECM3 - Ultra1Wire3 - Arduino

        Comment


        • #5
          Thank you rubber boot for posting this information. I followed each step and tested my StartHS3.CMD from the desktop; it locked the screen and correctly started homeseer. However, when I reboot the computer, I end up on the desktop and Homeseer is not apparently running. If I try to start Homeseer, I get a message that says "HS3 is already running" though there is no indication on the desktop or task bar to support that. If I look in task manager, it does not appear as a running app, though it appears as a background process. If I delete that process, I am able to start Homeseer. What did I screw up?
          HS3Pro on Windows 10
          One install with 2 Ethernet Z-nets
          2nd install with 1 Zstick
          300 devices, 250 events, 8 scripts
          5 CT-100 tstats
          Serial IT-100 interface to DSC Panel with 8 wired zones
          18 Fortrezz water sensors & two valve controls
          Serial Rain8Net Pro with 8 zones

          Comment


          • #6
            Having tried unsuccessfully to do it myself, I much admire rubber boots solution. However, Racefern was correct about the simplicity of downloading the free R2 Delay Start program. It was easy to configure and worked perfectly. Thank you both.
            HS3Pro on Windows 10
            One install with 2 Ethernet Z-nets
            2nd install with 1 Zstick
            300 devices, 250 events, 8 scripts
            5 CT-100 tstats
            Serial IT-100 interface to DSC Panel with 8 wired zones
            18 Fortrezz water sensors & two valve controls
            Serial Rain8Net Pro with 8 zones

            Comment


            • #7
              The Windows "restart" issue can easily be solve by shutting down HS3 using the following.

              It works in every type of shutdown I've tried.

              1) Create a new .txt file and add this: "taskkill /IM HS3.exe"
              2) Save and rename with extension .cmd
              3) Using: gpedit.msc Navigate to User Configuration >> Windows Settings >> Scripts | (Logon/Logoff)
              4) Double click on Logoff and add the path of the .cmd file you created.

              That's it. Windows will always logoff user(s) before restarting windows. and since HS3 will only start when a user logs on, problem solved.

              I still find @Rubber_Boot' s solution the best native Windows solution we have, as it's the only solution that I've found that allows .aspx pages to be served up correctly.

              NOTE: You will want to add this to Computer Configuration also.
              Attached Files
              Last edited by ServiceXp; September 5th, 2018, 05:50 PM.
              RJ_Make On YouTube

              Comment


              • #8
                Maybe this video will help.

                I have been a customer of Homeseer for 4 years and I could not speak more highly of them. Their product is ultra-reliable and does not need to be connected to the internet to work. Since I wrote this posting Homeseer posted a video https://www.youtube.com/watch?v=n6mmLKPrmXU to help you start from a cold boot.

                Comment

                Working...
                X