TRIGGERcmd
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    ahcmd.exe problem

    General Discussion
    3
    28
    2.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • tuicemenT
      tuicemen @newstuffoldstuff
      last edited by

      @newstuffoldstuff glad to see you have it working. Now that you've figured out how to run the dll. You might want to experiment creating a simple command line program to simplify things.

      N 3 Replies Last reply Reply Quote 0
      • N
        newstuffoldstuff @tuicemen
        last edited by

        @tuicemen You read my mind. Clunky is ok for starters, but it’s not elegant enough.

        1 Reply Last reply Reply Quote 0
        • N
          newstuffoldstuff @tuicemen
          last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • N
            newstuffoldstuff @tuicemen
            last edited by

            @tuicemen Well, damn. Same behavior with the dll as with the exe. Works for a while and then doesn't. The x10nets service hangs and can't be restarted, disabled or anything else. Only remedy is to reboot. Now I'm stuck again.

            tuicemenT 1 Reply Last reply Reply Quote 0
            • tuicemenT
              tuicemen @newstuffoldstuff
              last edited by

              @newstuffoldstuff I do remember reports of x10nets hanging being reported on the x10 forum but I thought that was fixed. How did you get the files? An ActiveHome Pro install, SDK install, or third party? I'm wondering if you have an old version of the X10nets file.
              You might try a search on the X10 forum for the x10nets stopping.

              N 2 Replies Last reply Reply Quote 0
              • N
                newstuffoldstuff @tuicemen
                last edited by

                @tuicemen I've been doing that. I got it from the SDK installer, but it's clearly the earliest version. Have been looking for a newer one. Lots of dead links out there. I'll keep looking.

                tuicemenT 1 Reply Last reply Reply Quote 0
                • N
                  newstuffoldstuff @tuicemen
                  last edited by newstuffoldstuff

                  @tuicemen Ok...found ActiveHome Pro installer and am now running v3.0.0.313 of x10net.dll. We'll see how that goes.

                  1 Reply Last reply Reply Quote 0
                  • tuicemenT
                    tuicemen @newstuffoldstuff
                    last edited by tuicemen

                    @newstuffoldstuff that may fix things but I thought latest build was 318

                    N 3 Replies Last reply Reply Quote 0
                    • N
                      newstuffoldstuff @tuicemen
                      last edited by

                      @tuicemen If you happen to come across a place to download it, I'll try it. Thanks.

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        newstuffoldstuff @tuicemen
                        last edited by

                        @tuicemen Didn't take long. This one hangs too. It's strange because it will be working and then a couple of hours later, after nothing else has taken place on the server, it's not working.

                        1 Reply Last reply Reply Quote 0
                        • N
                          newstuffoldstuff @newstuffoldstuff
                          last edited by

                          @newstuffoldstuff As I look at the installer more closely, the version of ActiveHome Pro I installed WAS 318, but apparently the x10net.dll that came with that version was 313. So I seem to be as up to date as I can get. There's not much else running on the machine where x10net.dll hangs, so I wonder whether it would be worth trying different compatibility modes again.

                          1 Reply Last reply Reply Quote 0
                          • N
                            newstuffoldstuff @tuicemen
                            last edited by

                            @tuicemen For anyone still interested, the problem was the x10nets.exe service hanging at random. I never did find a version of x10nets.exe that didn't, so my convoluted workaround is to include a taskkill command at the beginning of each batch file that kills the service. It automatically restarts with a new process ID upon receiving the next command from the dll. This has a number of drawbacks, including requiring elevated status for the batch file and slowing the entire process slightly. Oh well. It works for now.

                            RussR 1 Reply Last reply Reply Quote 0
                            • RussR
                              Russ @newstuffoldstuff
                              last edited by

                              @newstuffoldstuff, nice job finding a workaround. I'm curious, how did you give your batch file elevated status?

                              Russell VanderMey

                              N 1 Reply Last reply Reply Quote 0
                              • N
                                newstuffoldstuff @Russ
                                last edited by

                                @russ Had to create a shortcut, then give it elevated status and run the .lnk file from Triggercmd. Unfortunately also had to set user account control to its lowest level to avoid the prompt, “do you want to allow this program to make changes to your computer.”

                                RussR 1 Reply Last reply Reply Quote 0
                                • RussR
                                  Russ @newstuffoldstuff
                                  last edited by

                                  @newstuffoldstuff, I see. If you want to avoid reducing your User Access Control setting, you could try installing the background service and running it as a background command. It will run as Local System.

                                  Russell VanderMey

                                  1 Reply Last reply Reply Quote 0
                                  • First post
                                    Last post